Computer Vision for Business
Session 5: Ethics, Governance & Final Presentations
Responsible AI deployment and course conclusion
Session 5 Overview
Duration: 3 hours | Responsible AI and final projects
1
Ethics and Privacy
1 hour
→
→
3
Final Presentations
1h30
Learning Objectives
- Understand ethical implications of computer vision
- Navigate privacy and regulatory requirements
- Implement responsible AI practices
- Present a complete CV business solution
Why Ethics Matter in Computer Vision
CV systems make consequential decisions about people
1 High Stakes
- Employment decisions
- Access to services
- Law enforcement
2 Scale
- Millions of users
- Real-time decisions
- Hard to reverse
3 Opacity
- Black box models
- Hidden biases
- Unclear accountability
4 Permanence
- Digital records persist
- Training data reused
- Decisions compound
The CV Ethics Landscape
Four interconnected areas of concern
1 Privacy
- Consent
- Data Collection
- Surveillance
2 Fairness
- Bias
- Discrimination
- Equal Access
3 Transparency
- Explainability
- Disclosure
- Accountability
4 Safety
- Accuracy
- Misuse
- Harm Prevention
Ethical Challenges in Computer Vision
Facial recognition as a case study
1
Input Stage
Camera captures face
→
2
Processing
Face detected, database match
→
3
Decisions
Identity, access granted/denied
At each stage: Ethical decisions are made (or avoided)
Key Ethical Issues
Common challenges in facial recognition systems
| Issue |
Description |
Mitigation |
| Consent |
Individuals captured without knowledge |
Clear signage, opt-out options |
| Bias |
Differential performance across demographics |
Diverse training data, regular audits |
| Surveillance |
Enabling mass tracking |
Purpose limitation, data minimization |
| Misidentification |
False matches with serious consequences |
Human oversight, confidence thresholds |
Case Study 1: Clearview AI
Scraped billions of photos from social media
1
Data Sources
Facebook, LinkedIn, Instagram, Twitter
→
2
Clearview AI
3+ billion face images database
→
3
Users
Law enforcement, private companies
Discussion Questions
- Is public data fair game for any use?
- What about the right to be forgotten?
- Should there be limits on scraping public photos?
Case Study 2: Amazon Rekognition
Facial recognition sold to police departments, later paused
→
→
3
2019: Congress Hearings
→
→
Key Findings
- 28 Congress members misidentified
- Higher error for darker skin
- No standards for police use
Case Study 3: Emotion Recognition in Hiring
AI analyzing candidate facial expressions during video interviews
Scientific validity
Emotion AI lacks scientific consensus
Cultural differences
Expressions vary across cultures
Disability bias
Discriminates against neurodivergent people
Gaming
Candidates can fake expressions
Bias in Computer Vision Systems
Bias can enter at every stage of the ML pipeline
1
Data Collection
Who is photographed?
→
2
Labeling
Who labels? What labels?
→
3
Training
What patterns learned?
→
4
Deployment
Who is affected?
→
5
Feedback
Whose complaints heard?
Feedback loop: Biased systems generate biased data, perpetuating the cycle
Sources of Bias
Three main categories of bias in CV systems
1. Training Data Bias
- Underrepresentation of certain groups
- Historical biases in labeled data
- Geographic/cultural limitations
2. Measurement Bias
- What's being measured may itself be biased
- Proxies that correlate with protected characteristics
3. Aggregation Bias
- One model for all groups may underperform for minorities
- Different groups may require different approaches
The Gender Shades Study
Joy Buolamwini & Timnit Gebru (2018)
| Demographic Group |
Error Rate |
Relative Difference |
| Light-skinned males |
0.8% |
Baseline |
| Light-skinned females |
7.0% |
9x higher |
| Dark-skinned males |
12.0% |
15x higher |
| Dark-skinned females |
34.7% |
43x higher |
Impact: Companies improved models, but revealed systemic issues in training data and model development
Bias Mitigation: The Audit Process
Systematic approach to detecting and measuring bias
1
Define Groups
Identify demographic attributes to test
→
2
Collect Data
Ensure balanced test dataset
→
3
Run Model
Get predictions for all groups
→
4
Compare Metrics
Calculate per-group performance
→
5
Flag Disparities
Identify gaps > threshold
Bias Audit Implementation
Measure performance across demographic groups
def audit_model_fairness(model, test_data, demographic_labels, true_labels):
"""Audit model performance across demographic groups."""
results = {}
for group in set(demographic_labels):
# Get predictions for this group
group_indices = [i for i, d in enumerate(demographic_labels) if d == group]
group_data = [test_data[i] for i in group_indices]
group_labels = [true_labels[i] for i in group_indices]
predictions = [model.predict(x) for x in group_data]
# Calculate metrics
accuracy = sum(p == l for p, l in zip(predictions, group_labels)) / len(predictions)
results[group] = {
"accuracy": accuracy,
"sample_size": len(predictions)
}
# Flag disparities
accuracies = [r["accuracy"] for r in results.values()]
if max(accuracies) - min(accuracies) > 0.05:
print("WARNING: Accuracy disparity > 5% across groups")
return results
Bias Mitigation Strategies
Interventions at different stages
1 Pre-Processing
- Balance dataset
- Augment underrepresented groups
- Re-weight samples
2 In-Processing
- Fairness constraints in loss
- Adversarial debiasing
- Multi-task learning
3 Post-Processing
- Threshold adjustment
- Calibration per group
- Rejection options
Privacy and Regulatory Landscape
Global regulations affecting CV systems
| Region |
Regulation |
Year |
Key Impact |
| Europe |
GDPR |
2018 |
Privacy rights, consent for biometrics |
| Europe |
EU AI Act |
2024 |
Risk-based AI regulation |
| USA |
CCPA/CPRA |
2020 |
California privacy law |
| USA |
Illinois BIPA |
2008 |
Biometric data protection |
| Brazil |
LGPD |
2020 |
Personal data protection |
| China |
PIPL |
2021 |
Personal information protection |
GDPR Requirements for CV
Europe's General Data Protection Regulation
Individual Rights
- Right to be informed
- Right of access
- Right to erasure
- Right to explanation
Organization Obligations
- Lawful basis required
- Data minimization
- Purpose limitation
- Explicit consent for biometrics
Non-Compliance Penalties: Up to 4% of global revenue or EUR 20 million, whichever is higher
EU AI Act Risk Categories
World's first comprehensive AI regulation (2024)
1 Unacceptable Risk - BANNED
- Social scoring
- Real-time remote biometric ID (public)
- Emotion recognition at work/school
2 High Risk - REGULATED
- Biometric identification
- Employment decisions
- Access to services
- Law enforcement
3 Limited Risk - TRANSPARENCY
- Chatbots
- Deepfakes
- Emotion recognition
4 Minimal Risk - NO RULES
High-Risk AI System Requirements
What the EU AI Act requires for CV applications
| Requirement |
Description |
| Risk Management |
Continuous risk assessment throughout lifecycle |
| Data Governance |
Training data must be relevant, representative, error-free |
| Documentation |
Technical documentation before market placement |
| Transparency |
Clear instructions for downstream deployers |
| Human Oversight |
Design must enable human intervention |
| Accuracy |
Appropriate levels throughout lifecycle |
GDPR-Compliant Processing
Building compliance into your pipeline
@dataclass
class DataProcessingRecord:
"""GDPR-compliant data processing record."""
processing_id: str
timestamp: datetime
purpose: str
legal_basis: str # consent, legitimate_interest, contract
data_subject_id: str # pseudonymized
data_categories: list
retention_period: str
automated_decision: bool
human_review: bool
recipients: list
def process_image_with_compliance(image_path, purpose, consent_record):
"""Process image with GDPR compliance measures."""
record = DataProcessingRecord(
processing_id=generate_uuid(),
timestamp=datetime.now(),
purpose=purpose,
legal_basis="consent",
data_categories=["biometric_data", "image"],
retention_period="30_days",
...
)
log_processing(record)
result = cv_model.process(image_path)
return filter_to_purpose(result, purpose) # Data minimization
Framework for Responsible CV
A holistic approach to ethical AI deployment
1 Core Principles
- Fairness
- Transparency
- Privacy
- Accountability
2 Implementation Practices
- Bias testing
- Explainable outputs
- Data minimization
- Human oversight
3 Governance
- Ethics review board
- Incident response
- Regular audits
Pre-Deployment Checklist
Before launching any CV system
- ☐ Bias audit completed across relevant demographic groups
- ☐ Privacy impact assessment documented
- ☐ Data retention and deletion policies defined
- ☐ Human oversight mechanisms in place
- ☐ Transparency/explainability measures implemented
- ☐ Monitoring and drift detection configured
- ☐ Incident response plan documented
- ☐ User consent and opt-out mechanisms available
Remember: Review for every deployment and major update
Transparency Practices
Making CV systems understandable and accountable
1 What to Disclose
- Model capabilities
- Known limitations
- Confidence levels
- Alternative classes
2 How to Disclose
- User interfaces
- API responses
- Documentation
- Audit logs
3 Who Needs to Know
- End users
- Regulators
- Affected parties
- Internal teams
Generating Explainable Outputs
Code for transparent predictions
def generate_prediction_explanation(model, image, prediction):
"""Generate explainable output for CV predictions."""
explanation = {
"prediction": prediction["class"],
"confidence": prediction["confidence"],
"model_version": model.version,
"processing_timestamp": datetime.now().isoformat(),
# Confidence breakdown
"alternative_classes": prediction["all_probabilities"],
# Limitations disclosure
"known_limitations": [
"Model trained on Western retail products",
"Performance may vary with unusual lighting",
"Confidence threshold for automated decisions: 0.85"
],
# Recourse information
"appeal_process": "Contact support@company.com for review"
}
return explanation
Implementing Human Oversight
Keeping humans in the loop for critical decisions
1
CV Prediction
Model output + confidence
→
2
Decision Logic
Confidence > 95%? High-stakes?
→
3
Auto or Human
Auto-approve or queue review
→
4
Final Decision
Logged with accountability
Final Project Presentations
Putting it all together
Your project should demonstrate understanding of the full CV lifecycle:
Problem definition → Technical solution → Responsible deployment
Presentation Format
10 minutes per team + 5 minutes Q&A
→
2
Technical Approach
3 min
→
→
4
Results & Analysis
2 min
→
Section 1: Business Problem
2 minutes - Setting the context
Key Questions to Answer
- What problem are you solving? Be specific and quantifiable
- Who benefits? End users, business stakeholders, society
- What's the current state? How is this handled today?
- Why CV? Why is computer vision the right solution?
Tips
- Start with a compelling story or statistic
- Show you understand the business context
- Quantify the opportunity (cost savings, time, accuracy)
Section 2: Technical Approach
3 minutes - How you built it
Cover These Points
- CV tasks involved - Classification? Detection? OCR? Multiple?
- Data strategy - Source, quantity, preprocessing
- Model choices - API vs custom? Which provider/architecture?
- Architecture - System diagram showing data flow
Tips
- Use a visual architecture diagram
- Justify your technical decisions
- Mention alternatives you considered
Section 3: Live Demo
3 minutes - Show, don't tell
Demo Best Practices
- Success cases - Show it working well
- Edge cases - Show how it handles difficult inputs
- Failure cases - Be honest about limitations
- Recovery - Show graceful degradation
Tips
- Have a backup video in case of technical issues
- Prepare specific test inputs in advance
- Narrate what's happening as you demo
Section 4: Results & Analysis
2 minutes - Honest assessment
Metrics to Present
- Accuracy/Performance - How well does it work?
- Speed - Latency, throughput
- Cost - Per-image, monthly estimates
- Business impact - Projected ROI
Critical Analysis
- Limitations - What doesn't it do well?
- Ethics - Privacy, bias, transparency addressed?
- Future work - What would you do with more time?
Evaluation Criteria
How projects will be assessed
| Criterion |
Weight |
Description |
| Business Value |
25% |
Clear problem, quantified benefits |
| Technical Execution |
25% |
Working prototype, appropriate methods |
| Presentation Quality |
20% |
Clear communication, professional demo |
| Critical Analysis |
15% |
Honest assessment of limitations |
| Ethics Consideration |
15% |
Privacy, bias, responsibility addressed |
Final Project Deliverables
What you need to submit
1. Working Prototype
- Functional CV application with API or user interface
- Handles at least 3 different input scenarios
2. Documentation
- README with setup instructions
- API documentation with sample inputs/outputs
3. Presentation Deck
- Maximum 12 slides, PDF format
4. Analysis Report (2-3 pages)
- Business case, technical approach, performance, ethics
Suggested Project Ideas
Choose based on your industry interest
Document Intelligence
- Invoice/receipt processing
- Contract analysis
- ID verification
Retail Analytics
- Product recognition
- Shelf monitoring
- Customer traffic analysis
Quality Assurance
- Defect detection
- Packaging verification
- Compliance checking
Environmental
- Waste classification
- Pollution detection
- Wildlife monitoring
Recommended Resources
Continue your learning journey
Books
- "Computer Vision: Algorithms and Applications" - Szeliski
- "Deep Learning for Vision Systems" - Elgendy
- "Practical Deep Learning for Cloud, Mobile, and Edge" - Koul
Online Courses
- Fast.ai Practical Deep Learning
- Stanford CS231n
- Coursera Deep Learning Specialization
Documentation
- PyTorch Vision
- Hugging Face Transformers
- OpenCV
Datasets
- ImageNet, COCO, Open Images
- Roboflow Universe
Course Journey Recap
What we covered over 18 hours
1
Foundations
CV concepts, deep learning basics
→
2
Business
Industry applications, ROI analysis
→
3
Cloud APIs
Google, AWS, Azure, Claude Vision
→
4
Custom Models
Transfer learning, PyTorch, AutoML
→
5
Ethics
Bias, privacy, governance
→
6
Deployment
FastAPI, edge, monitoring
Key Takeaways
The essential lessons
- CV is a powerful business tool - From retail to manufacturing to healthcare, visual AI creates measurable value when applied appropriately
- Start with the problem, not the technology - Successful CV projects begin with clear business objectives
- APIs vs. Custom models - Cloud APIs enable rapid prototyping; custom models provide control at scale
- Production requires more than accuracy - Monitoring, error handling, UX are equally important
- Ethics are not optional - Privacy, bias, and transparency are essential requirements
The Future of Computer Vision
Emerging trends and opportunities
1 Foundation Models
- GPT-4V, Gemini, Claude
- Zero-shot capabilities
- Multimodal understanding
2 Edge AI
- On-device processing
- Privacy by design
- Real-time applications
3 Regulation
- EU AI Act enforcement
- Global standards
- Compliance tools
4 New Applications
- AR/VR integration
- Autonomous systems
- Scientific discovery
Thank You!
Computer Vision for Business - Course Complete
Your Role
Bridge the gap between technical capabilities and real-world value creation.
Foundation models and multimodal AI are opening new possibilities every day.
Always with an eye toward responsible implementation.
Course developed for Master's program in AI and Management
Version 1.0 - 2025