hollance / YOLO-CoreML-MPSNNGraph

Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.
MIT License
933 stars 252 forks source link

No Results Shown with Vision API - beta 3 #5

Closed achigeor closed 7 years ago

achigeor commented 7 years ago

Hi, for starters thank you for the great tutorials!

I cloned the last version of the repo that works with Vision on beta3, but when i run it on the device, there are no bounding box nor the elapsed time is shown. The app just shows the video feed.

Running with breakpoints, I noticed that observations and features are always 0, and

 let boundingBoxes = yolo.computeBoundingBoxes(features: features)
 let elapsed = CACurrentMediaTime() - startTime
 showOnMainThread(boundingBoxes, elapsed)

are never called.

The device is an iPhone 7.

EDIT: I forget to update to iOS beta 3, my bad!