Vision Based Real-time High-accuracy Automatic Counting with Applications for Smart Pharmacy | IEEE Conference Publication | IEEE Xplore