Trainer (?)
NathanDP opened this issue · comments
Hello all,
I have been using the DeepBeliefSDK for a couple projects and I must say its very impressive. Recently have created a way to create and store multiple trainers inside an ios app. Decided to go a bit further and began to implement a method to load in captured photos from the phones library.
The only issue I am having is when it comes to plugging that image chosen into a custom trainer object. I have tried manipulating the pixelBuffer to have the image overlay the video output but that doesn't seem to work well.
- User chooses image from their photo library which gets saved in a manner that the app can reach it.
- Upon selecting an image the imagePath synthesizes the path and holds on to it.
Now that I have the path to the image, how do I put that image into a format that I can feed it to the jpcnn_train void to use only that one image for the positive predictions? I have tried many different ways with the following two lines during the positive predictons.
trainer = jpcnn_create_trainer( ?here? ) ;
jpcnn_train(?here?, predictions, predictionsLength);
Any help is greatly appreciated!
Thanks.
seems somehow to be a dead forum.. :-(