TI微控制器上的Opencv [英] Opencv on TI microcontroller
问题描述
有没有可用于MICROCONTROLLER的OpenCV交叉编译器?
Are there any OpenCV cross compilers available for MICROCONTROLLERs?
感谢
推荐答案
OpenCV交叉编译器? Errr ...我不知道这样的事情存在!让我们不要混合交叉编译器(如 gcc ),与OpenCV - 这是一个
OpenCV cross compiler? Errr... I"m not sure such a thing exists! Let's not mix cross-compilers (like gcc), with OpenCV - which is a cross-platform library for computer vision.
但是,如果你的意思是为微控制器编译的OpenCV,你可能会发现一些预构建的二进制文件对于您正在使用的平台,但这些都不是OpenCV开发人员的官方发布。
But in case you meant OpenCV compiled for microcontrollers, you might find some pre-built binaries for the platform you are working with, but none of these are official releases from the OpenCV developers.
此线程讨论了在微控制器上使用OpenCV时所涉及的一些挑战:
This thread discusses some of the challenges involved when using OpenCV on microcontrollers:
您将遇到的主要问题是OpenCV使用浮点数学,大多数微控制器只有固定点乘法器,因此您必须转换一些OpenCV代码或在这些特定处理器上运行浮点仿真
The main issue you will encounter is that OpenCV uses floating point math, and most microcontrollers only have fixed point multipliers, so you will either have to convert some OpenCV code or run floating point emulation on those particular processors, which is probably quite slow.
有些帖子建议使用其他资源消耗较少的替代方法,例如 CImg 和 CVIPtools 。
Some of the posts suggest other less resource consuming alternatives like CImg and CVIPtools.
如果您决定坚持使用OpenCV,您可能对本教程感兴趣:如何使用Cmake在Linux环境中构建用于ARM Cortex-A8平台的OpenCV 。
If you decide to stick with OpenCV, you might be interested in this tutorial: how to building OpenCV for ARM Cortex-A8 platform using Cmake in a linux environment.
这篇关于TI微控制器上的Opencv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!