{"id":1617,"date":"2017-09-04T09:02:13","date_gmt":"2017-09-04T00:02:13","guid":{"rendered":"http:\/\/research.itplants.com\/?p=1617"},"modified":"2018-11-08T16:11:49","modified_gmt":"2018-11-08T07:11:49","slug":"picam%e7%95%b0%e5%b8%b8%e6%99%82%e3%81%ae%e7%8f%be%e8%b1%a1","status":"publish","type":"post","link":"https:\/\/research.itplants.com\/?p=1617","title":{"rendered":"PiCam\u7570\u5e38\u6642\u306e\u73fe\u8c61"},"content":{"rendered":"<p>RaspberryPi\u306b\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u3001\u901a\u79f0\u3001PiCam\u306f\u3001\u6642\u3005\u3001\u30c8\u30e9\u30d6\u30eb\u3092\u8d77\u3053\u3057\u307e\u3059\u3002\u753b\u50cf\u3092\u64ae\u5f71\u3067\u304d\u306a\u304f\u306a\u308b\u306e\u3067\u3059\u3002\u6700\u521d\u306f\u3001\u539f\u56e0\u304c\u5206\u304b\u3089\u305a\u3001RaspberryPi\u304c\u6545\u969c\u3057\u305f\u306e\u3060\u308d\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u307e\u3057\u305f\u3002\u8272\u3005\u3001\u5b9f\u9a13\u3092\u3057\u3066\u3001\u5c11\u3057\u5206\u304b\u3063\u3066\u304d\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>PiCam\u30c8\u30e9\u30d6\u30eb\u6642\u306e\u30a8\u30e9\u30fc<\/p>\n<h4>\u305d\u306e\uff11\u3000\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u306e\u554f\u984c<\/h4>\n<p>$ raspistill -n -o test.jpg<br \/>\nmmal: mmal_vc_component_enable: failed to enable component: ENOSPC<br \/>\nmmal: camera component couldn&#8217;t be enabled<br \/>\nmmal: main: Failed to create camera component<br \/>\nmmal: Failed to run camera app. Please check for firmware updates<\/p>\n<p>Stretch\u306e\u5834\u5408<\/p>\n<p>$ raspistill -o test.jpg<br \/>\nmmal: Cannot read camera info, keeping the defaults for OV5647<br \/>\nmmal: mmal_vc_component_create: failed to create component &#8216;vc.ril.camera&#8217; (1:ENOMEM)<br \/>\nmmal: mmal_component_create_core: could not create component &#8216;vc.ril.camera&#8217; (1)<br \/>\nmmal: Failed to create camera component<br \/>\nmmal: main: Failed to create camera component<br \/>\nmmal: Camera is not detected. Please check carefully the camera module is installed correctly<\/p>\n<p>$ vcgencmd get_camera<br \/>\nsupported=1 detected=1<\/p>\n<p>\u3067\u3001\u3061\u3083\u3093\u3068\u691c\u51fa\u3067\u304d\u3066\u3044\u307e\u3059\u304c\u30a8\u30e9\u30fc\u3067\u3059\u3002raspi-update\u3084apt-get upgrade\u3067\u306f\u6cbb\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001OS\u306e\u554f\u984c\u3067\u3059\u3002\u65b0\u3057\u304fOS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304a\u3059\u3068\u6cbb\u308a\u307e\u3059\u3002\u6050\u3089\u304f\u3001mmal\u95a2\u4fc2\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u554f\u984c\u3060\u308d\u3046\u3068\u601d\u308f\u308c\u307e\u3059\u304c\u3001\u5177\u4f53\u7684\u306b\u3069\u308c\u304c\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u3057\u3066\u3044\u308b\u306e\u304b\u306f\u5206\u304b\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u540c\u69d8\u306e\u73fe\u8c61\u306e\u5831\u544a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"first\"><a href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?t=189610#p1192299\">\u30ab\u30e1\u30e9\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u64ae\u5f71\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066<\/a><\/pre>\n<div id=\"contents\" class=\"clrfx\">\n<div id=\"main\">\n<div class=\"mdPstd mdPstdQstn sttsRslvd clrfx\">\n<div class=\"ttl\">\n<pre><a href=\"https:\/\/detail.chiebukuro.yahoo.co.jp\/qa\/question_detail\/q10152659650\">\u30e9\u30ba\u30d1\u30a42\u3067\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3044\u305f\u3044\u306e\u3067\r\n\r\n<\/a>\u3053\u306e\u73fe\u8c61\u306f\u3001\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304cPiCam\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u3082\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002\r\n$ raspistill -o test.jpg\r\nmmal: mmal_vc_component_enable: failed to enable component: ENOSPC\r\nmmal: camera component couldn't be enabled\r\nmmal: main: Failed to create camera component\r\nmmal: Failed to run camera app. Please check for firmware updates\r\n\r\n\u5b9f\u306f\u3001 mjpeg-streamer\u304c\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u30ab\u30e1\u30e9\u306e\u53d6\u308a\u5408\u3044\u304c\u3042\u3063\u305f\u8a33\u3067\u3059\u3002\r\n\r\n$ vcgencmd get_camera\r\nsupported=1 detected=1\r\n\u3067\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u306e\u306b\u3001camera component couldn't be enabled\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306b\u306f\u3001\u4ed6\u306b\u30ab\u30e1\u30e9\u3092\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30ed\u30bb\u30b9\u304c\u7121\u3044\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3057\u3087\u3046\u3002\r\n\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h4>\u305d\u306e\uff12\u3000\u63a5\u7d9a\u306e\u554f\u984c<\/h4>\n<p>$ raspistill -o test.jpg<br \/>\nmmal: Cannot read camera info, keeping the defaults for OV5647<br \/>\nmmal: mmal_vc_component_create: failed to create component &#8216;vc.ril.camera&#8217; (1:ENOMEM)<br \/>\nmmal: mmal_component_create_core: could not create component &#8216;vc.ril.camera&#8217; (1)<br \/>\nmmal: Failed to create camera component<br \/>\nmmal: main: Failed to create camera component<br \/>\nmmal: Camera is not detected. Please check carefully the camera module is installed correctly<\/p>\n<p>$ vcgencmd get_camera<br \/>\nsupported=1 detected=0<\/p>\n<p>\u3053\u308c\u306f\u3001PiCam\u3092\u63a5\u7d9a\u305b\u305a\u306b\u3001raspistill\u3092\u5b9f\u884c\u3057\u305f\u5834\u5408\u306b\u3067\u308b\u30a8\u30e9\u30fc\u3068\u540c\u3058\u3067\u3059\u3002\u30d5\u30e9\u30c3\u30c8\u30b1\u30fc\u30d6\u30eb\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002\u30d5\u30e9\u30c3\u30c8\u30b1\u30fc\u30d6\u30eb\u306f\u6298\u308c\u66f2\u304c\u308b\u3068\u3001\u65ad\u7dda\u304c\u8d77\u3053\u308b\u3088\u3046\u3067\u3001\u4fe1\u53f7\u304c\u901a\u3058\u306a\u304f\u306a\u3063\u3066\u8d77\u3053\u308b\u73fe\u8c61\u3067\u3059\u3002\u30d5\u30e9\u30c3\u30c8\u30b1\u30fc\u30d6\u30eb\u3092\u4ea4\u63db\u3059\u308c\u3070\u6cbb\u308a\u307e\u3059\u3002\u30d5\u30e9\u30c3\u30c8\u30b1\u30fc\u30d6\u30eb\u306b\u554f\u984c\u304c\u306a\u304f\u3066\u3082\u3001\u63a5\u89e6\u304c\u60aa\u304b\u3063\u305f\u5834\u5408\u306b\u3082\u3053\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u6545\u969c\u306e\u5834\u5408\u306b\u3082\u3001\u3053\u306e\u30a8\u30e9\u30fc\u304c\u3067\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306e\u73fe\u8c61\u306e\u5831\u544a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"entry-title\"><a href=\"http:\/\/wp.developapp.net\/?p=3806\">RaspberryPI \u3078\u30ab\u30e1\u30e9\u63a5\u7d9a<\/a><\/pre>\n<h4><\/h4>\n<h4>\u305d\u306e\uff13\u3000\u30cf\u30fc\u30c9\u30a6\u30a8\u30a2\u306e\u554f\u984c<\/h4>\n<p>$ raspistill -o test.jpg<br \/>\nmmal: No data received from sensor. Check all connections, including the Sunny one on the camera board<\/p>\n<p>\u3053\u306e\u307e\u307e\u306e\u72b6\u614b\u3067\u56fa\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>$ vcgencmd get_camera<br \/>\nsupported=1 detected=1<\/p>\n<p>\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u691c\u51fa\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30ab\u30e1\u30e9\u304b\u3089\u306e\u4fe1\u53f7\u304c\u3067\u3066\u3044\u306a\u3044\u3001\u307e\u305f\u306f\u3001\u53d7\u4fe1\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u73fe\u8c61\u3067\u3059\u3002RaspberryPi\u304b\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30cf\u30fc\u30c9\u30a6\u30a8\u30a2\u306e\u554f\u984c\u3067\u3059\u3002PiCam\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u554f\u984c\u304c\u751f\u3058\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u3053\u3046\u306a\u3063\u305f\u3089\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u304b\u3001RaspberryPi\u304b\u306e\u3069\u3061\u3089\u304b\u3092\u4ea4\u63db\u3059\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u540c\u69d8\u306e\u554f\u984c\u306e\u5831\u544a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"entry-title\"><a class=\"entry-title-link bookmark\" href=\"http:\/\/phicdy.hatenablog.com\/entry\/2015\/07\/26\/%E3%80%90Rasberry_Pi%E3%80%91%E3%82%AB%E3%83%A1%E3%83%A9%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%A7mmal%3A_No_data_received_from_sensor%E3%82%A8%E3%83%A9%E3%83%BC\">\u3010Rasberry Pi\u3011\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u3067mmal: No data received from sensor\u30a8\u30e9\u30fc\r\n<\/a><a href=\"http:\/\/raspberry-pi.link\/raspberry-pi-camera-pi-noir\/\">Raspberry Pi \u7528 \u8d64\u5916\u7dda\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb Pi NoIR<\/a><\/pre>\n<pre class=\"entry-title\"><a class=\"entry-title-link bookmark\" href=\"http:\/\/phicdy.hatenablog.com\/entry\/2015\/07\/26\/%E3%80%90Rasberry_Pi%E3%80%91%E3%82%AB%E3%83%A1%E3%83%A9%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%A7mmal%3A_No_data_received_from_sensor%E3%82%A8%E3%83%A9%E3%83%BC\">\u00a0<\/a><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RaspberryPi\u306b\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30eb\u3001\u901a\u79f0\u3001PiCam\u306f\u3001\u6642\u3005\u3001\u30c8\u30e9\u30d6\u30eb\u3092\u8d77\u3053\u3057\u307e\u3059\u3002\u753b\u50cf\u3092\u64ae\u5f71\u3067\u304d\u306a\u304f\u306a\u308b\u306e\u3067\u3059\u3002\u6700\u521d\u306f\u3001\u539f\u56e0\u304c\u5206\u304b\u3089\u305a\u3001RaspberryPi\u304c\u6545\u969c\u3057\u305f\u306e\u3060\u308d\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u307e\u3057\u305f&#8230;<\/p>\n<p><a class=\"more\" href=\"https:\/\/research.itplants.com\/?p=1617\"> Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1620,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1617"}],"collection":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1617"}],"version-history":[{"count":5,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1617\/revisions"}],"predecessor-version":[{"id":2169,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1617\/revisions\/2169"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/media\/1620"}],"wp:attachment":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}