Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if your image is binary already, you can simply load it with cv2.imread("my.png", cv2.IMREAD_GRAYSCALE)

if your question was "is there a flag to binarize it automatically on loading ?" then - NO.