<< return to Pixycam.com

Combination with OpenCV

Hi,

I’m looking for some technic to use Pixy2 with RaspberryPi4 for vision system.
The language I use is Python, and I would like to combine OpenCV functionality within my code.
If you have any example or sample, that’s so supportive for my project.
If not, I think I can use PixyMon feature with OpenCV.
What I want to do is to capture the image fromPixy2 and to manipulate the captured image with OpenCV.
Or if l find some API commands for PixyMon, I think I can use them from the terminal.
What I want is just start camera, capture the image, (save it somewhere as a image data), and operate with OpenCV commands.

Thank you very much in advance.

Hello,
We have the get_raw_frame example as part of libpixyusb2 that will allow you to get a raw frame, but it’s C++ based, not Python. Still, you can run it through OpenCV’s C++ libraries.

Hope this helps!

Edward

Thanks for your suggestion.
I need to stick to use Python because of a project collaboration with team members.
But the information is supportive.
I will find a way somehow.

Thank you very much.

BR,

Yasushi