I am currently doing AR detection from the camera footage.
I am adjusting exposure time and white balance.
https://docs.opencv.org/4.x/d5/dae/tutorial_aruco_detection.html
I would like to have a THRESHOLD IMAGE as pasted in this URL for this purpose.
How can I output the threshold image for AR detection?