Hello!
First I want to thank the creators of this, I have been using OpenCV for quite some time and I find Edge Impulse a massive upgrade!
My question is how I can use input sources that aren’t the camera of my Raspberry Pi. I would love to run this on a server and get video from an IP Camera or Youtube video stream. These are easy things to do in Python and OpenCV, but I have no clue where to start with getting video from other sources in Edge Impulse.
If anyone could point me in the right direction I would really appreciate it!
Hi @kevin192291!
As far as I know, you can use the linux-python-sdk to alter python code used to run your object detection model. So, this script initiates camera here -
So, you could further modify this script to be using an input Video Source on Server, and the modelfile.eim hosted and accessible to the script. I’m not aware about the edge-impulse-linux library as a whole, but this script should mainly do your job.
Best, Dhruv
I only tried with mp4 but I guess you could add some code to either convert it or to take H264 as an entry.
Let us know if you can make it work, that’d be useful for other people I guess
how do you install device_patches
it says
pip install device_patches
Looking in indexes: Simple index, piwheels - Simple index
ERROR: Could not find a version that satisfies the requirement device_patches
ERROR: No matching distribution found for device_patches