UCSD-TIES / DVS-Python

UCSD Global TIES's Digital Vision Screening Project
2 stars 10 forks source link

OpenCV Parameters need to be self-adjusting #5

Open svjharris opened 11 years ago

svjharris commented 11 years ago

To write more robust code that will work with many photos the parameters for opencv methods such as the HoughTransform need to be self-adjusting and not hard-coded. We'll have to:

  1. Define the bounds of the params (the extreme values on either end)
  2. Define conditions under which our detection is done or "good"
    • For example finding one pupil circle that's vaguely centered and in an area of high red density
  3. Perform a binary or some sort of search on the space of parameters we could try
  4. When a specific parameter set matches the conditions we've defined we're good.