Quote:
Originally Posted by Sperkowsky
I'm a hardware guy by nature and a raspberry pi should be ok. I would keep it on a jetson but a rpi shouldn't have an Issue. I'm pretty sure the code would have to be changed around quite a bit tho
|
The code changes aren't that bad. It's only a few changes to switch between GPU and CPU detection code using OpenCV - you just switch from a CascadeClassifier object to a CascadeClassifier_GPU object and most everything else just works. There might be slight differences in the parameters passed to the call to actually do the detect - we just wrapped them in classes which hid those differences from the calling code. Our code builds and runs not only on a Jetson but on x86 Linux, Windows and Cygwin and autodetects whether to use CPU or GPU based on the hardware it finds.
The bigger problem is going to be speed. Based on what we saw running on the Jetson CPUs I'm not sure RPi performance is going to be usable. But I don't have any specific tests to prove it, but I'd be surprised.