OpenCV
OpenCV is an open-source computer vision and machine learning library used for image processing, facial recognition, object detection, and video analysis. As a library, it has no GDPR implications itself: obligations arise from how the application uses it. Applications using OpenCV for facial recognition or biometric data processing must comply with GDPR Article 9, which provides special protections for biometric data and typically requires explicit consent.
What does OpenCV do?
What is OpenCV?
OpenCV (Open Source Computer Vision Library) is a comprehensive open-source library providing hundreds of computer vision and machine learning algorithms. Originally developed by Intel and now maintained by the OpenCV Foundation, it supports image processing, facial detection and recognition, object tracking, video analysis, augmented reality, and deep learning inference. It is available for C++, Python, Java, and JavaScript, enabling computer vision capabilities in web browsers, desktop applications, mobile apps, and server-side processing.
GDPR and biometric data: the critical consideration
OpenCV itself is a neutral processing library. However, when OpenCV is used for facial recognition or biometric identification of individuals, the resulting data (facial feature vectors, biometric templates) constitutes biometric data under GDPR Article 4(14), which is special category data under Article 9. This triggers significantly stricter compliance requirements than standard personal data, including mandatory explicit consent or another Article 9(2) legal basis, mandatory DPIA under Article 35, and enhanced data minimisation obligations.
Video surveillance and GDPR
When OpenCV is used in video surveillance systems that process images of identifiable individuals, GDPR's rules on CCTV and video monitoring apply. This includes: informing individuals that they are being filmed (through visible notices), limiting retention of footage, restricting access to footage, and providing a lawful basis for the processing. Real-time facial recognition in public spaces is subject to additional restrictions under the proposed EU AI Act.
Low-risk OpenCV use cases
Many OpenCV use cases do not involve personal data: processing images of objects, analysing satellite imagery, quality control in manufacturing, or augmented reality that does not identify individuals. In these cases, GDPR does not apply to the OpenCV processing itself. The distinction between non-personal image processing and personal data processing is critical for compliance assessment.
Practical compliance steps
If facial recognition or biometric processing: obtain explicit consent, conduct a mandatory DPIA, implement data minimisation (do not retain raw images longer than necessary), secure biometric templates with strong encryption, and implement access controls. If purely non-personal image processing: standard development practices apply with no specific GDPR requirements for the OpenCV processing itself.
OpenCV and the GDPR
- Legal basis
- OpenCV is a library, not a data processor. GDPR obligations arise from the application built with it, particularly if it processes biometric or facial recognition data which is special category data under Article 9.
- Risk level
- low
- Applicable regulations
- GDPR Article 9 may apply if OpenCV is used for facial recognition or biometric processing
Impact assessment (DPIA)
A DPIA is mandatory when OpenCV is used for facial recognition, biometric identification, or large-scale video surveillance. GDPR Article 35 specifically requires a DPIA for systematic processing of biometric data and large-scale processing using new technologies.
Sample text for your banner
This application uses OpenCV for image analysis. If this analysis includes facial recognition or biometric processing, explicit consent is required under GDPR Article 9. See our privacy policy for full details of visual data processing.
What OpenCV sets and contacts
- Tracking method
- Open-source computer vision library, client-side or server-side processing, no tracking
- Server location
- Self-hosted (deployer infrastructure)
- Cookieless mode available
- Yes
Cookies set (1)
| Name | Type | Duration | Purpose |
|---|---|---|---|
| opencv_none | session | Session | OpenCV sets no cookies: it is a server-side or client-side processing library with no web storage |
Third-party domains contacted (2)
opencv.orggithub.com
Frequently asked questions about OpenCV
Can't find your question? Write to us, we answer fast.
Does OpenCV collect personal data?
OpenCV itself does not. It is a processing library. Personal data implications arise only when OpenCV processes images or video containing identifiable individuals, particularly for facial recognition or biometric identification.
Is facial recognition with OpenCV subject to GDPR Article 9?
Yes. When OpenCV generates biometric templates from facial images for identification purposes, those templates are biometric data under GDPR Article 4(14), which is special category data under Article 9. Explicit consent or another Article 9(2) basis is required.
What legal basis applies to OpenCV facial recognition?
Explicit consent (Art. 9(2)(a)) is the most common basis. For workplace access control, explicit consent or employment law derogation may apply. For law enforcement, a specific legal obligation basis is required. Generic legitimate interest cannot justify biometric processing.
Do I need a DPIA for OpenCV facial recognition?
Yes, a DPIA is mandatory. GDPR Article 35 specifically requires a DPIA for systematic processing of biometric data for identification purposes and for large-scale use of new technologies. OpenCV-based facial recognition systems meet both criteria.
Does OpenCV transfer data outside the EU?
OpenCV itself does not transfer data. Transfer obligations depend on where the application hosting OpenCV is deployed and which cloud or API services it uses for processing or storing the results.
How do I use OpenCV compliantly for facial recognition?
Obtain explicit consent before capturing facial images for recognition. Conduct a mandatory DPIA. Minimise data: do not retain raw images longer than necessary. Store biometric templates with strong encryption. Implement strict access controls. Provide clear notice to individuals being identified.
Does the EU AI Act affect OpenCV facial recognition?
Yes. The proposed EU AI Act classifies real-time remote biometric identification in public spaces as a prohibited AI practice (with limited law enforcement exceptions). OpenCV-based real-time facial recognition in public spaces will be prohibited or severely restricted once the AI Act applies.
What are GDPR-compliant use cases for OpenCV?
Non-personal image processing (manufacturing quality control, satellite imagery, object detection without identifying individuals), opt-in face filters in consumer apps with explicit consent, research with ethical approval and anonymisation, and security systems with proper notice and legal basis all represent compliant use cases.
Module Federation
Module Federation is a versatile web technology that supports digital platforms with specialized functionality and enhanced capabilities. It provides robust tools and services that integrate with modern websites and applications seamlessly. Module Federation is designed to improve operational efficiency, user experience, and digital performance. Trusted by developers and businesses alike, Module Federation offers reliable solutions that scale with organizational needs and evolving web standards.
CamanJS
CamanJS is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. CamanJS supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, CamanJS ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.
Kohana
Kohana is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Kohana integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Kohana helps organizations maintain robust websites that meet user expectations and technical requirements.
ECharts
ECharts is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. ECharts supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, ECharts ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.
IPFS
IPFS is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. IPFS integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, IPFS helps organizations maintain robust websites that meet user expectations and technical requirements.
Pelican
Pelican is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Pelican integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Pelican helps organizations maintain robust websites that meet user expectations and technical requirements.
Make your site compliant today.
Free up to 25,000 sessions a month. No credit card, no commitment.