- You put your images in "images" folder. (examples are there already)
- You run the code and see GUI window with trackbars and image window.
- You change trackbar values until desired object is highlighted green.
- You press "Submit" to write the X coordinate of object to file and proceed to next image.
Python2 with OpenCV and appjar:
pip install python-opencv
pip install appjar