Skip to content

SmartSkin is a Flutter app that uses a custom CNN-based AI API to detect facial skin issues like acne and redness. Users can upload or capture a photo and get instant skin analysis results in a clean, user-friendly interface.

Notifications You must be signed in to change notification settings

KREESS/detection_of_facial_acne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– SmartSkin – AI-based Skin Problem Detection App

SmartSkin is a Flutter-based mobile application that helps users detect facial skin issues using Artificial Intelligence. By leveraging advanced image processing and AI models, users can simply capture or upload a photo of their face and receive instant feedback on potential skin conditions such as acne, redness, pigmentation, dryness, and more.


πŸš€ Features

  • πŸ“Έ Face Image Scanner Users can upload or capture an image of their face to scan for skin problems.
  • πŸ€– AI-Powered Skin Analysis with CNN Detects various skin issues like acne, redness, pores, blackheads, dryness, and more using a trained Convolutional Neural Network (CNN) model.
  • ✨ Shimmer Placeholder While Loading Displays elegant shimmer animations as placeholders while content or analysis results are loading, improving user experience.
  • πŸ“„ Detailed Results with Recommendations After scanning, users receive a clear summary of their skin condition along with personalized skincare tips.
  • πŸ” "View More" Button Always Visible Ensures navigation remains intuitive by keeping the "View More" button visible even during data loading.
  • 🌐 API-based AI Model Integration Integrates with an AI backend via REST API (e.g., Python Flask serving the CNN model) for real-time skin analysis and scalable deployment.

🧠 Technologies Used

Technology Role
Flutter Cross-platform mobile app framework
Dart Programming language for Flutter
Shimmer For loading animation placeholders
Image Picker / Camera For capturing or selecting facial images
CNN-based AI Model (Python/Flask) Convolutional Neural Network for skin problem detection, hosted as a REST API backend
REST API Communication between Flutter app and AI backend for image analysis and results retrieval
Material UI For clean and responsive design

πŸ“² How It Works

  1. The user opens the app and uploads or captures a photo of their face.
  2. The image is sent via HTTP API to a backend server running a Python-based CNN model for skin problem detection.
  3. The backend AI analyzes the image using the Convolutional Neural Network (CNN) and returns the detected skin conditions.
  4. The app displays the results clearly and intuitively to the user.
  5. The View More button remains visible at all times, allowing users to access additional information or features easily.

πŸ“¦ Dependencies

dependencies:
  cupertino_icons: ^1.0.8
  flutter:
    sdk: flutter
  shimmer: ^3.0.0
  permission_handler: ^11.0.0
  image_picker: ^1.0.7
  google_fonts: ^6.1.0
  http: ^1.2.1
  html: ^0.15.0
  flutter_native_splash: ^2.3.10
  flutter_launcher_icons: ^0.13.1

flutter_native_splash:
  color: "#ffffff"
  image: assets/img/logo_smartskin.png
  fullscreen: true
  android: true
  ios: true
  web: false

flutter_icons:
  android: true
  ios: true
  image_path: "assets/img/logo_smartskin.png"

πŸ“· Screenshots App


πŸ› οΈ Setup Instructions

  1. Clone Repo
git clone https://github.com/KREESS/detection_of_facial_acne.git
cd detection_of_facial_acne
  1. Install Dependencies
flutter pub get
flutter pub run flutter_native_splash:create
flutter pub run flutter_launcher_icons:main
  1. Run App
flutter run
  1. Backend AI API (Face Acne Detector)
  • This app integrates with the AI backend available at the repository: KREESS/ai-face-acne-detector.
  • The AI model is based on YOLOv5, trained specifically to detect acne and various facial skin issues.
  • The backend is built using Python and Flask, which accepts HTTP POST requests containing face images as input.
  • After processing, the backend returns detection results including labels and bounding box coordinates in JSON format.
  • The Flutter app sends images via http.MultipartRequest and parses the JSON response to display detection results to the user.

πŸ‘€ Author

About

SmartSkin is a Flutter app that uses a custom CNN-based AI API to detect facial skin issues like acne and redness. Users can upload or capture a photo and get instant skin analysis results in a clean, user-friendly interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published