It's been done manually for decades. Read about VASCAR[1]
Yes with modern cameras and computers I would think it should be pretty doable.
[1] https://en.wikipedia.org/wiki/VASCAR