In today's digital world, social media users often face privacy violations when their images are uploaded without their knowledge or consent. This lack of control can lead to misuse, identity concerns, and ethical issues.
How Our System Helps:
- Privacy Protection- Users get notified before their image is shared.
- Consent-Based Sharing- No one's face appears online without their approval.
- AI-Powered Detection- Automatically detects and matches faces for seamless verification.
- Prevents Unauthorized Uploads- Stops unintended sharing of personal moments.
- Enhances Digital Safety- Ensures ethical and responsible content posting.
With our AI-driven upload approval system, social media becomes a safer, more respectful space where users have full control over their digital identity.
Building this project came with several challenges, from handling facial recognition accuracy to optimizing image processing. Here are some key hurdles we faced and how we overcame them:
- Face Recognition Model Not Detecting Faces Properly
Issue: Initially, the face-api.js models sometimes failed to detect faces, especially in low-light or low-resolution images.
Solution: We improved detection by adjusting the confidence threshold and ensuring all images were properly preprocessed using node-canvas.
- Handling Large Image Files Efficiently
Issue: Large image files caused memory spikes, leading to slow performance.
Solution: We optimized image handling by compressing images using sharp before storing them, reducing memory usage and improving processing speed.
- Ensuring Secure and Efficient Authentication
Issue: Managing JWT tokens securely while preventing token expiration issues.
Solution: Implemented token refresh logic and stored tokens securely in HTTP-only cookies to enhance security.
These challenges helped us refine the system and build a more robust, privacy-focused social media platform! 🚀