Closed SamuelMarks closed 6 years ago
Hi @SamuelMarks - thanks for opening the issue!
I think this means I need to re-record my video, as the interface for this changed in v1.3.0. Can you try to use the readme, which has been updated, to make your project work? The main line of code will change to:
camera.streamingModels = [LuminaModel(model: MobileNet().model, type: "MobileNet")]
You can also check the sample app for how this is done. Let me know if this works for you - if it does, then I definitely have to update the video.
Thanks, changing to this worked:
if #available(iOS 11.0, *) {
camera.streamingModels = [
LuminaModel(model: MobileNet().model, type: "MobileNet"),
LuminaModel(model: Inceptionv3().model, type: "Inceptionv3")
]
} else {
print("Warning: this iOS version doesn't support CoreML")
}
Describe the bug A clear and concise description of what the bug is.
To Reproduce Check console. Never get "streamed" message. Never get any text on the screen (unless I uncomment the "testing" one.
Expected behavior Followed YouTube video. It should show predictions on screen. Currently it shows no text, and doesn't debug to console that it even hit that function.
dismissed
works though.Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.