Troubleshooting Hanwha Vision (Wisenet) Facial Recognition
Hanwha Vision's facial recognition technology is a powerful tool for security and business intelligence, offering capabilities from access control to person-of-interest alerts. However, the performance of any AI-driven video analytic is heavily dependent on proper setup and ideal environmental conditions. If your facial recognition system isn't performing as expected, this guide will help you troubleshoot common issues related to accuracy, detection, and database management.
The Foundation of Accuracy: Camera Setup and Environment
The vast majority of facial recognition problems do not stem from the software itself, but from the raw video data it is being fed. You cannot configure your way out of a poor camera installation.
1. Camera Placement is Critical
- Angle of Capture: The camera should be positioned to capture faces as close to a 0-degree, straight-on angle as possible. The more a person's head is tilted or turned, the lower the accuracy will be. For access control, this means mounting the camera at face-level near the entrance.
- Pixel Density: The face needs to be large and clear enough in the frame for the algorithm to analyse it. Refer to your camera’s manual for the recommended pixel density (pixels-per-foot/metre) for facial recognition and ensure subjects are not too far away.
- Field of View: Avoid using an extremely wide-angle lens if your goal is recognition at a distance. A narrower, more focused field of view on the target area (like a doorway or reception desk) will yield better results.
2. Lighting Makes all the Difference
- Even Illumination: The ideal scenario is diffuse, even lighting across a person's face.
- Avoid Harsh Shadows: Strong overhead lighting can create shadows in the eye sockets and under the nose, obscuring key facial features.
- Beware of Backlight: Intense light from behind a person (like a bright window or the sun) will cause their face to be silhouetted, making recognition nearly impossible. If this is unavoidable, use a camera with advanced Wide Dynamic Range (WDR) capabilities and ensure WDR is properly configured.
- Infrared (IR) Considerations: While some cameras can perform recognition with IR illumination at night, performance is generally lower than in well-lit conditions. Ensure the subject is close enough for the IR to illuminate them fully without creating hot spots.
Configuring the Analytics for Optimal Performance
Once your physical setup is optimised, you can fine-tune the software settings.
1. Detection and Image Settings
- Resolution and Compression: Set the camera's stream to a high resolution (e.g., 1080p or higher) and use a high-quality compression setting (lower compression/higher bitrate). This provides more detail for the algorithm.
- Shutter Speed: Ensure the shutter speed is fast enough to avoid motion blur, especially in areas where people are moving quickly. A minimum of 1/120s is a good starting point.
- Focus: Double-check that the camera lens is perfectly in focus. Use the camera's web interface to fine-tune the focus if necessary.
- Detection Zone: Draw a specific detection zone in the settings. This tells the system where to look for faces, which can reduce CPU load and prevent false detections from irrelevant background objects.
2. Managing the Face Database
- High-Quality Enrolment Photos: The accuracy of matching is highly dependent on the quality of the registered images in your database. Use clear, well-lit, front-facing photos for enrolment, similar to a passport photo. Avoid pictures with hats, sunglasses, or strange expressions.
- Multiple Images: If the system allows, enrol multiple images of the same person under different lighting conditions or with/without glasses to improve matching probability.
- Database Limits: Be aware of the maximum number of faces your camera or server can store in its database.
3. Troubleshooting Common Scenarios
- Low Detection Rate (Faces are Missed): This is almost always a camera placement, lighting, or focus issue. Re-evaluate the physical setup first. Second, check that the minimum and maximum face size for detection is configured appropriately for your scene.
- Low Matching Accuracy (False Negatives/Positives): This points to poor quality enrolment photos or a significant difference between the live view and the enrolled photos (e.g., new beard, different glasses). Update the enrolled photos with more current images. You can also adjust the "matching threshold" or "similarity score" in the settings – a lower threshold makes it easier to find a match but increases the risk of false positives.
- System Overload/High CPU Alarms: This can happen if the scene is too busy or the detection zone is too large. Reduce the resolution slightly, or narrow down the detection zone to only the essential area. Ensure the camera's firmware is up to date, as updates often include performance optimisations.
By methodically addressing both the physical environment and the software configuration, you can significantly improve the performance and reliability of your Hanwha Vision facial recognition system.