OpenCV + PlatformIO

Hi all,

Just wondering if anyone has had an attempt at using OpenCV with PlatformIO?

I remember having to jump through a few hoops to get OpenCV to work with Visual Studio and run on Raspberry Pi a while back.

It would be pretty fun to develop some native OpenCV apps in the PlatformIO eco-system so if anyone has done anything similar can they post a guide?

Otherwise I will give it a shot over the next couple of days and post the results


You can do that with native development platform. Just place source code to src folder and don’t specify board option in platformio.ini. See an example of desktop application:

1 Like