Use Processing and Opencv For android development?

孤者浪人 提交于 2019-12-08 00:33:00

问题


Does anyone know if you can use the OpenCV library within the processing Android template? I want to do some image recognition/comparison for these devices within Processing. What are the means to do such? and does anyone have an example of source code for it? Thanks!


回答1:


The OpenCV library that you would normally use (http://ubaa.net/shared/processing/opencv/) will not work for Android.

However, Android has it's own port of OpenCV, which is available here: http://opencv.org/platforms/android.html

That being said, it is a little tricky to setup itself vis-a-vis Processing, particularly if you are using the PDE. If you are using Eclipse & Processing together, then this answer may be useful to you: OpenCV on Android Using Eclipse

One option I would recommend using the Ketai library (https://code.google.com/p/ketai/) to do the heavy lifting for you. It has a camera class and a face detection class...



来源:https://stackoverflow.com/questions/16877306/use-processing-and-opencv-for-android-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!