{"id":5343,"date":"2014-11-08T23:27:05","date_gmt":"2014-11-08T14:27:05","guid":{"rendered":"http:\/\/www.kayakersweb.org\/sueblog\/?p=5343"},"modified":"2014-11-09T12:53:19","modified_gmt":"2014-11-09T03:53:19","slug":"raspberry-pi-%e3%81%ae%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%8c%e5%b1%8a%e3%81%84%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.kayakersweb.org\/sueblog\/2014\/11\/08\/5343\/","title":{"rendered":"Raspberry Pi \u306e\u30ab\u30e1\u30e9\u304c\u5c4a\u3044\u305f\u3002"},"content":{"rendered":"<p>Raspberry Pi \u306b\u306f\u30ab\u30e1\u30e9\u5c02\u7528\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u3001\u5c02\u7528\u306e\u30ab\u30e1\u30e9\u3082\u58f2\u3089\u308c\u3066\u3044\u308b&#8230;<\/p>\n<p>\u8abf\u3079\u305f\u3089\u3001eBay \u3067 China Version \u3060\u3051\u3069\u6df1\u5733\u304b\u3089\u306e\u9001\u6599\u8fbc\u307f 1,800\u5186\u7a0b\u5ea6\u3067\u8cfc\u5165\u3067\u304d\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u65e5\u672c\u3067\u666e\u901a\u306b\u8cb7\u3046\u3068 3,700\u5186\u304f\u3089\u3044\u3002<\/p>\n<div align=\"center\"><iframe src=\"http:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;nou=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=shirokumaweb-22&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=ss_til&#038;asins=B00E1GGE40\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/div>\n<p>\u3053\u306e\u91d1\u984d\u3067\u30015\u30e1\u30ac\u30d4\u30af\u30bb\u30eb\u3067\u30012,592\u00d71,944\u30d4\u30af\u30bb\u30eb\u306e\u753b\u50cf\u3068\u30011080p\u3001H264\u5f62\u5f0f\u3067\u30011\u79d2\u9593\u306b30\u30d5\u30ec\u30fc\u30e0\u306e\u52d5\u753b\u3092\u8a18\u9332\u3067\u304d\u308b\u3093\u3060\u304b\u3089\u307e\u3041\u8cb7\u3044\u3067\u3057\u3087\u3002<\/p>\n<p>\u306710\u670830\u65e5\u306b\u6ce8\u6587\u3057\u305f\u300211\u6708 8\u65e5\u306e\u304d\u3087\u3046\u3001\u305d\u308c\u304c\u5c4a\u3044\u305f\u3002<\/p>\n<p>\u300e<a href=\"http:\/\/www.rs-online.com\/designspark\/electronics\/jpn\/knowledge-item\/raspberry-pi-camera-setup?\/designspark\/electronics\/knowledge-item\/raspberry-pi-camera-setup=\">Raspberry Pi\u30ab\u30e1\u30e9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5<\/a>\u300f\u3092\u53c2\u8003\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3002<\/p>\n<p>[code]<br \/>\npi@raspberrypi ~ $ sudo apt-get update<br \/>\npi@raspberrypi ~ $ sudo apt-get upgrade<br \/>\n[\/code]<br \/>\n\u3068\u3057\u305f\u5f8c<br \/>\n[code]<br \/>\npi@raspberrypi ~ $ sudo raspi-config<br \/>\n[\/code]<br \/>\n\u3067 camera \u3092 Enable \u306b\u3059\u308b\u3002\u7d42\u4e86\u3059\u308b\u3068\u518d\u8d77\u52d5\u304c\u884c\u308f\u308c\u308b\u3051\u3069\u3001\u3082\u3046\u3053\u308c\u3067\u5199\u771f\u304c\u64ae\u308c\u308b\u3002<br \/>\n<a href=\"http:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330-300x300.jpg\" alt=\"wpid-img_20141109_122330.jpg\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-5361\" srcset=\"https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330-300x300.jpg 300w, https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330-150x150.jpg 150w, https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330-600x600.jpg 600w, https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/11\/wpid-img_20141109_122330.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>[code]<br \/>\npi@raspberrypi ~ $ raspistill -o image.jpg<br \/>\n[\/code]<\/p>\n<p>H264\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30675\u79d2\u9593\u306e\u52d5\u753b\u306a\u3089<br \/>\n[code]<br \/>\npi@raspberrypi ~ $ raspivid -o video.h264<br \/>\n[\/code]<\/p>\n<p>\u306a\u3093\u3066\u7c21\u5358\u306a\u3093\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u308c\u305e\u308c\u306e\u30b3\u30de\u30f3\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u3002\u968f\u5206\u591a\u6a5f\u80fd\u307f\u305f\u3044\u3067\u3059\u3002<br \/>\n[code]<br \/>\npi@raspberrypi ~ $ raspistill<br \/>\nraspistill Camera App v1.3.8<\/p>\n<p>Runs camera for specific time, and take JPG capture at end if requested<\/p>\n<p>usage: raspistill [options]<\/p>\n<p>Image parameter commands<\/p>\n<p>-?, &#8211;help      : This help information<br \/>\n-w, &#8211;width     : Set image width &amp;lt;size&amp;gt;<br \/>\n-h, &#8211;height    : Set image height &amp;lt;size&amp;gt;<br \/>\n-q, &#8211;quality   : Set jpeg quality &amp;lt;0 to 100&amp;gt;<br \/>\n-r, &#8211;raw       : Add raw bayer data to jpeg metadata<br \/>\n-o, &#8211;output    : Output filename &amp;lt;filename&amp;gt; (to write to stdout, use &#8216;-o -&#8216;). If not specified, no file is saved<br \/>\n-l, &#8211;latest    : Link latest complete image to filename &amp;lt;filename&amp;gt;<br \/>\n-v, &#8211;verbose   : Output verbose information during run<br \/>\n-t, &#8211;timeout   : Time (in ms) before takes picture and shuts down (if not specified, set to 5s)<br \/>\n-th, &#8211;thumb    : Set thumbnail parameters (x:y:quality) or none<br \/>\n-d, &#8211;demo      : Run a demo mode (cycle through range of camera options, no capture)<br \/>\n-e, &#8211;encoding  : Encoding to use for output file (jpg, bmp, gif, png)<br \/>\n-x, &#8211;exif      : EXIF tag to apply to captures (format as &#8216;key=value&#8217;) or none<br \/>\n-tl, &#8211;timelapse        : Timelapse mode. Takes a picture every &amp;lt;t&amp;gt;ms<br \/>\n-fp, &#8211;fullpreview      : Run the preview using the still capture resolution (may reduce preview fps)<br \/>\n-k, &#8211;keypress  : Wait between captures for a ENTER, X then ENTER to exit<br \/>\n-s, &#8211;signal    : Wait between captures for a SIGUSR1 from another process<br \/>\n-g, &#8211;gl        : Draw preview to texture instead of using video render component<br \/>\n-gc, &#8211;glcapture        : Capture the GL frame-buffer instead of the camera image<br \/>\n-set, &#8211;settings        : Retrieve camera settings and write to stdout<br \/>\n-cs, &#8211;camselect        : Select camera &amp;lt;number&amp;gt;. Default 0<\/p>\n<p>Preview parameter commands<\/p>\n<p>-p, &#8211;preview   : Preview window settings &amp;lt;&#8217;x,y,w,h&#8217;&amp;gt;<br \/>\n-f, &#8211;fullscreen        : Fullscreen preview mode<br \/>\n-op, &#8211;opacity  : Preview window opacity (0-255)<br \/>\n-n, &#8211;nopreview : Do not display a preview window<\/p>\n<p>Image parameter commands<\/p>\n<p>-sh, &#8211;sharpness        : Set image sharpness (-100 to 100)<br \/>\n-co, &#8211;contrast : Set image contrast (-100 to 100)<br \/>\n-br, &#8211;brightness       : Set image brightness (0 to 100)<br \/>\n-sa, &#8211;saturation       : Set image saturation (-100 to 100)<br \/>\n-ISO, &#8211;ISO     : Set capture ISO<br \/>\n-vs, &#8211;vstab    : Turn on video stabilisation<br \/>\n-ev, &#8211;ev       : Set EV compensation<br \/>\n-ex, &#8211;exposure : Set exposure mode (see Notes)<br \/>\n-awb, &#8211;awb     : Set AWB mode (see Notes)<br \/>\n-ifx, &#8211;imxfx   : Set image effect (see Notes)<br \/>\n-cfx, &#8211;colfx   : Set colour effect (U:V)<br \/>\n-mm, &#8211;metering : Set metering mode (see Notes)<br \/>\n-rot, &#8211;rotation        : Set image rotation (0-359)<br \/>\n-hf, &#8211;hflip    : Set horizontal flip<br \/>\n-vf, &#8211;vflip    : Set vertical flip<br \/>\n-roi, &#8211;roi     : Set region of interest (x,y,w,d as normalised coordinates [0.0-1.0])<br \/>\n-ss, &#8211;shutter  : Set shutter speed in microseconds<br \/>\n-awbg, &#8211;awbgains       : Set AWB gains &#8211; AWB mode must be off<br \/>\n-drc, &#8211;drc     : Set DRC Level<\/p>\n<p>Notes<\/p>\n<p>Exposure mode options :<br \/>\nauto,night,nightpreview,backlight,spotlight,sports,snow,beach,verylong,fixedfps,antishake,fireworks<\/p>\n<p>AWB mode options :<br \/>\noff,auto,sun,cloud,shade,tungsten,fluorescent,incandescent,flash,horizon<\/p>\n<p>Image Effect mode options :<br \/>\nnone,negative,solarise,sketch,denoise,emboss,oilpaint,hatch,gpen,pastel,watercolour,film,blur,saturation,colourswap,washedout,posterise,colourpoint,colourbalance,cartoon<\/p>\n<p>Metering Mode options :<br \/>\naverage,spot,backlit,matrix<\/p>\n<p>Dynamic Range Compression (DRC) options :<br \/>\noff,low,med,high<\/p>\n<p>Preview parameter commands<\/p>\n<p>-gs, &#8211;glscene  : GL scene square,teapot,mirror,yuv,sobel<br \/>\n-gw, &#8211;glwin    : GL window settings &amp;lt;&#8217;x,y,w,h&#8217;&amp;gt;<br \/>\n[\/code]<\/p>\n<p>[code]<br \/>\npi@raspberrypi ~ $ raspivid<\/p>\n<p>raspivid Camera App v1.3.12<\/p>\n<p>Display camera output to display, and optionally saves an H264 capture at requested bitrate<\/p>\n<p>usage: raspivid [options]<\/p>\n<p>Image parameter commands<\/p>\n<p>-?, &#8211;help      : This help information<br \/>\n-w, &#8211;width     : Set image width &amp;lt;size&amp;gt;. Default 1920<br \/>\n-h, &#8211;height    : Set image height &amp;lt;size&amp;gt;. Default 1080<br \/>\n-b, &#8211;bitrate   : Set bitrate. Use bits per second (e.g. 10MBits\/s would be -b 10000000)<br \/>\n-o, &#8211;output    : Output filename &amp;lt;filename&amp;gt; (to write to stdout, use &#8216;-o -&#8216;)<br \/>\n-v, &#8211;verbose   : Output verbose information during run<br \/>\n-t, &#8211;timeout   : Time (in ms) to capture for. If not specified, set to 5s. Zero to disable<br \/>\n-d, &#8211;demo      : Run a demo mode (cycle through range of camera options, no capture)<br \/>\n-fps, &#8211;framerate       : Specify the frames per second to record<br \/>\n-e, &#8211;penc      : Display preview image *after* encoding (shows compression artifacts)<br \/>\n-g, &#8211;intra     : Specify the intra refresh period (key frame rate\/GoP size)<br \/>\n-pf, &#8211;profile  : Specify H264 profile to use for encoding<br \/>\n-td, &#8211;timed    : Cycle between capture and pause. -cycle on,off where on is record time and off is pause time in ms<br \/>\n-s, &#8211;signal    : Cycle between capture and pause on Signal<br \/>\n-k, &#8211;keypress  : Cycle between capture and pause on ENTER<br \/>\n-i, &#8211;initial   : Initial state. Use &#8216;record&#8217; or &#8216;pause&#8217;. Default &#8216;record&#8217;<br \/>\n-qp, &#8211;qp       : Quantisation parameter. Use approximately 10-40. Default 0 (off)<br \/>\n-ih, &#8211;inline   : Insert inline headers (SPS, PPS) to stream<br \/>\n-sg, &#8211;segment  : Segment output file in to multiple files at specified interval &amp;lt;ms&amp;gt;<br \/>\n-wr, &#8211;wrap     : In segment mode, wrap any numbered filename back to 1 when reach number<br \/>\n-sn, &#8211;start    : In segment mode, start with specified segment number<br \/>\n-sp, &#8211;split    : In wait mode, create new output file for each start event<br \/>\n-c, &#8211;circular  : Run encoded data through circular buffer until triggered then save<br \/>\n-x, &#8211;vectors   : Output filename &amp;lt;filename&amp;gt; for inline motion vectors<br \/>\n-cs, &#8211;camselect        : Select camera &amp;lt;number&amp;gt;. Default 0<\/p>\n<p>H264 Profile options :<br \/>\nbaseline,main,high<\/p>\n<p>Preview parameter commands<\/p>\n<p>-p, &#8211;preview   : Preview window settings &amp;lt;&#8217;x,y,w,h&#8217;&amp;gt;<br \/>\n-f, &#8211;fullscreen        : Fullscreen preview mode<br \/>\n-op, &#8211;opacity  : Preview window opacity (0-255)<br \/>\n-n, &#8211;nopreview : Do not display a preview window<\/p>\n<p>Image parameter commands<\/p>\n<p>-sh, &#8211;sharpness        : Set image sharpness (-100 to 100)<br \/>\n-co, &#8211;contrast : Set image contrast (-100 to 100)<br \/>\n-br, &#8211;brightness       : Set image brightness (0 to 100)<br \/>\n-sa, &#8211;saturation       : Set image saturation (-100 to 100)<br \/>\n-ISO, &#8211;ISO     : Set capture ISO<br \/>\n-vs, &#8211;vstab    : Turn on video stabilisation<br \/>\n-ev, &#8211;ev       : Set EV compensation<br \/>\n-ex, &#8211;exposure : Set exposure mode (see Notes)<br \/>\n-awb, &#8211;awb     : Set AWB mode (see Notes)<br \/>\n-ifx, &#8211;imxfx   : Set image effect (see Notes)<br \/>\n-cfx, &#8211;colfx   : Set colour effect (U:V)<br \/>\n-mm, &#8211;metering : Set metering mode (see Notes)<br \/>\n-rot, &#8211;rotation        : Set image rotation (0-359)<br \/>\n-hf, &#8211;hflip    : Set horizontal flip<br \/>\n-vf, &#8211;vflip    : Set vertical flip<br \/>\n-roi, &#8211;roi     : Set region of interest (x,y,w,d as normalised coordinates [0.0-1.0])<br \/>\n-ss, &#8211;shutter  : Set shutter speed in microseconds<br \/>\n-awbg, &#8211;awbgains       : Set AWB gains &#8211; AWB mode must be off<br \/>\n-drc, &#8211;drc     : Set DRC Level<\/p>\n<p>Notes<\/p>\n<p>Exposure mode options :<br \/>\nauto,night,nightpreview,backlight,spotlight,sports,snow,beach,verylong,fixedfps,antishake,fireworks<\/p>\n<p>AWB mode options :<br \/>\noff,auto,sun,cloud,shade,tungsten,fluorescent,incandescent,flash,horizon<\/p>\n<p>Image Effect mode options :<br \/>\nnone,negative,solarise,sketch,denoise,emboss,oilpaint,hatch,gpen,pastel,watercolour,film,blur,saturation,colourswap,washedout,posterise,colourpoint,colourbalance,cartoon<\/p>\n<p>Metering Mode options :<br \/>\naverage,spot,backlit,matrix<\/p>\n<p>Dynamic Range Compression (DRC) options :<br \/>\noff,low,med,high<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi \u306b\u306f\u30ab\u30e1\u30e9\u5c02\u7528\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u3001\u5c02\u7528\u306e\u30ab\u30e1\u30e9\u3082\u58f2\u3089\u308c\u3066\u3044\u308b&#8230; \u8abf\u3079\u305f\u3089\u3001eBay \u3067 China Version \u3060\u3051\u3069\u6df1\u5733\u304b\u3089\u306e\u9001\u6599\u8fbc\u307f 1,800\u5186\u7a0b\u5ea6\u3067\u8cfc\u5165\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[58,32],"tags":[],"class_list":["post-5343","post","type-post","status-publish","format-standard","hentry","category-raspberrypi","category-shopping"],"_links":{"self":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/comments?post=5343"}],"version-history":[{"count":11,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5343\/revisions"}],"predecessor-version":[{"id":5359,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5343\/revisions\/5359"}],"wp:attachment":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/media?parent=5343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/categories?post=5343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/tags?post=5343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}