Employing computer vision techniques enables the verification and tracking of medicine count changes during borrowing and returning. By analyzing captured images, object detection algorithms can identify medicines, count them, and compare the counts over time, alerting users to any discrepancies or errors in the process. This system facilitates accurate monitoring and management of medicine inventory.