{"id":1382,"date":"2017-07-27T13:42:34","date_gmt":"2017-07-27T13:42:34","guid":{"rendered":"https:\/\/www.appsfresh.com\/blog\/?p=1382"},"modified":"2017-07-27T13:54:54","modified_gmt":"2017-07-27T13:54:54","slug":"go-beyond-coremls-limitations","status":"publish","type":"post","link":"https:\/\/appsfresh.com\/blog\/go-beyond-coremls-limitations\/","title":{"rendered":"Go beyond coreML&#8217;s limitations"},"content":{"rendered":"<p>With iOS 11, the new coreML framework allows developers to recognize objects in pictures and in live video streams (from the camera feed or videos)<br \/>\nThe following screenshot is taken from Yohann&#8217;s &#8220;<a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\">Complete iOS Machine Learning Masterclass<\/a>&#8220;. You&#8217;ll notice the iPhone app is able to recognize the sunglasses from the camera stream, using a specific Machine Learning trained model, provided by Apple themselves.<br \/>\n<a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1383\" alt=\"glasses\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/glasses.jpg\" width=\"600\" height=\"388\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The power of Machine Learning allows us to easily recognize faces, places, and most of common objects. The problem lies in <strong>what happens when you show the model something it&#8217;s never seen before?<\/strong><br \/>\nLet&#8217;s feed Star Wars&#8217; R2D2 robot to the iPhone app:<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1384\" alt=\"r2d2\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/r2d2.jpg\" width=\"500\" height=\"574\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Yes, the iPhone thinks R2D2 is a projector! The model has never been trained to know who R2D2 is and figured out that the closed thing is a projector. Now some of you Star Wars fan know that R2D2 can be a projector when it projected the<a href=\"https:\/\/www.youtube.com\/watch?v=pUaxXsqGeFI\"> secret message from Princess Leia<\/a>, so it&#8217;s not totally wrong, right?<\/p>\n<p>https:\/\/www.youtube.com\/watch?v=pUaxXsqGeFI<br \/>\nThe second guess for R2D2 was a &#8220;trash can&#8221; &#8230; now that can be quite unfortunate when you call someone a trash can, wouldn&#8217;t you think so? lol<\/p>\n<p>How about Yoda? Let&#8217;s feed Star Wars&#8217; Yoda to the iPhone app. Guess what it thinks Yoda is?<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1385\" alt=\"yoda\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/yoda.jpg\" width=\"400\" height=\"258\" \/><\/a><\/p>\n<p>The iPhone thinks Yoda is an ocarina or a sweet potato! (I could see the resemblance, can you?)<br \/>\nJokes aside, what it it were a real person? It could be very rude to call someone a potato. So how do you make sure iPhone apps don&#8217;t do these mistakes?<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1386\" alt=\"yohda-potato-jedi\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/yohda-potato-jedi.jpg\" width=\"500\" height=\"750\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s when <strong>training the model comes in<\/strong>&#8230;<br \/>\nUsing Apple&#8217;s standard models will not be enough. If you only use the models that Apple suggested, you end up hitting a road block&#8230; You will need customize the models by extending them yourself, by training them so that models learn about the mistakes and don&#8217;t do it again. You would do so by adding new categories (labels) to the trained model using Python and Tensorflow. You learn how to do this in the Complete iOS Machine Learning Masterclass (look at section 10).<\/p>\n<p>If you haven&#8217;t registered to the Machine Learning course yet, here is a limited-time offer to motivate you to do so. Use coupon code <a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><strong>APPSFRESHVIP10<\/strong><\/a> to get the course for $10 only instead of $200 (95% OFF)<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1387\" alt=\"course3\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/course3.jpg\" width=\"336\" height=\"406\" \/><\/a><\/p>\n<p>Enjoy Machine Learning for iOS, we live in wonderful times.<\/p>\n<p>See you in the course.<\/p>\n<p>See what students say about the course:<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1390\" alt=\"review1\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/review1.jpg\" width=\"1354\" height=\"1328\" \/><\/a> <a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1389\" alt=\"review2\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/review2.jpg\" width=\"1370\" height=\"1348\" \/><\/a> <a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1388\" alt=\"review3\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/review3.jpg\" width=\"1340\" height=\"1530\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.udemy.com\/complete-ios-machine-learning-masterclass\/?couponCode=APPSFRESHVIP10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1391\" alt=\"course-banner\" src=\"https:\/\/www.appsfresh.com\/blog\/wp-content\/uploads\/2017\/07\/course-banner.jpg\" width=\"1200\" height=\"199\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With iOS 11, the new coreML framework allows developers to recognize objects in pictures and in live video streams (from the camera feed or videos) The following screenshot is taken from Yohann&#8217;s &#8220;Complete iOS Machine Learning Masterclass&#8220;. You&#8217;ll notice the iPhone app is able to recognize the sunglasses from the camera stream, using a specific [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1382","post","type-post","status-publish","format-standard","hentry","category-app-flipping-reskinning"],"_links":{"self":[{"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/posts\/1382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/comments?post=1382"}],"version-history":[{"count":4,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/posts\/1382\/revisions"}],"predecessor-version":[{"id":1395,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/posts\/1382\/revisions\/1395"}],"wp:attachment":[{"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/media?parent=1382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/categories?post=1382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appsfresh.com\/blog\/wp-json\/wp\/v2\/tags?post=1382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}