Automated Real Time Visual Inspection System For Pharmaceutical Tablet Manufacturing