{"id":5460,"date":"2022-09-15T15:06:56","date_gmt":"2022-09-15T14:06:56","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=5460"},"modified":"2022-11-29T08:24:21","modified_gmt":"2022-11-29T07:24:21","slug":"auto21-post-4","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=5460","title":{"rendered":"Auto21 &#8211; Post 4"},"content":{"rendered":"\n<p>This week we set up the raspberry pi, installed the needed software and got the camera working. We started using the OpenCV library to modify the pictures by changing hue, saturation and brightness isolating the playing card numbers which we want to recognize. With this we should be able to compare these pictures with sample pictures which allow us to find the right card value. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\" style=\"border-radius:0px\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/Card-cv2.png\" alt=\"\" class=\"wp-image-5461\" width=\"255\" height=\"375\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/Card-cv2.png 503w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/Card-cv2-204x300.png 204w\" sizes=\"auto, (max-width: 255px) 100vw, 255px\" \/><figcaption>Picture of Card (king) modified with openCV<\/figcaption><\/figure>\n\n\n\n<p>We made a drawing of the blackjack dealer giving an overview of the needed buttons and screens. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306933148_744231976640334_948027834262150228_n-1024x885.jpg\" alt=\"\" class=\"wp-image-5463\" width=\"423\" height=\"365\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306933148_744231976640334_948027834262150228_n-1024x885.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306933148_744231976640334_948027834262150228_n-300x259.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306933148_744231976640334_948027834262150228_n-768x664.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306933148_744231976640334_948027834262150228_n.jpg 1440w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><figcaption>Overview of the Blackjack dealer<\/figcaption><\/figure>\n\n\n\n<p>We continued to work on the Arduino setup and got the screens working, displaying the chips every player has. Buttons will also need to be added to interact with the system. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-1024x975.jpg\" alt=\"\" class=\"wp-image-5466\" width=\"396\" height=\"376\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-1024x975.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-300x286.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-768x731.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-1536x1462.jpg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/09\/306386056_640036447458603_803735739725771194_n-1-2048x1949.jpg 2048w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><figcaption>Arduino screens<\/figcaption><\/figure>\n\n\n\n<p>Today we also cut out the main plate (circle) using the laser cutter and made the Ring gear and the Pinion gear with a 3D printer. We also continued to research the stepper and DC motors we will be using, looking into the datasheets and learning how the motors work.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>This post was written by Nikolai Eidheim<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week we set up the raspberry pi, installed the needed software and got the camera working. We started using the OpenCV library to modify the pictures by changing hue, saturation and brightness isolating the playing card numbers which we want to recognize. With this we should be able to compare these pictures with sample [&hellip;]<\/p>\n","protected":false},"author":86,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97,93,1],"tags":[],"class_list":["post-5460","post","type-post","status-publish","format-standard","hentry","category-auto-21","category-smart-systems-2022","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/5460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5460"}],"version-history":[{"count":6,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/5460\/revisions"}],"predecessor-version":[{"id":6177,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/5460\/revisions\/6177"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}