Hi,
I am trying to make the color balance sample (opencv extra modules, rebuilt from opencv 3.x head) working. but I have no luck while running the learn_color_balance.py python script, as I get:
python learn_color_balance.py -i png -g groundtruth/real_illum_568..mat -r 0,378 --num_trees 30 --max_tree_depth 6 --num_augmented 0 Traceback (most recent call last): File "learn_color_balance.py", line 250, in <module> inst = cv2.xphoto.createLearningBasedWB() AttributeError: 'module' object has no attribute 'xphoto'
I am not using python usually, so it might be a configuration problem I suppose. any help appreciated.