Question: How to use the Histogram function in OpenCV to track only the horizontal center line for a grayscale livefeed from a camera. I am coding
How to use the Histogram function in OpenCV to track only the horizontal center line for a grayscale livefeed from a camera.
I am coding in C++ for a project, and I need to understand how to have a Histogram function be used, just across the line from the point (0,240) to the point (640, 240), to measure the intensity value of a grayscale live feed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
