Privacy-Preserving Gender-Based Customer Behavior Analytics in Retail Spaces Using Computer Vision

Open

Ginanjar Suwasono Adi, Samsul Huda, Griffani Megiyanto Rahmatullah, Dodit Suprianto, Dinda Qurrota Aini Al-Sefy, Ivon Sandya Sari Putri, Lalu Tri Wijaya Nata Kusuma

2026 Computers, Materials and Continua Vol. 86 Issue 1 Article Cited by 0

Abstract

In the competitive retail industry of the digital era, data-driven insights into gender-specific customer behavior are essential. They support the optimization of store performance, layout design, product placement, and targeted marketing. However, existing computer vision solutions often rely on facial recognition to gather such insights, raising significant privacy and ethical concerns. To address these issues, this paper presents a privacy-preserving customer analytics system through two key strategies. First, we deploy a deep learning framework using YOLOv9s, trained on the RCA-TVGender dataset. Cameras are positioned perpendicular to observation areas to reduce facial visibility while maintaining accurate gender classification. Second, we apply AES-128 encryption to customer position data, ensuring secure access and regulatory compliance. Our system achieved overall performance, with 81.5% mAP@50, 77.7% precision, and 75.7% recall. Moreover, a 90-min observational study confirmed the system’s ability to generate privacy-protected heatmaps revealing distinct behavioral patterns between male and female customers. For instance, women spent more time in certain areas and showed interest in different products. These results confirm the system’s effectiveness in enabling personalized layout and marketing strategies without compromising privacy. Copyright © 2025 The Authors.

Affiliations

Artificial Intelligence of Things Research Group, Department of Electrical Engineering, Politeknik Negeri Malang, Malang, 65141, Indonesia; Interdisciplinary Education and Research Field, Okayama University, Okayama, 700-8530, Japan; Department of Electrical Engineering, Politeknik Negeri Bandung, Bandung, 40559, Indonesia; Department of Business Administration, Politeknik Negeri Bandung, Bandung, 40559, Indonesia; Department of Industrial Engineering, Faculty of Engineering, Universitas Brawijaya, Malang, 65145, Indonesia