{"id":17,"date":"2021-10-22T04:59:34","date_gmt":"2021-10-22T04:59:34","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/?p=17"},"modified":"2021-10-22T05:01:48","modified_gmt":"2021-10-22T05:01:48","slug":"barcode-scanning","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/2021\/10\/22\/barcode-scanning\/","title":{"rendered":"Barcode Scanning.."},"content":{"rendered":"\n<p>This week, my main task was to implement barcode scanning capabilities in the app. Initially, before doing any work on the app this was a daunting task. As I did my research, I was able to find multiple Flutter packages that simplified this functionality quite a bit. I selected one of the most popular packages that showed up as a search result when looking for &#8220;barcode scanning&#8221; on pub.dev.<\/p>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The documentation provided for the package was quite sparse, but luckily there was also a Github repo linked that provided an example implementation. When it came to implementing the barcode scanner package, it was quite simple and self-explanatory when paired with the example.<\/p>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Overall, the package implementation difficulty I would rank it a 2\/5. It was straight-forward and required very little knowledge about the package itself to get up and running. The next step for this functionality is to test it. <\/p>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>On the emulator, I was not aware that I can use the camera through a webcam. My partner, Mihai, informed that this was possible. So my next task is to test the effectiveness of the barcode scanner and to see the output.<\/p>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>My goal for the next week is to implement the Barcode Lookup API to allow for searching of products through a typed search or barcode scanning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, my main task was to implement barcode scanning capabilities in the app. Initially, before doing any work on the app this was a daunting task. As I did my research, I was able to find multiple Flutter packages that simplified this functionality quite a bit. I selected one of the most popular packages&hellip; <a class=\"more-link\" href=\"https:\/\/blogs.oregonstate.edu\/nguyjosh\/2021\/10\/22\/barcode-scanning\/\">Continue reading <span class=\"screen-reader-text\">Barcode Scanning..<\/span><\/a><\/p>\n","protected":false},"author":11596,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/users\/11596"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":2,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":19,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/posts\/17\/revisions\/19"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nguyjosh\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}