如何为 Arduino IDE 安装 openCV 库? [英] How do I install the openCV library for the Arduino IDE?

查看:105
本文介绍了如何为 Arduino IDE 安装 openCV 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用面部跟踪、对象跟踪、面部识别等的 Arduino 项目.为此,我决定使用 OpenCV 库.但是,问题是我不知道如何为 Arduino 和 Processing 安装 OpenCV 库.谁能告诉我如何做到这一点?谢谢.

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.

推荐答案

如果您使用的是处理编辑器:

If you're using the Processing Editor:

转到草图菜单,然后选择导入库...*,然后转到**添加库...

这会打开贡献管理器,您可以在其中搜索处理库.搜索OpenCV for Processing,选择它,然后点击安装按钮.

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.

可以在此处找到更多信息.

这篇关于如何为 Arduino IDE 安装 openCV 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆