Closed qualitaetsmuell closed 5 years ago
Yes it is a spelling mistake. You can correct the typo in your installation of ImageAI by editing the code base of the installation.
Also see #114
can pull this fix: https://github.com/OlafenwaMoses/ImageAI/pull/69
Hello, first of all I would like to thank you for your fantastic work!
I run the RetinaNet object detection model in Google Colab to detect persons only:
and
detections = detector.detectCustomObjectsFromImage(custom_objects=custom_objects, input_image = input_path, output_image_path = output_path, minimum_percentage_probability = 20)
This worked perfectly fine until I tried to detect people on this picture.
This is the error message I get:
Interestingly enough, everything works fine if i'm trying to perform object detection with numpy array output:
_ ,detections = detector.detectCustomObjectsFromImage(custom_objects=custom_objects, input_image = input_path, output_type="array")
Is it possible that there is a spelling mistake in RetinaNets object types? Should it be called "donot" instead of "donut"?