1 | initial version |
As the spots are well defined and assuming camera is fixed, you could use opencv background subtraction with sufficient amount of history to detect if there is an object in a particular parking spot. Look at this opencv tutorial for more information. http://docs.opencv.org/master/d1/dc5/tutorial_background_subtraction.html#gsc.tab=0