{"id":4953,"date":"2023-07-24T13:44:45","date_gmt":"2023-07-24T13:44:45","guid":{"rendered":"https:\/\/dalelane.co.uk\/blog\/?p=4953"},"modified":"2026-04-02T18:38:47","modified_gmt":"2026-04-02T18:38:47","slug":"catching-the-carpool-cheats","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=4953","title":{"rendered":"Catching the carpool cheats"},"content":{"rendered":"<p><strong>I&#8217;ve added a new project worksheet to <a href=\"https:\/\/machinelearningforkids.co.uk\/worksheets\">Machine Learning for Kids<\/a>, based on the idea of a traffic camera in a carpool lane.<\/strong><\/p>\n<p>Students create training examples by labelling pictures of cars with random passengers in.<\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"290\" src=\"https:\/\/www.youtube.com\/embed\/KtDrKcAwECU\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\"><\/iframe><br \/>\n<small><a href=\"https:\/\/youtu.be\/KtDrKcAwECU\">recording of creating the training examples at youtu.be\/KtDrKcAwECU<\/a><\/small><\/p>\n<p><!--more-->This will result in a collection of images ready for training a machine learning model.<\/p>\n<p><img decoding=\"async\" style=\"border: thin black solid\" src=\"https:\/\/images.dalelane.co.uk\/2023-07-24-carpool\/carpool-training.png\" alt=\"screenshot of the training data\"\/><\/p>\n<p>They then use their machine learning model to power a carpool game.<\/p>\n<p>In this game, students control the cars. Each lane has a different speed limit, and they get points for each car that reaches the end of the road.<\/p>\n<p><strong>If they use the carpool lane in a car without any passengers, their machine learning-powered traffic camera will fine them &#8211; deducting points from their score.<\/strong><\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"290\" src=\"https:\/\/www.youtube.com\/embed\/1VT91z2eqio\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\"><\/iframe><br \/>\n<small><a href=\"https:\/\/youtu.be\/1VT91z2eqio\">recording of the carpool game at youtu.be\/1VT91z2eqio <\/a><\/small><\/p>\n<p>It&#8217;s a fun and simple project &#8211; and makes a quick demo of how computers can learn to recognize details in images.<\/p>\n<p>If you&#8217;d like to give the project a try, you can download a PDF with the instructions from <a href=\"https:\/\/machinelearningforkids.co.uk\/worksheets\">the worksheets tab on Machine Learning for Kids<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve added a new project worksheet to Machine Learning for Kids, based on the idea of a traffic camera in a carpool lane. Students create training examples by labelling pictures of cars with random passengers in. recording of creating the training examples at youtu.be\/KtDrKcAwECU<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[580,536],"class_list":["post-4953","post","type-post","status-publish","format-standard","hentry","category-misc","tag-machine-learning","tag-scratch"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4953"}],"version-history":[{"count":2,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4953\/revisions"}],"predecessor-version":[{"id":5980,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4953\/revisions\/5980"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}