logoalt Hacker News

mv4today at 1:38 PM4 repliesview on HN

Ironically, the pill counting example selected to showcase "the best vision model" can be easily solved with OpenCV template matching, a technology created 25 years ago.


Replies

maxime_cbtoday at 1:46 PM

I'm assuming you mean that this tech became available in OpenCV 25 years ago, but as it turns out, the underlying tech can be traced back much further, at least as far as 1977! :)

https://ieeexplore.ieee.org/document/1674847 G. J. Vanderbrug and A. Rosenfeld, “Two-Stage Template Matching,” IEEE Transactions on Computers, Vol. C-26, No. 4, pp. 384–393, April 1977. DOI: 10.1109/TC.1977.1674847

show 1 reply
dekhntoday at 3:02 PM

Basic Template matching has severe limitations around scaling, rotation, and perspective. In my experience it greatly underperforms compared to deep network object detectors. My experience- and I imagine others have different experiences- is that SIFT techniques also fail pretty badly with noisy data.

show 1 reply
lebektoday at 1:49 PM

The point is that it's general. It can do this task and many other tasks and it doesn't need custom development like OpenCV does. Of course if you only want to count pills and you want it to be cheap/fast you're still better off using OpenCV.

geysersamtoday at 2:46 PM

I'm sure a typical frontier model would also be happy to write that opencv script for you, and it would do it well.

That is certainly pretty far from what was possible 25 years ago.

show 1 reply