{"id":6807,"date":"2013-10-30T09:02:04","date_gmt":"2013-10-30T09:02:04","guid":{"rendered":"http:\/\/178.62.14.192\/?p=6807"},"modified":"2013-10-30T09:02:04","modified_gmt":"2013-10-30T09:02:04","slug":"simple-c-api-for-the-rasperrypi-camera-module","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=6807","title":{"rendered":"Simple C++ API for the #RasperryPi camera module"},"content":{"rendered":"<p>As the title says, Chris Cummings has developed a C++ API for the camera module.<\/p>\n<p><a href=\"http:\/\/robotblogging.blogspot.co.uk\/2013\/10\/an-efficient-and-simple-c-api-for.html\">Read more and get it over on his blog<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the title says, Chris Cummings has developed a C++ API for the camera module. Read more and get it over on his blog<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,39],"tags":[],"class_list":["post-6807","post","type-post","status-publish","format-standard","hentry","category-camera-module","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"As the title says, Chris Cummings has developed a C++ API for the camera module. Read more and get it over on his blogRead more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-30T09:02:04+00:00\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Simple C++ API for the #RasperryPi camera module\",\"datePublished\":\"2013-10-30T09:02:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\"},\"wordCount\":32,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Camera module\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6807#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\",\"name\":\"Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-10-30T09:02:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6807\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6807#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simple C++ API for the #RasperryPi camera module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=6807","og_locale":"en_US","og_type":"article","og_title":"Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod","og_description":"As the title says, Chris Cummings has developed a C++ API for the camera module. Read more and get it over on his blogRead more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=6807","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-10-30T09:02:04+00:00","author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Simple C++ API for the #RasperryPi camera module","datePublished":"2013-10-30T09:02:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807"},"wordCount":32,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Camera module","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6807#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807","url":"https:\/\/www.recantha.co.uk\/blog\/?p=6807","name":"Simple C++ API for the #RasperryPi camera module - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-10-30T09:02:04+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6807"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6807#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Simple C++ API for the #RasperryPi camera module"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-1LN","jetpack-related-posts":[{"id":15744,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15744","url_meta":{"origin":6807,"position":0},"title":"Playing around with Google Cloud Vision on the Raspberry Pi","author":"Michael Horne","date":"26 October 2016","format":false,"excerpt":"John over at Dexter Industries has been in touch. He's been playing around with Google Cloud services, and in particular the Google Cloud Vision API. The API is able to take an image and then interpret it to determine what the camera is \"seeing\". He's written the whole thing up\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/32414320wji53mwwch1u68ce.wpengine.netdna-cdn.com\/wp-content\/uploads\/2016\/10\/gcplogo-300x194.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7506,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=7506","url_meta":{"origin":6807,"position":1},"title":"Creating a photobooth with the #RaspberryPi camera and the Python API","author":"Michael Horne","date":"18 January 2014","format":false,"excerpt":"Following on from Dave Jones' excellent work on the Pi camera Python library, David Whale's Raspberry Pi Saturday Club decided to use it to create a photobooth. They combined it with PyGame to do some text overlays and soon had the experiment up-and-running. Really great work - it's lovely to\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.whaleygeek.co.uk\/wp-content\/uploads\/2014\/01\/2014-01-18-20.26.28.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.whaleygeek.co.uk\/wp-content\/uploads\/2014\/01\/2014-01-18-20.26.28.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/blog.whaleygeek.co.uk\/wp-content\/uploads\/2014\/01\/2014-01-18-20.26.28.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":12571,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12571","url_meta":{"origin":6807,"position":2},"title":"Fridge with a Raspberry Pi automatically orders fruit for you","author":"Michael Horne","date":"13 May 2015","format":false,"excerpt":"American Steve Hickson has done an excellent home automation proof-of-concept. He's placed a Raspberry Pi and camera module inside his fridge (and made sure that the light stayed on). The Pi takes a picture, analyses it and identifies whether there is any fruit there. If there isn't, it uses the\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/3.bp.blogspot.com\/-q73u4qhjRLg\/VVJX3ZD10LI\/AAAAAAAAPfA\/IVfOHuVty54\/s1600\/Screen%2BShot%2B2015-05-12%2Bat%2B11.21.55%2BAM.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4052,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4052","url_meta":{"origin":6807,"position":3},"title":"Streaming live with the #RaspberryPi camera module to Bambuser","author":"Michael Horne","date":"14 May 2013","format":false,"excerpt":"With the release of the camera module to a wider audience, I thought I'd share some of things I've learnt. To start off, here's some information about using the camera with Bambuser.com. This is in part taken from Marcus Olsson's blog post about streaming with a webcam. First of all,\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/static.bambuser.com\/themes\/b4\/images\/b4\/bambuser-logo.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":18824,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18824","url_meta":{"origin":6807,"position":4},"title":"Magic: The Gathering fans &#8211; find out how much your collection is worth with a Raspberry Pi and some LEGO","author":"Michael Horne","date":"17 May 2018","format":false,"excerpt":"Michael Portera\u00a0has a large collection of Magic: The Gathering\u00a0(MTG) cards and he wondered how much they were worth. For those not in-the-know, MTG is a \"customisable card game\" launched in the 1990s in which you put together a deck of cards from your collection and seek to win games in\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/magic-organiser.jpg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12623,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12623","url_meta":{"origin":6807,"position":5},"title":"Raspberry Pi security camera using a RasPiO Duino","author":"Michael Horne","date":"20 May 2015","format":false,"excerpt":"Alex Eames has been busy experimenting with a way to replace an old low-res security camera at his house in Poland. He's come up with a Pi-controlled, servo-positioned\u00a0camera that will accept commands over Twitter. The core of the project is a RasPiO Duino\u00a0board that is connected to an old Raspberry\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2015\/05\/DuinoCam_700.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2015\/05\/DuinoCam_700.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2015\/05\/DuinoCam_700.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/raspi.tv\/wp-content\/uploads\/2015\/05\/DuinoCam_700.jpg?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6807"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6807\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}