Skip to content

AttributeError: module 'darknet' has no attribute 'POINTER' #8918

@chiarasemenzin

Description

@chiarasemenzin

I am currently trying to run darknet using the Python wrapper darknet_images.py to analyze a batch of images. I get this error when running from terminal:

python darknet_images.py

with default arguments and

if __name__ == "__main__":
    batch_detection_example()
    main()

Indeed I see the darknet.py file does not have a POINTER class definition. Could you please help?
You can safely ignore the statement "images do not have the same shape" as for testing I'm using a single file.

using Python 3.8.13 on Ubuntu 20.04.6 LTS

Screenshot from 2024-07-15 18-25-23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions