{"id":9907,"date":"2024-11-11T10:12:04","date_gmt":"2024-11-11T09:12:04","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=9907"},"modified":"2024-11-11T10:12:04","modified_gmt":"2024-11-11T09:12:04","slug":"blog-12-moving-targets-inc","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=9907","title":{"rendered":"Blog 12 \u2013 Moving Targets Inc."},"content":{"rendered":"\n<p>04.11.2024 \u2013 10.11.2024<\/p>\n\n\n\n<p>\u201c<em>Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.<\/em>\u201d<\/p>\n\n\n\n<p>-Dale Carnegie<\/p>\n\n\n\n<p><strong>Group Summary<\/strong><\/p>\n\n\n\n<p>Dearly beloved,<\/p>\n\n\n\n<p>this week has been quite calm for several reasons, mainly because we waited for the PCB\u2019s to be delivered. To our delight they arrived in the middle of the week, meaning that we can begin to properly construct and test the project.<\/p>\n\n\n\n<p><strong>Individual Summaries<\/strong><\/p>\n\n\n\n<p><strong>Eirik <\/strong>(Data):<\/p>\n\n\n\n<p>For me, this week has been more oriented towards real-time systems, due to the project submission in that subject being on the 14<sup>th<\/sup> of November. Though I have still been doing some research about the HOG descriptor, mainly the thing I mentioned last week about marking one person at a time.<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"woyvIWkB3W\"><a href=\"https:\/\/pyimagesearch.com\/2018\/07\/30\/opencv-object-tracking\/\">OpenCV Object Tracking<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;OpenCV Object Tracking&#8221; &#8212; PyImageSearch\" src=\"https:\/\/pyimagesearch.com\/2018\/07\/30\/opencv-object-tracking\/embed\/#?secret=Q8ipHEQqdM#?secret=woyvIWkB3W\" data-secret=\"woyvIWkB3W\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The OpenCV library that I am using has several different trackers built-in. All of them have slight variations in terms of accuracy and speed, so I need to test and figure out which will work best with our project. In terms of choosing which target to lock on to, there are two obvious options; lock on the first person the HOG descriptor detects as the target, or lock onto the target that creates the biggest rectangle (i.e. whoever is closest to the camera). In practical use I believe locking to the closest person would be the best solution, given that there are often people standing in the background. Once I have all that decided, the principle can easily be implemented in a simple if-else statement(hopefully).<\/p>\n\n\n\n<p><strong>Robin<\/strong> (Data):<\/p>\n\n\n\n<p>No progress has been made this week on my part.<\/p>\n\n\n\n<p><strong>Fredrik <\/strong>(Data):<\/p>\n\n\n\n<p>Last week when I tried to use the start button the code froze. This week I solved that issue, all i had to do was set both threads to daemon threads, which was easy enough. I also updated the looks of the GUI, but I&#8217;m having problems with downloading cv2 so I can&#8217;t implement the camera feed onto it. But it looks like this now:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"648\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-35.png\" alt=\"\" class=\"wp-image-9911\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-35.png 945w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-35-300x206.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-35-768x527.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"641\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-36.png\" alt=\"\" class=\"wp-image-9912\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-36.png 945w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-36-300x203.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-36-768x521.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<p><strong>Vetle <\/strong>(Electrical):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-37-768x1024.png\" alt=\"\" class=\"wp-image-9913\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-37-768x1024.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-37-225x300.png 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-37.png 944w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p><strong>Kadir <\/strong>(Mechanical):<\/p>\n\n\n\n<p>This week I practiced FEM simulation, and then tested that on some parts of our system, and I have discussed that with Hans who has more experience than I do.<\/p>\n\n\n\n<p><strong>Hans <\/strong>(Mechanical):<\/p>\n\n\n\n<p>This week I am still offshore, but I have been doing FEM simulations training. And have been able to find a 3D printer onboard, So I have been able to print out Kadirs Redrawn Shoot back system. He did a great job on that last week, all of the parts fit together nicely.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"340\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-38.png\" alt=\"\" class=\"wp-image-9914\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-38.png 570w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-38-300x179.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"475\" height=\"906\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-39.png\" alt=\"\" class=\"wp-image-9915\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-39.png 475w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-39-157x300.png 157w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>04.11.2024 \u2013 10.11.2024 \u201cMost of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.\u201d -Dale Carnegie Group Summary Dearly beloved, this week has been quite calm for several reasons, mainly because we waited for the PCB\u2019s to be delivered. [&hellip;]<\/p>\n","protected":false},"author":106,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9907","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9907","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\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9907"}],"version-history":[{"count":1,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9907\/revisions"}],"predecessor-version":[{"id":9916,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9907\/revisions\/9916"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}