{"id":3715,"date":"2022-12-28T16:13:19","date_gmt":"2022-12-28T14:13:19","guid":{"rendered":"https:\/\/www.acconeer.com\/?post_type=innovation_lab&#038;p=3715"},"modified":"2022-12-28T16:13:19","modified_gmt":"2022-12-28T14:13:19","slug":"grass-detection","status":"publish","type":"innovation_lab","link":"https:\/\/acconeer.com\/sv\/innovation_lab\/grass-detection\/","title":{"rendered":"Grass detection"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Grass detection using the A121 radar sensor<\/h2>\n\n\n\n<p>This tutorial covers how to utilize the Acconeer A121 sensor to use a device moving over a surface to detect whether the surface is covered in grass or not. The intended usage is in automatic lawn-mowers, to avoid having to use a fencing system such as perimeter wire. The tutorial also covers how to install the relevant software to get started.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"AI-based grass detection using Acconeer A121 radar sensor\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Ob-G_WRGohE?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<h2 class=\"wp-block-heading\">Hardware<\/h2>\n\n\n\n<p>The following components from Acconeer are required for this tutorial and are available at Digi-Key.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\r\n \t<li><a href=\"https:\/\/www.digikey.se\/en\/products\/detail\/acconeer-ab\/XE121\/16582348\" target=\"_blank\" rel=\"noopener\">Acconeer\u2019s XE121 Evaluation Kit<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.digikey.se\/en\/products\/detail\/acconeer-ab\/XS121\/16582336\" target=\"_blank\" rel=\"noopener\">Acconeer\u2019s XS121 Satellite sensor<\/a><\/li>\r\n<\/ul>\n\n\n\n<p>You also need a Raspberry Pi, a power bank, and a device to mount the components on. How this was done in this project can be found in the Jupyter notebook.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Software<\/h2>\n\n\n\n<p>The first part of this tutorial is implemented in a Jupyter notebook. Here you will get more familiar with the overall concepts, feature extraction, compiling and training the classification model and more.<\/p>\n\n\n\n<p>To execute the notebook, you will first need to download and install <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">Python<\/a><\/p>\n\n\n\n<p>In addition, you will need the following python packages:<\/p>\n\n\n\n<pre>Numpy: pip install numpy\r\nPandas: pip install pandas\r\nKeras: pip install keras\r\n<\/pre>\n\n\n\n<p>These python packages are available through <a href=\"https:\/\/pypi.org\/project\/pip\/\" target=\"_blank\" rel=\"noopener\">pip<\/a> which is the package manager included in Python.<\/p>\n\n\n\n<p>You will also need to install Acconeer\u2019s Exploration Tool. To do this, follow the instructions found on <a href=\"https:\/\/docs.acconeer.com\/en\/latest\/\" target=\"_blank\" rel=\"noopener\">Acconeer documentation pages<\/a>.<\/p>\n\n\n\n<p>Instructions to download and install the Jupyter notebook software can be found <a href=\"https:\/\/docs.jupyter.org\/en\/latest\/install\/notebook-classic.html\" target=\"_blank\" rel=\"noopener\">here<\/a>. It is also available through <a href=\"https:\/\/pypi.org\/project\/pip\/\" target=\"_blank\" rel=\"noopener\">pip<\/a>.<\/p>\n\n\n\n<p>The pre-recorded data and Jupyter script can be downloaded from <a href=\"https:\/\/github.com\/acconeer\/acconeer-a121-grass-detection\" target=\"_blank\" rel=\"noopener\">Acconeer\u2019s GitHub<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Try it on your own and get in touch<\/h3>\n\n\n\n<p>If you try this, or work on something else, we\u2019d love to hear about your project! Please get in touch with us on\u00a0<a href=\"mailto:innovation@acconeer.com\">innovation@acconeer.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A121 sensor is used to detect whether a device moving over a surface covered in grass or not. See how we use it for grass detection and learn how to make your own implementation.<\/p>\n","protected":false},"featured_media":3722,"template":"","class_list":["post-3715","innovation_lab","type-innovation_lab","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Grass detection - Acconeer<\/title>\n<meta name=\"description\" content=\"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/\" \/>\n<meta property=\"og:locale\" content=\"sv_SE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grass detection - Acconeer\" \/>\n<meta property=\"og:description\" content=\"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/\" \/>\n<meta property=\"og:site_name\" content=\"Acconeer\" \/>\n<meta property=\"og:image\" content=\"https:\/\/acconeer.com\/wp-content\/uploads\/2022\/12\/grass-detection_thumbnail.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"281\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minuter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/\",\"url\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/\",\"name\":\"Grass detection - Acconeer\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/grass-detection_thumbnail.png\",\"datePublished\":\"2022-12-28T14:13:19+00:00\",\"description\":\"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/#breadcrumb\"},\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/grass-detection_thumbnail.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/grass-detection_thumbnail.png\",\"width\":500,\"height\":281,\"caption\":\"grass detection using the A121 radar sensor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/grass-detection\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/acconeer.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Innovation labs\",\"item\":\"https:\\\/\\\/acconeer.com\\\/innovation_lab\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Grass detection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/#website\",\"url\":\"https:\\\/\\\/acconeer.com\\\/\",\"name\":\"Acconeer\",\"description\":\"EXPLORE THE NEXT SENSE\",\"publisher\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/acconeer.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sv-SE\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/#organization\",\"name\":\"Acconeer\",\"url\":\"https:\\\/\\\/acconeer.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/acconeer.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/New-Logo-2.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/New-Logo-2.png\",\"width\":2048,\"height\":767,\"caption\":\"Acconeer\"},\"image\":{\"@id\":\"https:\\\/\\\/acconeer.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Grass detection - Acconeer","description":"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.","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:\/\/acconeer.com\/innovation_lab\/grass-detection\/","og_locale":"sv_SE","og_type":"article","og_title":"Grass detection - Acconeer","og_description":"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.","og_url":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/","og_site_name":"Acconeer","og_image":[{"width":500,"height":281,"url":"https:\/\/acconeer.com\/wp-content\/uploads\/2022\/12\/grass-detection_thumbnail.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Ber\u00e4knad l\u00e4stid":"3 minuter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/","url":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/","name":"Grass detection - Acconeer","isPartOf":{"@id":"https:\/\/acconeer.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/#primaryimage"},"image":{"@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/12\/grass-detection_thumbnail.png","datePublished":"2022-12-28T14:13:19+00:00","description":"In this Innovation Lab, Acconeer A121 sensor is used to detect whether a device moving over a surface covered in grass or not.","breadcrumb":{"@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/#breadcrumb"},"inLanguage":"sv-SE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/acconeer.com\/innovation_lab\/grass-detection\/"]}]},{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/#primaryimage","url":"\/wp-content\/uploads\/2022\/12\/grass-detection_thumbnail.png","contentUrl":"\/wp-content\/uploads\/2022\/12\/grass-detection_thumbnail.png","width":500,"height":281,"caption":"grass detection using the A121 radar sensor"},{"@type":"BreadcrumbList","@id":"https:\/\/acconeer.com\/innovation_lab\/grass-detection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/acconeer.com\/"},{"@type":"ListItem","position":2,"name":"Innovation labs","item":"https:\/\/acconeer.com\/innovation_lab\/"},{"@type":"ListItem","position":3,"name":"Grass detection"}]},{"@type":"WebSite","@id":"https:\/\/acconeer.com\/#website","url":"https:\/\/acconeer.com\/","name":"Acconeer","description":"EXPLORE THE NEXT SENSE","publisher":{"@id":"https:\/\/acconeer.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/acconeer.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sv-SE"},{"@type":"Organization","@id":"https:\/\/acconeer.com\/#organization","name":"Acconeer","url":"https:\/\/acconeer.com\/","logo":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/acconeer.com\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2026\/05\/New-Logo-2.png","contentUrl":"\/wp-content\/uploads\/2026\/05\/New-Logo-2.png","width":2048,"height":767,"caption":"Acconeer"},"image":{"@id":"https:\/\/acconeer.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/acconeer.com\/sv\/wp-json\/wp\/v2\/innovation_lab\/3715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/acconeer.com\/sv\/wp-json\/wp\/v2\/innovation_lab"}],"about":[{"href":"https:\/\/acconeer.com\/sv\/wp-json\/wp\/v2\/types\/innovation_lab"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/acconeer.com\/sv\/wp-json\/wp\/v2\/media\/3722"}],"wp:attachment":[{"href":"https:\/\/acconeer.com\/sv\/wp-json\/wp\/v2\/media?parent=3715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}