ml4a / ml4a-ofx

A collection of openFrameworks apps for working with machine learning
http://ml4a.github.io
1.22k stars 279 forks source link

Failed to load camera using Convnet Classifier #35

Closed DA4KCODE closed 5 years ago

DA4KCODE commented 5 years ago

Hi, I tried to use Convnet Classifier for my project. I followed the guidelines and successfully built the app using Xcode. But the camera seemed not work properly(as follow: all balck)

Screen Shot 2019-04-21 at 10 51 41 PM

I am not sure what it's wrong. I duplicated the app and renamed it.

Screen Shot 2019-04-21 at 10 52 16 PM

and I added the image-net-2012 file inside the bin>data

Screen Shot 2019-04-21 at 10 52 32 PM

I also followed Read.me and added two addons inside openframeworks>addons

Screen Shot 2019-04-21 at 11 02 08 PM

Everything seems correct but it just didn’t work out. It will be really helpful if you can point out some mistakes! Thank you so much!!!

genekogan commented 5 years ago

can you get any openframeworks examples that use the camera to work? if not, the problem is your camera, not ml4a-ofx. the addons do not affect the functioning of the camera.

DA4KCODE commented 5 years ago

can you get any openframeworks examples that use the camera to work? if not, the problem is your camera, not ml4a-ofx. the addons do not affect the functioning of the camera.

Hi, thank you so much for the reply. I tried convnet OSC and it didn't work as well. I also tried some example on Processing and it looks like this:

Screen Shot 2019-04-22 at 11 30 32 AM

I installed Snap Camera few days ago and I think maybe it affect the functioning of the webcam. The webcam functions on Processing only when I open the Snap Camera at the same time. But the open frameworks app stiil don't work properly.

If you have any suggestions to fix this problem, it will be really helpful. Thx a lot:)