Gym Attendance with Face Recognition: A Practical Guide
A technical guide to face recognition gym attendance: how matching works, why errors occur, installing at the door, duties under Indonesian privacy law, and alternatives for members.
A gym attendance app with face recognition has two parts with different jobs. The device at the door works out who has arrived, while the membership application decides whether that person may enter. Keeping the two apart makes it easier to choose hardware, arrange the entrance, and meet data protection duties.
From enrollment photo to open door
The process begins at sign-up. The member’s face is photographed and software turns it into a template, a set of numbers representing facial features. Some systems keep only the template, while others also keep the photo so staff can check identity. Ask the provider which applies, because both need protection.
When the member arrives, the camera captures a new image and compares it with stored templates. There are two ways to do this. One-to-one verification compares the face with a single claimed identity, for example after a PIN is entered. One-to-many identification searches every enrolled face. Gym doors generally use the second, since members do not have to enter anything.
Once an identity is found, the system checks the membership period and access hours. This check should be able to run on the device so the door keeps working without internet. Visit records are held temporarily and synchronized when the connection returns.
Two kinds of error
A face recognition system can fail to recognize someone it should know, or treat two different people as the same person. The first inconveniences a member. The second is more serious because it gives access to the wrong person.
Both are influenced by the matching threshold. A stricter threshold reduces false matches but refuses legitimate members more often. Testing by the US standards body NIST has also found that error rates differ between algorithms and between demographic groups, including by age and place of origin. Accuracy figures in a brochure should therefore be tested with your own members at your own door.
Enrollment photos matter a great deal. Use even light, a face turned straight to the camera, and one person in the frame. Members whose appearance has changed substantially should be photographed again.
Photos on a phone and liveness detection
A system that only compares images may accept a photo or video held up to the camera. Liveness detection tries to confirm that a real person is present, for instance with infrared or depth sensors.
Capability varies. In a 2023 NIST evaluation of 82 software-based algorithms, none detected every type of attack. Before buying, ask the provider to demonstrate attempts with a printed photo, a phone screen, and a video. Our article on AI face recognition devices looks at the hardware in more detail.
Installing at the entrance
Sunlight behind a member can leave the face in shadow, so test the position in the morning, at midday, and at night. The camera height should suit people of different heights, including wheelchair users. Leave room for a queue so that people behind do not enter the frame.
Check the lock type, backup power, evacuation route, and the release button inside. The door must still open in an emergency when the application or device is not working.
Duties under Indonesia’s data protection law
Law No. 27 of 2022 on Personal Data Protection (the PDP Law) classifies biometric data as specific personal data. Because the gym decides why the data is processed, it is generally the controller, while an application provider acting on its instructions may be a processor.
Several provisions bear directly on face attendance.
- Processing needs a lawful basis, one of which is explicit consent (Article 20).
- Consent is given in writing or on record, in plain language, with the purpose and retention period explained (Articles 21–22).
- Children’s data requires consent from a parent or guardian (Article 25).
- Processing specific data counts as high-risk and calls for an impact assessment (Article 34).
- Data is deleted when it is no longer needed or consent is withdrawn (Article 43), and a data breach is notified within 3 x 24 hours (Article 46).
The implementing rule, Government Regulation No. 33 of 2026, was promulgated on 16 July 2026 and takes effect on 16 January 2027. Gyms planning face attendance should read the official text and seek legal advice on particular cases. Rules can change.
Alternatives for members
Consent means more when members have a choice. Offer a reasonable alternative such as a card, PIN, QR code, or an ID check by staff. The same route can serve people whose face is not recognized.
Each option has drawbacks. Cards and PINs can be lent, a static QR code can be photographed, and a fingerprint is still biometric data. A staff check takes time but is adequate for a small number of exceptions.
Before signing a contract, request a written explanation of where data is stored, who can access it, how long it is kept, how a face is removed from the device, and how data can be exported. Test whether a deletion in the application really reaches the door device.
FitYo! supports the aiface21 face recognition device on the gym network, with data kept in a data center in a separate database for each gym.