优化: 1.RGB转HSV 浮点运算改成定点运算: 2.匹配模板由图片改成C语言数组: 3.优化測试BMP车牌图片读取(两层for循环改为一层for循环). 总体相比优化之前时间降低110ms左右. 640x480: 160ms 左右 320x240: 55ms 左右 [liujia@210]#./car test/1.bmp BMP Size:921654, Info_length:54, H:640, W:480 The Car ID IS: ÔÁ A F Q 7 8 7 Total Tim…
cortex-A8(S5PV210) Linux-3.9.7 arm-linux-gcc 4.5.1(FriendlyARM) 根文件系统:NFS 软浮点执行结果: [liujia@210]#./softcar /udisk/mmcblk0p1/test/1.bmp BMP Size is:921654 W:640 H:480 The Car ID IS: ÔÁ A F Q 7 8 7 time 272ms [liujia@210]#./softcar /udisk/mmcblk0p1/test…
linux下getsockopt和setsockopt具体解释及測试 NAME 名字 getsockopt, setsockopt - get and set options on sockets 获取或者设置套接字的选项 SYNOPSIS 函数原型 #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int getsockopt(int sockfd, int level, int optname, voi…