OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.48k stars 2.18k forks source link

loadModel() got an unexpected keyword argument 'detection_speed' #812

Closed IT2411 closed 10 months ago

IT2411 commented 1 year ago

Hello,

I am not using a CustomDetectionModel, and don't know why it's not working. It does not seem that threading is causing the issue or using a GUI. Any idea why it's happening?

OlafenwaMoses commented 10 months ago

detection_speed has been removed from latest version of ImageAI. Read the documentation linked below

https://github.com/OlafenwaMoses/ImageAI/blob/master/BACKEND_MIGRATION.md#deprecated-functionalities

OlafenwaMoses commented 10 months ago

Simply remove the detection_speed parameter from your imageai code.