{"id":34589,"date":"2020-07-16T18:55:04","date_gmt":"2020-07-16T10:55:04","guid":{"rendered":"\/blog\/?p=34589"},"modified":"2020-07-17T15:47:00","modified_gmt":"2020-07-17T07:47:00","slug":"raspberry-pi-hq-camera-module-review-and-image-segmentation-demo","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/","title":{"rendered":"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The best pictures I&#8217;ve ever taken with Raspberry Pi camera module<\/p><cite><a href=\"https:\/\/www.hackster.io\/dmitrywat\">Dmitry Maslov<\/a><\/cite><\/blockquote>\n\n\n\n<p>Note: This article by Dmitry Maslov originally appeared on&nbsp;<a href=\"https:\/\/www.hackster.io\/dmitrywat\/raspberry-pi-hq-camera-module-review-demo-7462eb\">Hackter.io<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Raspberry Pi HQ Camera Module Review and Machine Learning Demo\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/L08PTNVsZOk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>In this article we are going to have a look at the new&nbsp;<strong>Raspberry Pi High Quality Camera<\/strong>, compare it to the<strong>&nbsp;old V2 camera<\/strong>&nbsp;and train the&nbsp;<strong>image segmentation model<\/strong>&nbsp;to divide humans from the background on your Raspberry Pi!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hardware you need:<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-High-Quality-Cam-p-4463.html\">Raspberry Pi High Quality Camera \u2013 12.3 Megapixel (Sony IMX477)<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/3MP-8-50mm-C-Mount-Lens-for-Raspberry-Pi-High-Quality-Camera-p-4626.html?utm_source=mailchimp&amp;utm_medium=edm&amp;utm_campaign=bazaar_0612\">8-50mm 3MP Lens for Raspberry Pi High Quality Camera with C-Mount<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/10MP-25mm-C-Mount-Lens-for-Raspberry-Pi-High-Quality-Camera-p-4622.html?utm_source=mailchimp&amp;utm_medium=edm&amp;utm_campaign=bazaar_0612\">25mm 10MP Telephoto Lens for Raspberry Pi High Quality Camera with C-Mount<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-2GB-V1-2-p-4299.html\">Raspberry Pi 4 Computer Model B 2GB V1.2<\/a> or <a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-4GB-p-4077.html\">Raspberry Pi 4 Computer Model B 4GB<\/a><\/li><\/ul>\n\n\n\n<p>When I heard that we\u2019re getting a sample of new HQ cameras I was immediately interested to try it out for shooting videos &#8211; the old camera module despite having 8MP had poor optics and small sensor size, so it was hardly suitable for YouTube videos and photography. The specs for HQ sensor looked good &#8211; by the way what are the specs?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\"\/><\/figure>\n\n\n\n<p>We\u2019ll just ignore the old module v1 here for the sake of brevity and compare the specs for v2 and HQ modules.<\/p>\n\n\n\n<p>The new HQ module can take still pictures with resolution up to 4056 x 3040 pixels and videos up to 1980&#215;1080 pixels. I\u2019m not photography expert by any means, but even I know, that megapixels&nbsp;<strong>are not everything<\/strong>&nbsp;when it comes to photo\/video quality (contrary to what smartphone commercials want you to believe) &#8211; the the sensor size and good optics matter a lot. New HQ camera module has approximately 50% greater area per pixel for improved low-light performance than the existing Camera Module v2, and is designed to work with interchangeable lenses in both C- and CS-mount form factors.<\/p>\n\n\n\n<p>Last week when I got the sample, I only had&nbsp;<a href=\"https:\/\/www.seeedstudio.com\/10MP-25mm-C-Mount-Lens-for-Raspberry-Pi-High-Quality-Camera-p-4622.html\">a 25mm 10MP Telephoto Lens<\/a>&nbsp;and was quite surprised when I first connected it to Raspberry Pi 4 and took some pictures\u2026 of&nbsp;<strong>my forehead<\/strong>. It is a telephoto lens, so it is really good for taking pictures of objects far away &#8211; so I played a bit with it, took some nice close up pictures of objects in my apartment, but wasn\u2019t able to meaningfully compare it to the old v2 module. Here are some pictures that I took:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154820\/test_VwC1KfENhl.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\" width=\"555\" height=\"416\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1155078\/fire_NJ1DVW2br9.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\" width=\"555\" height=\"416\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1155079\/orange_VUXi7Jv9Sg.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\" width=\"555\" height=\"416\"\/><\/figure><\/div>\n\n\n\n<p>This week I got another lens,<a href=\"https:\/\/www.seeedstudio.com\/3MP-8-50mm-C-Mount-Lens-for-Raspberry-Pi-High-Quality-Camera-p-4626.html\">&nbsp;8-50mm 3MP lens<\/a>&nbsp;and was able to make more comparison shots &#8211; the shots were taken using new HQ module camera module, v2 camera module and Canon 700D with 18-135 focal length lens.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154812\/img_7366_iKMCuPidMV.JPG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"DSLR \" width=\"555\" height=\"370\"\/><figcaption>DSLR<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154813\/test1_5WyZJdRZsf.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"HQ Module\" width=\"555\" height=\"416\"\/><figcaption>HQ Module<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154811\/test2-1_RLqLUHSLrx.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"Module V2\" width=\"554\" height=\"416\"\/><figcaption>Raspberry Pi Camera Module V2<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154814\/img_7369_CAdWTTi1L3.JPG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"DSLR\" width=\"555\" height=\"370\"\/><figcaption>DSLR<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154816\/test2_fRoIPEuv47.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"HQ Module\" width=\"555\" height=\"416\"\/><figcaption>HQ Module<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154815\/test2-2_UN8r5hCZhZ.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"Module V2\" width=\"554\" height=\"416\"\/><figcaption>Raspberry Pi Camera Module V2<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154817\/img_7373_yhpCuo8haO.JPG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"DSLR \" width=\"555\" height=\"312\"\/><figcaption>DSLR<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154817\/img_7373_yhpCuo8haO.JPG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"DSLR \" width=\"555\" height=\"312\"\/><figcaption>HQ Module<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154818\/test2-3_Cdb4WwLgSN.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"Module V2\" width=\"554\" height=\"416\"\/><figcaption>Raspberry Pi Camera Module V2<\/figcaption><\/figure><\/div>\n\n\n\n<p>And here is video recording with&nbsp;<a href=\"https:\/\/www.seeedstudio.com\/10MP-25mm-C-Mount-Lens-for-Raspberry-Pi-High-Quality-Camera-p-4622.html\">a 25mm 10MP Telephoto Lens<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Raspberry Pi HQ Camera Module Video Demo\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/AyRyBySOXJY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Overall the image quality feels much closer to the DSLR cameras, you can get nice clear shots with&nbsp;<strong>blurred background and crisp foreground<\/strong>. Let\u2019s try using new HQ camera with an image segmentation model for some neural network image magic.<\/p>\n\n\n\n<p>We will use<a href=\"https:\/\/github.com\/AIWintermuteAI\/aXeleRate\">&nbsp;aXeleRate, Keras-based framework for AI on the edge<\/a>&nbsp;to train image segmentation model, that will segment images into two classes: background and human. We then will convert Keras model to.tflite model for faster inference on Raspberry Pi and use the inference results to blur (or remove background) from the video feed.<\/p>\n\n\n\n<p><strong>Semantic segmentation<\/strong>&nbsp;models (a.k.a image segmentation) classify each pixel of the input image into a category &#8211; as opposed to&nbsp;<strong>image classification<\/strong>&nbsp;models, which classify the whole image and&nbsp;<strong>object detection<\/strong>&nbsp;models, which output bounding boxes for objects present in the image. In aXeleRate, SegNet-basic architecture is used for image segmentation.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154939\/1_s4mmiuf0qecvp0ugqwzhxg_84o3rmMqOS.png?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\" width=\"740\" height=\"226\"\/><\/figure><\/div>\n\n\n\n<p>Here the output of feature extractor, in our case MobileNet alpha 0.5 is being fed intro a decoder, which consists of Conv2D and upsampling layers. Upsampling layers are direct opposite of pooling layers &#8211; they increase the feature map size instead of decreasing it. The final decoder output feature maps are fed to a soft-max classifier for pixel-wise classification.<\/p>\n\n\n\n<p>Open the<a href=\"https:\/\/colab.research.google.com\/github\/AIWintermuteAI\/aXeleRate\/blob\/master\/resources\/aXeleRate_human_segmentation.ipynb\">&nbsp;Colab notebook I prepared<\/a>&nbsp;and follow the steps there to train and convert your model.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154951\/capture1_7w5t2QlwLD.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"I was hesitating between this picture and a picture of a very charismatic Jewish guy wearing kippah from the validation dataset\" width=\"323\" height=\"555\"\/><\/figure><\/div>\n\n\n\n<p>I was hesitating between this picture and a picture of a very charismatic Jewish guy wearing kippah from the validation dataset<\/p>\n\n\n\n<p>In the latest version of aXeleRate I added several converter options for .tflite models &#8211; these correspond to options in <a href=\"https:\/\/www.tensorflow.org\/lite\/performance\/post_training_quantization\">Post training quantization documentation for TensorFlow Lite<\/a>.<\/p>\n\n\n\n<p><strong>\u201ctflite_dynamic\u201d<\/strong>&nbsp;is Dynamic range quantization<\/p>\n\n\n\n<p><strong>\u201ctflite_fullint\u201d<\/strong>&nbsp;is Full integer quantization with float fallback &#8211; the model will still have float inputs and outputs(!)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1156648\/capture4_C4c6lbVHKd.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once the training is done, copy the tflite model to your Raspberry Pi and execute the following commands.<\/p>\n\n\n\n<p>Install the dependencies for the demo:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python3 -m pip install --user opencv-python numpy flask<\/code><\/pre>\n\n\n\n<p>In order to achieve the best inference speed you need to install latest version fo Tensorflow Lite interpreter, 2.3.0 with threading enabled. You can download binaries from <a href=\"https:\/\/github.com\/PINTO0309\/Tensorflow-bin\">this Github repository<\/a>.<\/p>\n\n\n\n<p>Or compile them yourself.<\/p>\n\n\n\n<p>Then download the example scripts and run them:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/AIWintermuteAI\/aXeleRate.gitcd aXeleRatepython example_scripts\/raspberry_pi\/segnet\/segnet_video.py --model path-to-your-model --labels path-to-your-labels-file --source picamera<\/code><\/pre>\n\n\n\n<p>Either way, if you use the latest official TensorFlow Interpreter package(2.1.0), you need to change the line in segnet_video.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>self.interpreter = Interpreter(model_file, num_threads = 4)<\/code><\/pre>\n\n\n\n<p>to<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>self.interpreter = Interpreter(model_file)<\/code><\/pre>\n\n\n\n<p>The label file is just a.txt file with names of classes in the following format &#8220;background&#8221;, &#8220;human&#8221;<\/p>\n\n\n\n<p>After the script is running open your web browser and enter&nbsp;<a href=\"http:\/\/0.0.0.0:5000\/\">0.0.0.0:5000&nbsp;<\/a>to see the live stream from the camera. The inference speed with an optimized model, using 4 threads is ~150 ms per second &#8211; the image processing also adds some overhead.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1156650\/raspicam_(time_0_08_5127)_esyYXMbodJ.jpg?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" alt=\"\"\/><\/figure>\n\n\n\n<p>Remember to use a good power supply &#8211; when I used a cheap power supply rated for 2.1A I got undervoltage warning and inference speed was ~300 ms!<\/p>\n\n\n\n<p>Until the next time!<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The best pictures I&#8217;ve ever taken with Raspberry Pi camera module Dmitry Maslov Note: This<\/p>\n","protected":false},"author":200,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34589","post","type-post","status-publish","format-standard","hentry","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio<\/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.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"The best pictures I&#8217;ve ever taken with Raspberry Pi camera module Dmitry Maslov Note: This\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-16T10:55:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-17T07:47:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\" \/>\n<meta name=\"author\" content=\"Elaine Wu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elaine Wu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/\",\"name\":\"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\",\"datePublished\":\"2020-07-16T10:55:04+00:00\",\"dateModified\":\"2020-07-17T07:47:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/61c04bed5bbe2d098f04195c6e48fb11\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage\",\"url\":\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\",\"contentUrl\":\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/61c04bed5bbe2d098f04195c6e48fb11\",\"name\":\"Elaine Wu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/184af8ef71f0d6b64c276f9bb38b992e?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/184af8ef71f0d6b64c276f9bb38b992e?s=96&r=g\",\"caption\":\"Elaine Wu\"},\"description\":\"Head of AI Robotics @seeed Every day holds new magic \u2728 on ne sait jamais\u2601\ufe0f\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/elaine1994\/\"],\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/elaine\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio","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.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/","og_locale":"en_US","og_type":"article","og_title":"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio","og_description":"The best pictures I&#8217;ve ever taken with Raspberry Pi camera module Dmitry Maslov Note: This","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-07-16T10:55:04+00:00","article_modified_time":"2020-07-17T07:47:00+00:00","og_image":[{"url":"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max","type":"","width":"","height":""}],"author":"Elaine Wu","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elaine Wu","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/","name":"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage"},"thumbnailUrl":"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max","datePublished":"2020-07-16T10:55:04+00:00","dateModified":"2020-07-17T07:47:00+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/61c04bed5bbe2d098f04195c6e48fb11"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#primaryimage","url":"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max","contentUrl":"https:\/\/hackster.imgix.net\/uploads\/attachments\/1154807\/capture_9F16MrwtML.PNG?auto=compress%2Cformat&amp;w=740&amp;h=555&amp;fit=max"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/16\/raspberry-pi-hq-camera-module-review-and-image-segmentation-demo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Raspberry Pi HQ Camera Module Review and Image Segmentation Demo"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/61c04bed5bbe2d098f04195c6e48fb11","name":"Elaine Wu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/184af8ef71f0d6b64c276f9bb38b992e?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/184af8ef71f0d6b64c276f9bb38b992e?s=96&r=g","caption":"Elaine Wu"},"description":"Head of AI Robotics @seeed Every day holds new magic \u2728 on ne sait jamais\u2601\ufe0f","sameAs":["https:\/\/www.linkedin.com\/in\/elaine1994\/"],"url":"https:\/\/www.seeedstudio.com\/blog\/author\/elaine\/"}]}},"modified_by":"Elaine Wu","views":21141,"featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":"","visody_icon":"","magazine-7-slider-full":"","magazine-7-slider-center":"","magazine-7-featured":"","magazine-7-medium":"","magazine-7-medium-square":""},"author_info":{"display_name":"Elaine Wu","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/elaine\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/200"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=34589"}],"version-history":[{"count":7,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34589\/revisions"}],"predecessor-version":[{"id":34624,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34589\/revisions\/34624"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=34589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=34589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=34589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}