I'm trying to use the OpenCV histogram function, but get this error:
hist1 = cv2.calcHist([hist_image1], [0], None, [256], [0, 256])
cv2.error: /home/richard/Projeckte/Fischertechnik/ftcommunity-TXT/buildroot/output/build/opencv3-3.3.0/modules/imgproc/src/histogram.cpp
Does this mean I should use cv3 instead of cv2 or is this another issue?
Thanks,
hvn