{"id":412,"date":"2019-04-16T06:36:08","date_gmt":"2019-04-16T06:36:08","guid":{"rendered":"https:\/\/rossedwards.co.uk\/blog\/?p=412"},"modified":"2019-04-27T22:36:24","modified_gmt":"2019-04-27T22:36:24","slug":"image-recognition-with-tensorflow-yolo","status":"publish","type":"post","link":"https:\/\/rossedwards.co.uk\/blog\/2019\/04\/16\/image-recognition-with-tensorflow-yolo\/","title":{"rendered":"Object detection with Tensorflow &#038; Yolo"},"content":{"rendered":"\n<p>Having installed <a href=\"https:\/\/www.anaconda.com\/\">Anaconda<\/a> on Ubuntu to allow clean separation of python environments, I got hooked on the idea of <a href=\"https:\/\/github.com\/thtrieu\/darkflow\">Yolo&#8217;s<\/a> image recognition capabilities.<\/p>\n\n\n\n<p>So decided to install it &#8211; here&#8217;s my first attempts:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"604\" height=\"339\" src=\"https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Portland.jpg\" alt=\"\" class=\"wp-image-413\" srcset=\"https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Portland.jpg 604w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Portland-300x168.jpg 300w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Portland-360x202.jpg 360w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"960\" height=\"960\" src=\"https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard.jpg\" alt=\"\" class=\"wp-image-415\" srcset=\"https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard.jpg 960w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard-150x150.jpg 150w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard-300x300.jpg 300w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard-768x768.jpg 768w, https:\/\/rossedwards.co.uk\/blog\/wp-content\/uploads\/2019\/04\/Snowboard-360x360.jpg 360w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/figure>\n\n\n\n<p>This <a href=\"https:\/\/appliedmachinelearning.blog\/2018\/05\/27\/running-yolo-v2-for-real-time-object-detection-on-videos-images-via-darkflow\/\">blog post<\/a> describes install steps concisely for YOLO v2.<\/p>\n\n\n\n<p>Following image tests above, I then ran Tensorflow on an mp4 video file:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/qefWwvcNT5I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Having installed Anaconda on Ubuntu to allow clean separation of python environments, I got hooked on the idea of Yolo&#8217;s image recognition capabilities. So decided to install it &#8211; here&#8217;s my first attempts: This blog post describes install steps concisely for YOLO v2. Following image tests above, I then ran Tensorflow on an mp4 video &hellip; <span class=\"read-more\"><a href=\"https:\/\/rossedwards.co.uk\/blog\/2019\/04\/16\/image-recognition-with-tensorflow-yolo\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,8],"tags":[],"_links":{"self":[{"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/posts\/412"}],"collection":[{"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":7,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/posts\/412\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rossedwards.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}