mobiletfbook
mobiletfbook copied to clipboard
Is it possible to execute this program using photo library?
I want to execute this code not using an image file that I put in but photos in my device. Is it possible??
I am trying the same thing, but finding difficulty using objective C. If it could be possible to have a swift version of Chapter 3. Thanks
@bosuksh sorry for the late reply. Definitely - there're many online tutorials on how to select a photo from library and use the selected photo. Below is some code snippet used in my published iOS apps for dog and flower type recognition. Hope this helps.
@thewozz sorry i don't have a swift version of Ch 3 ready but you can follow the swift project in Ch 2 and add the swift code to select a photo from library or take one with camera then call the inference code in objective-c in Ch 3 - you'll have to mix the TensorFlow C++ and Objective-C wrapper code with Swift UI code.