{"id":32129,"date":"2020-04-28T19:07:05","date_gmt":"2020-04-28T11:07:05","guid":{"rendered":"\/blog\/?p=32129"},"modified":"2020-04-28T19:07:10","modified_gmt":"2020-04-28T11:07:10","slug":"use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/","title":{"rendered":"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K."},"content":{"rendered":"\n<p>In this article we will show how to use one of the Codecraft 2.5 new features, namely interactive lessons, that blend seamlessly graphical programming environment with step-by-step tutorials and valuable knowledge.<\/p>\n\n\n\n<p>To get started, go to&nbsp;<a href=\"https:\/\/ide.tinkergen.com\/\">https:\/\/ide.tinkergen.com\/<\/a>&nbsp;, Codecraft\u2019s main page, where you will see a great range of lessons and courses you can try. If you\u2019re using MARK for the first time with this computer, follow the steps in First Use Guide with Codecraft 2.5 video.<\/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=\"M.A.R.K. First Use Guide with Codecraft 2.5\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/PvTQJZ6ScOE?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>After the drivers are installed, and you have the latest firmware, you can pick&nbsp;<strong>Autonomous<\/strong>&nbsp;<strong>Driving Course Materials of the Artificial Intelligence Series<\/strong>, a middle school level course on AI with M.A.R.K from Codecrafts\u2019s main page. Normally when you\u2019re going through the course by yourself or teaching it to students, you would start from the first lesson. However, in this article to try more advanced functions of MARK we\u2019ll skip straight to lesson 10,&nbsp;<strong>Using Computer Vision Sensor for Object Detection<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tinkergen.files.wordpress.com\/2020\/04\/capture-5.png?w=1024\" alt=\"\" class=\"wp-image-282\" \/><\/figure>\n\n\n\n<p>Go through the steps one by one and complete two basic tasks:&nbsp;<strong>Animal recognition<\/strong>&nbsp;and&nbsp;<strong>Traffic Signs Detection<\/strong>. After basic tasks are done there is a&nbsp;<strong>Work Display<\/strong>&nbsp;part, where in class setting you can ask the students to share the results of their work with classmates. And finally if you feel that basic tasks are not challenging enough (they grow in difficulty as course advances though), there is an&nbsp;<strong>Expansion task<\/strong>&nbsp;section, where the students need to implement a more advanced program based on what they\u2019ve learned in this and previous lessons.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tinkergen.files.wordpress.com\/2020\/04\/capture1-2.png?w=1024\" alt=\"\" class=\"wp-image-283\" \/><\/figure>\n\n\n\n<p>And of course, beyond the course content there is a lot of options to extend the capabilities of MARK, starting from adding additional&nbsp;<strong>Grove Modules<\/strong>&nbsp;to training your own custom models. Let\u2019s have a look at how you might choose to expand on the content of the lesson 10 in classroom setting. After the students already have developed understanding on how to use pre-trained models included with MARK, we can teach them to perform object detection and image recognition with custom user-trained models. For that, go through the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/colab.research.google.com\/drive\/1U-WDKck1MR0xw6--ePJk7lBL3A5Fsd0D\" target=\"_blank\">Colab Notebook<\/a>&nbsp;we prepared, which includes 5 steps, that are present in many Deep Learning task workflows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Data collection<\/li><li>Data preprocessing<\/li><li>Training<\/li><li>Improvement<\/li><li>Model deployment to production<\/li><\/ul>\n\n\n\n<p>After you have a trained model, copy it to SD card or (advanced user option)write directly to device\u2019s flash memory using kflash_gui tool. Either way, next step is to define custom model in Codecraft.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tinkergen.files.wordpress.com\/2020\/04\/capture3-2.png?w=633\" alt=\"\" class=\"wp-image-286\" \/><figcaption><em>Click on screenshot to see the full picture. The category names are from labels.txt<\/em><\/figcaption><\/figure>\n\n\n\n<p>After custom model is defined, two new blocks will appear in Codecraft blocks tab. Let\u2019s write simple code that makes MARK wander around until it encounters and obstacle. Then it performs&nbsp;<strong>image classification<\/strong>&nbsp;on the obstacle and if it belongs to \u201cdevils_ivy\u201d class, turns on green light and takes a picture.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tinkergen.files.wordpress.com\/2020\/04\/capture4-2.png?w=1024\" alt=\"\" class=\"wp-image-288\" \/><\/figure>\n\n\n\n<p>Stay tuned for more articles and updates on MARK Kickstarter campaign.<\/p>\n\n\n\n<p><strong>For more information on MARK, Grove Zero series, Codecraft and other hardware for makers and STEM educators, visit our website,&nbsp;<a href=\"https:\/\/tinkergen.com\/\">https:\/\/tinkergen.com\/.<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will show how to use one of the Codecraft 2.5 new<\/p>\n","protected":false},"author":3497,"featured_media":32131,"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":[1301,1608,2244,1086,795,826],"class_list":["post-32129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-ai","tag-machine-learning","tag-machine-vision","tag-robotics","tag-steam","tag-stem-education"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - 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\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"In this article we will show how to use one of the Codecraft 2.5 new\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-28T11:07:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-28T11:07:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"leslie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"leslie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 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\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/\",\"name\":\"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png\",\"datePublished\":\"2020-04-28T11:07:05+00:00\",\"dateModified\":\"2020-04-28T11:07:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/773b99c9e7dd26504c50baac761c4400\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png\",\"width\":1400,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K.\"}]},{\"@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\/773b99c9e7dd26504c50baac761c4400\",\"name\":\"leslie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/668c09b44fc5039121c14f6dd35d0f10?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/668c09b44fc5039121c14f6dd35d0f10?s=96&r=g\",\"caption\":\"leslie\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/leslie\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - 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\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/","og_locale":"en_US","og_type":"article","og_title":"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - Latest News from Seeed Studio","og_description":"In this article we will show how to use one of the Codecraft 2.5 new","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-04-28T11:07:05+00:00","article_modified_time":"2020-04-28T11:07:10+00:00","og_image":[{"width":1400,"height":400,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png","type":"image\/png"}],"author":"leslie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"leslie","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/","name":"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K. - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png","datePublished":"2020-04-28T11:07:05+00:00","dateModified":"2020-04-28T11:07:10+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/773b99c9e7dd26504c50baac761c4400"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png","width":1400,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/04\/28\/use-codecraft-2-5-new-interactive-lessons-with-m-a-r-k\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Use Codecraft 2.5 New Interactive Lessons with M.A.R.K."}]},{"@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\/773b99c9e7dd26504c50baac761c4400","name":"leslie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/668c09b44fc5039121c14f6dd35d0f10?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/668c09b44fc5039121c14f6dd35d0f10?s=96&r=g","caption":"leslie"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/leslie\/"}]}},"modified_by":"leslie","views":2630,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png",1400,400,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-300x86.png",300,86,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-768x219.png",640,183,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-1030x294.png",640,183,true],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png",1400,400,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png",1400,400,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png",32,9,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1.png",1400,400,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-936x400.png",936,400,true],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-1024x293.png",1024,293,true],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/04\/picture1-675x400.png",675,400,true]},"author_info":{"display_name":"leslie","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/leslie\/"},"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\/32129","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\/3497"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=32129"}],"version-history":[{"count":2,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/32129\/revisions"}],"predecessor-version":[{"id":32132,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/32129\/revisions\/32132"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/32131"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=32129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=32129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=32129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}