Our team has recently started using chameleon vision for our targeting system, and as I was setting up, I noticed the framerate hovered around 8 FPS. I was wondering if this is typical as I noticed earlier that the FRC vision recommends not having framerates over 10 FPS. We have been using a Pi 4 and I was told chameleon vision was capable of high framerates so I am wondering whether I am running into an allocation error.
First of all you might want to join the Chameleon Vision Discord server as its the best way you can get help with Chameleon.
Depending on your camera and resolution you can get up to 187 fps with the PI4.
It can be achived with a ps3eye camera and a resolution of 320x240 and a heatsink is recommended.
In regards to your low FPS problem, what camera are you using? and what resolution?
What do you mean? Higher FPS allows lower latency and a closed loop control with the vision process
The FRC vision thing was just something I had seen a long time ago (probably was written with the assumption that the pipeline would be placed on the RIO - ew). I tried moving to several different resolutions and they all hovered around the same framerate of 6-8 fps. We were using a Creative Live! camera and I tested it with a PC and confirmed it works. I’m wondering if there is some software limitation that is affecting the performance. I will probably attempt a reinstall soon and see if that fixes it.
my guess is that you are using a high resolution thats why the fps is so low. try lowering it to around 320 X 240 and see if that works. if you want more help join the chameleon discord i could help you better from there
I’m hitting 30+ FPS at 640x480 resolution on a pi4 with a PS3eye camera running nothing but Chameleon on Raspbian Lite distro.
Dropping the resolution is one way to increase the frame rate but a huge impact comes from dropping exposure and brightness as early as possible in the process to simplify the processing the remaining components in the pipeline have to deal with. You need good illumination and very low exposure and brightness settings - you can get things down to where you’ll see very few other objects right from the get go.