Skip to content

Python 2.7 : recognize_by_file throws an error #7

@vigneshjathavara

Description

@vigneshjathavara

In file acrcloud_sdk_python/raspberrypi/python2.7/acrcloud/recognizer.py the function recognize_by_file has 5 parametes with the last one being filter_e . This parameter is used during function call acrcloud_extr_tool.create_fingerprint_by_file(file_path, start_seconds, rec_length, False, filter_e) but this function accepts only 4 parameters whereas 5 are being passed. The filter_e parameter has to be removed and it solves the problem. The changed code that I am able to run successfully is acrcloud_extr_tool.create_fingerprint_by_file(file_path, start_seconds, rec_length, False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions