Thanks for making this add-on. Great work.
I am trying to expand the example to take in my laptop's camera.
I added all the needed ofVideoGrabber code.
There are 2 things that are strange.
1.
I need to accept the camera's use twice when running in Xcode.
When just starting the app via it's icon it works fine.

I needed to comment out
for( int i = 1; i < segmentation.classes.size(); i++ ){
// i: class id, alpha value
segmentation.drawClass(i,150, 0,0, vid.getWidth(),vid.getHeight());
}
and use
ofSetColor(ofColor::white, 200);
segmentation.draw(0,0,vid.getWidth(),vid.getHeight());
otherwise I get this crash

Thanks for making this add-on. Great work.
I am trying to expand the example to take in my laptop's camera.
I added all the needed ofVideoGrabber code.
There are 2 things that are strange.

1.
I need to accept the camera's use twice when running in Xcode.
When just starting the app via it's icon it works fine.
I needed to comment out
and use
otherwise I get this crash
