How do I install the openCV library for the Arduin

2019-07-14 04:06发布

问题:

I am working on an Arduino project that uses facial tracking, object tracking, facial recognition etc. To accomplish this, I decided to use the OpenCV library. The problem is, however, I don't know how to install the OpenCV library for Arduino, and Processing. Can anyone tell me how to do this? Thank you.

回答1:

If you're using the Processing Editor:

Go to the Sketch menu, then select Import Library...* and then go to **Add Library...

That brings up the Contribution Manager where you can search for Processing libraries. Search for OpenCV for Processing, select it, and click the Install button.

Once it's installed, import it into your sketch to use it.

More info can be found here.