Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem using xphoto::LearningBasedWB

Hi,

I'm trying to run the tutorial provided here. The training model works just fine. However, when I do the testing I always get a segmentation fault. And this is due to using the learning based model.

I went and created a simple test using the .yml file created from the training test here. Uploaded any picture and I get the same segmentation error. Debugging the code it seems the error is in this line:

wb->balanceWhite(img, img_out);

But I have no idea why this error shows up. Any help is appreciated.

Thanks!