Lid Tracking and counting using video processing for warehousing applications