Computer Vision as a technology to test Navigation UI in cars
summary
A practical system built over three years uses OpenCV with Python plus Ruby and Cucumber glue to automate navigation UI checks by combining p hash for quick rejects and template matching plus feature detection (ratio test, cross‑check, cloud‑of‑points radius) for robust hits. Thresholds like 0.8 and 0.75, hamming distances (17 vs 20) and scale up/down attempts handle zoom and style changes. Screenshot copy costs ~60 ms to 1 s, template finds ~3 s, object finds ~4 s; works for ~90% icon/chart cases but breaks on major map restyles.
AI-written summary · about
chapters (31)
- 0:00Intro
- 2:13My article on DOU
- 2:40How do we test applications today? Maps
- 5:55Car position. Hamming distance
- 6:40Zoom out. Hamming distance
- 7:34Samples. Hamming distance
- 8:35Template matching. Solution for 90% of cases
- 9:27Template matching methods
- 10:13Multiple objects matching
- 10:49What about the other 10%
- 12:24Features Detection Description. Puzzle game
- 13:55Corner detectors
- 14:54SIFT (Scale-Invariant Feature Transform)
- 15:27Descriptors
- 16:10Feature matching
- 16:28Cross check & Ratio test
- 19:55Brute Force matching
- 20:30Core scripts. Find templates. Sparsing points
- 22:09Core scripts. Find templates. Zoom search
- 23:46Core scripts. Find templates on image. Example
- 24:23Core scripts. Find objects on image. Example
- 26:05Core scripts. Find objects. Negative
- 26:50CV based test framework
- 27:51Google Map tests
- 29:04Google Fit tests. Steps
- 30:06Selectors
- 33:10Map tests Examples, query images, templates
- 33:50Examples of tests. Farry
- 34:46Examples of tests. HOV lines
- 35:30Examples of tests. Maneuvers
- 37:14Some numbers
related talks
57mComputer Vision in UI testing
54mVisual Validation
23mReimagining Mobile App Testing with Vision AI-Powered Agents
27mVisual UI Testing – Testing the Last Mile
30mHow Visual AI Makes Testing a Breeze
12mAutomation of GUI testing using visual regression testing
37mSpot the Difference; Automating Visual Regression Testing
21mContinuous Monitoring + Continuous Testing in DevOps delivery models
