Imageai: Temporized real-time video detection

Created on 13 Sep 2018  路  4Comments  路  Source: OlafenwaMoses/ImageAI

Hi,

thank you very much for your great work! I'm currently using ImageAI to do some tests on live video feeds.
It would be nice if you could add an additional parameter to the detectObjectsFromVideo and detectCustomObjectsFromVideo to "temporarize" the detection. Let's say I want the detection to stop automatically after 5 minutes then I could something like this:

detector.detectObjectsFromVideo(input_file_path=os.path.join(execution_path, "traffic.mp4"),
output_file_path=os.path.join(execution_path, "traffic_detected_new")
, frames_per_second=20, log_progress=True, timeout = 300)

timeout would be in seconds.

Thanks and just continue your excellent work!
Looking forward to the mobile version :-)

Best Regards,
Manuel

Most helpful comment

@manuel1507 , Thanks for your patience. This feature has been added to the latest version (v.2.0.3) along with other functionalities. See the link for more details.

https://github.com/OlafenwaMoses/ImageAI/blob/master/imageai/Detection/VIDEO.md#detectiontimeout

All 4 comments

Thank you Manuel. I will implement that in next version/update.

@manuel1507 , Thanks for your patience. This feature has been added to the latest version (v.2.0.3) along with other functionalities. See the link for more details.

https://github.com/OlafenwaMoses/ImageAI/blob/master/imageai/Detection/VIDEO.md#detectiontimeout

Thanks and just continue this way bro!!! You should be proud of yourself!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Danielv123 picture Danielv123  路  4Comments

palacinka picture palacinka  路  3Comments

plenari picture plenari  路  3Comments

Overdoze47 picture Overdoze47  路  3Comments

huangl6 picture huangl6  路  6Comments