|
本帖最后由 a2961656123 于 2016-7-23 22:34 编辑
arduino yun 通过usd 接口连接摄像头
arduino yun 已经通过摄像头连接
通过 PuTTY
-1
opkg update opkg install kmod-video-uvc opkg install fswebcam 均已安装成功,
-2
ls /mnt/sda1 SD卡已经插入卡槽 被识别
-3
通过如下控制 使USB 摄像头成功在SD卡上生成 名为 pic2.png 照片
root@Arduino:~# cd /mnt/sda1
root@Arduino:/mnt/sda1# fswebcam pic2.png
--- Opening /devideo0...
Trying source module v4l2...
/devideo0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Unable to load font 'sans': libgd was not built with FreeType font support
Disabling the the banner.
Writing JPEG image to 'pic2.png'.
-4
通过 ls 命令 确认pic2.png已经正确存在
root@Arduino:/mnt# ls /mnt/sda1
pic2.png
但是 生成的图片pic2.png 如下(黑色 底部一条绿杠), 按照预计效果 应该是摄像头拍摄的实物图像,
请问问题出来哪里?(如何图片看到不到 在附件中可以下载) |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|