OpenCV Height Estimator

Height Estimator is an application that utilizes the OpenCV library to estimate the height of a detected person using a reference object, a piece of paper, in the image. The user can also choose to overlay an image onto the paper. This application was developed as part of the final project for CSS 487 - Computer Vision at University of Washington Bothell.

Project

height-estimator GitHub

Process

height-estimator

Example Input (Run from IDE):

Please input filename you would like to test.
Jamie.jpg
Would you like height displayed in meters or feet? (F or M)
F
Would you like an image ('overlay.jpg') overlayed onto the
paper? (Y or N)
N

Results

View Results on GitHub

Development

Project Presentation

Lessons Learned

  • Using Histogram of Oriented Gradients for detection
  • The difficulties of varying image sizes and how they can affect results and speed
  • Calculating the height of something based on a reference scale of pixels
  • Using contours
  • Using Canny edge detection
  • Using ApproxPolyDP
  • Difficulties and limitations of Computer Vision
  • Overall increased OpenCV knowledge