robmarkcole / coral-pi-rest-server

Perform inferencing of tensorflow-lite models on an RPi with acceleration from Coral USB stick
https://coral.ai/products/accelerator
MIT License
67 stars 20 forks source link

Nothing Detected From Security Camera Image #77

Open InSearchOfTh1ngs opened 1 year ago

InSearchOfTh1ngs commented 1 year ago

So I have been testing this out to see if I can get it to work for my security cameras. I took one of my alert images with a car and a person standing with their back to the view. I pushed this image to the application via curl and the application returned that nothing was detected. If I took a random stock image form the web of just a person's face, pushed it to the application fro analysis it would return that there is a person detected.

Is this a limitation to the model currently being used or is there another limitation within the application that doesn't detect cars or people standing from a distance?

robmarkcole commented 1 year ago

How large is the image?

InSearchOfTh1ngs commented 1 year ago

The security camera images are 4K (3840 by 2160 pixels) and 3.3MB. The image that worked was 2048 by 1365 pixels and 563KB

robmarkcole commented 1 year ago

I think they are being resized to 640 so all the details are getting lost

InSearchOfTh1ngs commented 1 year ago

Is that a hardware limitation of a software limitation?

robmarkcole commented 1 year ago

The model requires that size as input. A larger model could alternatively be used