Capsule Counting Machine: High-Speed Process with Visual Imaging