OpenCV的对Android的优化(霓虹灯指令,GLSL上的Tegra 3) [英] Optimization of OpenCV on android (neon-instruction, GLSL on tegra 3 )

查看:450
本文介绍了OpenCV的对Android的优化(霓虹灯指令,GLSL上的Tegra 3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在用在我的Andr​​oid应用程序开发的一些OpenCV函数。由于帧速率是程序颇有微词,我想知道我怎么能允许的OpenCV的android上的优化,因为我已经读到了OpenCV的使用霓虹灯指令的最新版本(2.4)和GLSL加速,自动是启用?还是什么我需要把在Android.mk文件的编制? (PS OpenCV的经理在Android上自动下载OCV 2.4包NVIDIA的Tegra 3ALR)

I am now using some OpenCV functions in my Android application development. Since the frame rate is quite critical for the program, I am wondering how could I enable the optimization of OpenCV on android, since I have read about the newest version (2.4) of OpenCV use neon-instruction and GLSL for acceleration, is it automatically enabled? Or anything I need to put in the Android.mk file for compiling? (P.S. the Opencv Manager on android automatically download the "OCV 2.4 pack NVIDIA Tegra 3" alr)

推荐答案

在OCV 2.4包NVIDIA的Tegra 3包中包含的OpenCV的NEON和GLSL优化。

The "OCV 2.4 pack NVIDIA Tegra 3" package contains NEON and GLSL optimizations of OpenCV.

如果您使用OpenCV的管理器API的OpenCV的初始化它会自动使用了优化的库。

If you use OpenCV Manager API for OpenCV initialization it uses the optimized libs automatically.

这篇关于OpenCV的对Android的优化(霓虹灯指令,GLSL上的Tegra 3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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