DermaAI is a comprehensive web-based AI application for dermatological skincare, created by Muhammad Talha Fayyaz. This platform combines cutting-edge AI technology with dermatological expertise to provide personalized skincare recommendations and solutions.
- Comprehensive skin assessment questionnaire
- Intelligent skin type detection (Normal, Dry, Oily, Combination, Sensitive)
- Personalized product recommendations based on skin profile
- Custom skincare routine generation
- Curated selection of dermatologically approved products
- Detailed product information with active ingredients
- Smart filtering and sorting capabilities
- Shopping cart functionality with real-time updates
- Products formulated by certified dermatologists
- Evidence-based recommendations
- Minimalist, clean formulations
- Clinically tested ingredients
- Responsive, mobile-first design
- Clean, minimalist aesthetic
- Professional medical-grade appearance
- Smooth animations and transitions
- Flask: Python web framework for API and routing
- Python: Core backend logic and AI algorithms
- Jinja2: Template engine for dynamic content
- HTML5: Semantic markup structure
- CSS3: Modern styling with gradients, animations, and responsive design
- JavaScript: Interactive features and API integration
- Font Awesome: Professional icons
- Google Fonts: Typography (Inter font family)
- Responsive Design: Works seamlessly on desktop, tablet, and mobile
- Progressive Web App: Fast loading and offline capabilities
- Cross-browser Compatibility: Supports all modern browsers
- Accessibility: WCAG compliant design principles
dermaai/
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── templates/ # HTML templates
│ ├── base.html # Base template with common layout
│ ├── index.html # Homepage
│ ├── analysis.html # Skin analysis page
│ └── products.html # Product catalog page
├── static/ # Static assets
│ ├── css/
│ │ └── style.css # Main stylesheet
│ ├── js/
│ │ └── main.js # JavaScript functionality
│ └── images/ # Image assets
└── .git/ # Git repository
- Python 3.8 or higher
- pip (Python package manager)
- Git
git clone <repository-url>
cd dermaaipython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtpython app.pyThe application will be available at http://localhost:5000
Analyzes user skin profile and provides personalized recommendations.
Request Body:
{
"age": "26-35",
"skin_feel": "oily",
"concerns": ["acne", "pores"],
"breakouts": "often",
"sensitivity": "low",
"current_routine": "basic",
"budget": "100"
}Response:
{
"skin_type": "oily",
"characteristics": ["shiny appearance", "enlarged pores", "prone to blackheads"],
"concerns": ["excess sebum", "acne", "enlarged pores"],
"recommendations": [...],
"routine": {
"morning": [...],
"evening": [...]
},
"analysis_id": "ANALYSIS_20241215_143022"
}Get product recommendations based on skin type and budget.
Request Body:
{
"skin_type": "oily",
"budget": 150
}The AI uses a rule-based system to analyze user responses and determine:
- Primary skin type classification
- Key skin concerns identification
- Suitable product matching
- Personalized routine creation
- Filters products by skin type compatibility
- Considers user budget constraints
- Prioritizes clinically proven ingredients
- Provides detailed ingredient information
- Progressive form with clear sections
- Real-time validation and feedback
- Loading states and animations
- Mobile-responsive design
- Advanced filtering and sorting
- Shopping cart with quantity management
- Product detail modals
- Checkout simulation
DermaAI represents Muhammad Talha Fayyaz's commitment to:
- Scientific Approach: Every recommendation is backed by dermatological research
- Minimalist Formulations: Clean, effective ingredients without unnecessary additives
- Personalization: Tailored solutions for individual skin needs
- Accessibility: Professional skincare advice available to everyone
- Quality Assurance: Rigorous testing and dermatologist approval
- Update the
PRODUCT_CATALOGinapp.py - Add product images to
static/images/ - Update product templates if needed
- Edit
SKIN_TYPESdictionary inapp.py - Adjust the analysis algorithm in
analyze_skin()function - Update form fields in
analysis.html
- Modify CSS variables in
style.css - Update color schemes and typography
- Adjust responsive breakpoints
- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
- Mobile browsers (iOS Safari, Chrome Mobile)
- Input validation and sanitization
- CSRF protection ready
- Secure session management
- XSS prevention
- Integration with real AI/ML models
- User accounts and history tracking
- Advanced image-based skin analysis
- Telemedicine consultation features
- Mobile app development
- Advanced analytics dashboard
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is proprietary to Muhammad Talha Fayyaz. All rights reserved.
For questions, support, or business inquiries:
- Email: info@dermaai.com
- Phone: +1 (555) 123-4567
- Website: DermaAI
- Modern web development best practices
- Dermatological research and clinical studies
- Open-source libraries and frameworks
- The skincare and dermatology community
© 2024 DermaAI by Muhammad Talha Fayyaz. All rights reserved.
Built with ❤️ for better skin health and wellness.