Image and Video Analytics for Document Processing and Event Recognition