2015年8月13日

vs2010 链接OpenCV 静态库

摘要: 1. 添加opencv 头文件路径 Properties-> VC++ Directories -> Include Directories += $(OPENCV_INC)2. runtime library 由dll改为非dll Properties-> c/c++ / Code Genera... 阅读全文

posted @ 2015-08-13 11:57 VincentEcho 阅读(564) 评论(0) 推荐(0) 编辑

2015年2月3日

Linux 上安装使用opencv环境准备

摘要: Installation in LinuxThese steps have been tested for Ubuntu 10.04 but should work with other distros as well.Required PackagesGCC 4.4.x or laterCMake... 阅读全文

posted @ 2015-02-03 09:53 VincentEcho 阅读(372) 评论(0) 推荐(0) 编辑

2015年1月27日

android开发:jni下native代码获取毫秒级时间

摘要: #include #define LOG_TAG ""#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)struct timeval xTime;int xRet = gettimeofday(... 阅读全文

posted @ 2015-01-27 17:26 VincentEcho 阅读(5331) 评论(1) 推荐(0) 编辑

2015年1月6日

二分查找binarySearch

摘要: 1 #include 2 #include 3 #include 4 5 #define ARRAY_SIZE 10 6 7 int binarySearch(int *arr, int size, int target) 8 { 9 int low = 0;10 in... 阅读全文

posted @ 2015-01-06 14:55 VincentEcho 阅读(123) 评论(0) 推荐(0) 编辑

快速排序quicksort实现方法

摘要: 1 #include 2 #include 3 4 #define ARRAY_SIZE 10 5 6 void swap(int *x, int *y) 7 { 8 int a = *x; 9 *x = *y;10 *y = a;11 }12 13 int ran... 阅读全文

posted @ 2015-01-06 14:34 VincentEcho 阅读(270) 评论(0) 推荐(0) 编辑

读书清单

摘要: IT:构建之法:http://book.douban.com/subject/25965995/数学之美 (第二版):http://book.douban.com/subject/26163454/ 阅读全文

posted @ 2015-01-06 11:51 VincentEcho 阅读(138) 评论(0) 推荐(0) 编辑

2014年11月26日

windows 下遍历文件夹

摘要: 1 void reversedir(string srcDir) 2 { 3 struct _finddata_t filefind; 4 string imgName = srcDir + "\\*.*"; 5 int done=0, handle; 6 7 ... 阅读全文

posted @ 2014-11-26 09:58 VincentEcho 阅读(207) 评论(0) 推荐(0) 编辑

2014年11月21日

如何输出 android.mk 及 Application.mk 中个变量的值

摘要: 想知道 android.mk 及 Application.mk 中各变量的值可以通过新建如下两个.mk文件:PRINT_ANDROID_VARIABLE.mkPRINT_APPLICATION_VARIABLE.mk包含到android.mk文件中某位置:1 include $(LOCAL_PATH... 阅读全文

posted @ 2014-11-21 13:00 VincentEcho 阅读(2016) 评论(0) 推荐(0) 编辑

2014年11月20日

【转】 armeabi与armeabi-v7a

摘要: 1、armeabiarmeabi是指的该so库用于Arm的通用CPU。2、armeabi-v7av7a的CPU支持硬件浮点运算。3、共同点armeabi和armeabi-v7a是表示cpu的类型。4、不同点因此armeabi通用性强,但速度慢,而v7a能充分发挥v7a CPU的能力。armeabi就... 阅读全文

posted @ 2014-11-20 17:56 VincentEcho 阅读(233) 评论(0) 推荐(0) 编辑

Application.mk

摘要: The purpose of Application.mk is to describe which native 'modules' (i.e. static/shared libraries) are needed by your application.An Application.mk fi... 阅读全文

posted @ 2014-11-20 13:51 VincentEcho 阅读(433) 评论(0) 推荐(0) 编辑

导航