THE CALCULATION SYSTEM OF NUMBER OF PEOPLE IN A ROOM BASED ON HUMAN DETECTION USING HAAR-CASCADE CLASSIFIER

Abstract

Data of number of people in the room, calculations are usually carried out by assigning someone to oversee a room. In this final project, a system for calculating the number of people in the room is designed with image processing based on human detection that can be used in rooms, both for commercial applications and for security. This system uses Raspberry Pi device that already has an image processing method Haar-Cascade Classifier. Input data is in the form of video taken directly via webcam to be captured into a frame so that it can be used as a input the Haar-Cascade Classifier method and perform the counting process will be sent to the Antares platform. The system design has been tested with five scenarios. Scenario 1 the effect of the distance of the object, scenario 2 the effect of the pose of the object, scenario 3 the effect of the amount the object in the frame, scenario 4 affects the scale factor and scenario 5 measurement computation time. Scenarios 1 to 3 will do the best configuration for minimum neighbour. The system gets the best accuracy of 98,5% when the object distance 4 meters, the best accuracy of 96,6% when the object is facing forward and accuracy the best is 97,7% when the object in the frame is more than two objects with the best configuration use the minimum neighbour 5. Scenario 4 gets accuracy the best is 76,2% when using the scale factor 1.1. Scenario 5 gets the average computation time of the system is under one second, meaning the detection process done pretty fast.