Thwarting retail theft using AI technologies