Surveillance in the library is significantly aided by the presence of CCTV surveillance cameras installed in specific pathways frequented by library visitors. Given the substantial number of visitors, it becomes essential to record the visitor count to gauge the extent of library utilization. Detection and tracking of human objects pose unique challenges in developing software on computers to r…