摘要: 树莓派中的CPU性能较差,而GPU较强大。 omxplayer是专门针对树莓派的GPU的播放器。( made by Edgar (gimli) Hucek from the XBMC/Kodi project) 该GPU(VideoCore)提供的官方API接口是OpenMAX。 也就是说要想充分利 阅读全文
posted @ 2016-06-15 09:24 timmymanu 阅读(2360) 评论(0) 推荐(0) 编辑
摘要: https://github.com/raspberrypi/userland This repository contains the source code for the ARM side libraries used on Raspberry Pi. These typically are 阅读全文
posted @ 2016-06-14 18:55 timmymanu 阅读(6195) 评论(0) 推荐(0) 编辑
摘要: 执行/opt/vc/src/hello_pi/hello_video下的例子,为了验证是否使用了GPU,所以需要检测GPU的使用情况 命令 没有执行例子前 执行例子的过程中 对比可见,GPU的确在运行 更多命令请查看 sudo vcdbg help 阅读全文
posted @ 2016-06-14 18:43 timmymanu 阅读(5644) 评论(0) 推荐(1) 编辑
摘要: To see which hardware codecs have been enabled, use “vcgencmd codec_enabled CODECNAME” whereCODECNAME is one of H264, MPG2, WVC1, MPG4, MJPG, or WMV9. 阅读全文
posted @ 2016-06-14 18:05 timmymanu 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 解决办法: export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so 注意路径不一定是上面这个路径。 自己在/usr/lib下,find -name v4l1compat.so,来确定路径 阅读全文
posted @ 2016-06-11 22:44 timmymanu 阅读(3953) 评论(0) 推荐(0) 编辑
摘要: I started this thread to let people know that some USB webcams do work with the Raspberry Pi, and in some cases may be a fit for your requirements. Th 阅读全文
posted @ 2016-06-11 21:21 timmymanu 阅读(3901) 评论(1) 推荐(0) 编辑
摘要: 在python版的opencv中,以numpy的数据格式保存。 img的type为numpy.ndarray。img为三维数组,分别代表行,列,通道 上述代码含义:显示第1行第150列的像素点。 阅读全文
posted @ 2016-06-08 20:09 timmymanu 阅读(192) 评论(0) 推荐(0) 编辑
摘要: error: (-215) size.width>0 && size.height>0 in function imshow 调试时可发现img2的类型为NoneType.即img2为empty 改为如下 阅读全文
posted @ 2016-06-07 21:50 timmymanu 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 读入图片 cv2.imread() 第一个参数:图片名 第二个参数: • cv2.IMREAD_COLOR : Loads a color image. Any transparency of image will be neglected. It is the defaultflag.• cv2. 阅读全文
posted @ 2016-06-07 18:59 timmymanu 阅读(1838) 评论(0) 推荐(0) 编辑