This is a flutter application which detects a person's face and analyzes its condition in real-time, even in different lighting environments. You can take a selfie or back photo or upload a photo and give u the results
-
You can take a photo selfie or back or upload photo
-
I used local storage for the app using
Shared_preferences -
I used
GETXin state management -
the app architecture is very organised
-
You can use it OFFLINE
-
It has easy , simple beatuful ui
-
Work on both
AndroidandIOS
- Flutter (SDK >= 3.0.0 < 4.0.0)
- GetX – State Management & Routing
- Google ML Kit (Face Detection)
- Camera
- Image Picker
- Permission Handler
- Shared Preferences
- Image Processing (image + flutter_image_compress)
dependencies:
flutter:
sdk: flutter
get: ^4.6.5
camera: ^0.10.6
google_mlkit_face_detection: ^0.11.1
image_picker: ^1.0.0
permission_handler: ^11.4.0
image: ^4.0.17
shared_preferences: ^2.2.0
flutter_image_compress: ^2.4.0The project follows a feature-based modular architecture:
lib
├── app
│ ├── routes.dart
│ ├── themes.dart
├── main.dart
├── modules
│ ├── camera
│ │ ├── common_widgets.dart
│ │ ├── gallery_upload_screen.dart
│ │ ├── take_photo.dart
│ ├── home
│ │ ├── home_controllor.dart
│ │ ├── home_page.dart
│ ├── onboarding
│ │ ├── features.dart
│ │ ├── onboarding.dart
│ │ ├── onboarding_controllor.dart
│ │ ├── permissions.dart
│ │ ├── welcome_page.dart
│ ├── results
│ │ ├── result.dart
│ │ ├── result_controllor.dart
├── services
│ ├── face_analyzer.dart
├── widgets
│ ├── custom_buttom.dart
Follow these steps to run the project locally:
git clone https://github.com/Manar-Elhabbal7/Face-Emotion-Detector.git
cd Face-Emotion-Detectorflutter pub getflutter devicesflutter runContributions are welcome and appreciated!
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name- Make your changes
- Commit your changes:
git commit -m "Add: short description of your feature"- Push your branch:
git push origin feature/your-feature-name- Open a Pull Request
- Follow the existing project structure
- Use meaningful commit messages
- Keep the UI clean and consistent
- Make sure the app runs without errors before submitting PR
- Write clean and readable code
Before submitting a pull request, make sure:
flutter analyze
flutter test














