System for real-time verification and detection of stock shortages of goods displayed for sale