高通fastcv教程前言篇: sdk下载安装
fastcv是基于opencv改造的库,可以基于Android arm 下的cv 计算机视觉开发。支持Java c/c++。
fastcv for arm可以支持arm的处理器平台,fastcv for snap支持高通骁龙的处理器,可以用到高通的adsp处理器,具有独特的硬件加速功能。
[lv]这里替换成需要登录可见的内容[/lv]
下载地址
https://developer.qualcomm.com/software/fast-cv-sdk/tools
我么是嵌入式开发
Windows和arm Linux版本的都有,Windows下安装完成后 目录如下
在inc下包含fastcv.h头文件。lib 下libfastcv.a 的库。
交叉编译后 传到开发板上执行
~ # ./fastcvSimpleTest
Function called from test application: fastcvSimpleTest, OperationMode: CPU_PERFORMANCE
Input image width = 1920, height = 1080 function to call:fastcvSimpleTest
Execution time of fcvScaleDownMNu8 4937 usec
Execution time of fcvCornerHarrisu8 7788 usec
Average time (us/frame) for fastcvSimpleTest CPU_PERFORMANCE: 12657
Output file can be found at /sdcard/fastcv_simple_test/fastcvSimpleTest_output_OpMode_3.pgm
Function called from test application: fastcvSimpleTest, OperationMode: LOW_POWER
Input image width = 1920, height = 1080 function to call:fastcvSimpleTest
fastcv_log: SHARED LIB FOUND
fastcv_log: SHARED LIB FOUND
fastcv_log: SHARED LIB FOUND
fastcv_log: SHARED LIB FOUND
fastcv_log: SHARED LIB FOUND
Execution time of fcvScaleDownMNu8 4787 usec
Execution time of fcvCornerHarrisu8 7992 usec
Average time (us/frame) for fastcvSimpleTest LOW_POWER: 13118
Output file can be found at /sdcard/fastcv_simple_test/fastcvSimpleTest_output_OpMode_0.pgm