That ' s about the same percentage of Hispanics that vote Republican every time . Cubans are very rightwing as a response to communism and the Christian conservative vote , especially against abortion , is strong among Hispanics . <| sep |> I hate to be curt , but you ' ve got to condense your question . Correct me if I ' m wrong , but the TLDR of this isUsing a picture containing a ruler , a hole , and a length of material , can I automatically measure the width of hole length of material . If so , how should these pictures be taken ? To answer the part one yes , it ' s certainly possible . I can already think of an interesting way to approach this align the ruler so that it ' s 0 '' or 0 cm marking aligns with the left of the slab . The ruler needs clear , distinct 116 th markings for accuracy make sure your light source doesn ' t cause glare . I noticed that your ruler has glare across the center . This could be corrected for with gamma correction , but don ' t overcomplicate the pictures if you can control for it You will be running a circle detection to detect the center circle , and line detection to detect the ruler ' s edges , the board ' s edges , and the ruler ' s markings . It ' s critical that the markings are pernpendicular to the board hence the alignment I mentioned earlier I recommend HoughCircles and HoughLinesP which are both available in the openCV library . If you can program in python or c , this ' ll save you some time . HoughLinesP stands for probabilistic Hough Lines , which gives you the actual lengths of your lines useful for the board length After getting the measurement for pixel distances for radii and various lines , you can calculate the ratio of pixels per ruler marking , then extrapolate the unitdistance of the length of the board and the unitdistance of the diameter or radius of the circlePlay with OpenCV for python and if you have problems feel free to hit me up on here . This ' ll be a reasonable problem for image processing 2 hours of fiddling .