Skip to content

Page0526/virtual-try-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues


Logo

An awesome virtual try-on app!

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing

About The Project

Consumers face difficulties visualizing actual products when shopping for fashion online. Choosing suitable clothing depends not only on preferences but also factors like body shape, personal style, and the ability to coordinate with other items. A suitable choice not only helps reduce return rates but also contributes to increasing sales. EasyFit was created to provide a comprehensive solution to enhance the online shopping experience through features such as:
  • Virtual fitting room, allowing users to try clothes on personal photos thanks to AI technology that creates realistic simulations
  • Suitable clothing suggestions, providing product recommendations based on fashion style, color, and existing wardrobe
  • Shopping integration, making it easy for users to order through e-commerce platforms after trying on clothes
  • StyleMate, an AI virtual assistant providing information on fashion trends, outfit combination suggestions, and optimizing the shopping experience.

With these features, EasyFit not only brings a more intuitive experience but also optimizes the process from trying on clothes to purchasing, making it more convenient for users and reducing risks when shopping online. 🚀

(back to top)

Built With

  • React Native
  • Expo
  • TypeScript
  • Python
  • FastAPI
  • Google Gemini
  • Supabase

(back to top)

Getting Started

Prerequisites

  • Node.js and npm/yarn
  • Expo CLI (npm install -g expo-cli)
  • Python 3.10+ and pip
  • Conda (optional, for managing Python environments)
  • Git

Installation

Backend (Server):

  1. Clone the repo:
    git clone https://github.com/Page0526/virtual-try-on.git cd virtual-try-on
  2. Navigate to the server directory:
    cd server
  3. Create and activate a Python environment (using Conda):
    conda create --name easyfit-env python=3.10 conda activate easyfit-env 
    (Or use python -m venv venv and source venv/bin/activate / venv\Scripts\activate)
  4. Install Python dependencies:
    pip install -r requirements.txt
  5. Set up environment variables (e.g., Supabase keys, Google API key). You might need a .env file in the server directory. Refer to server/config/setting.py.
    # Example .env content (replace with actual values) SUPABASE_URL=YOUR_SUPABASE_URL SUPABASE_KEY=YOUR_SUPABASE_ANON_KEY # Add other required keys (like Google API Key if needed by backend features)
  6. Run the FastAPI server:
    uvicorn main:app --reload --host 0.0.0.0 --port 8000 
    (Ensure you are in the server directory)

Frontend (Client):

  1. Navigate to the client directory (from the project root):
    cd ../client 
  2. Install Node.js dependencies:
    npm install 
    (or yarn install)
  3. Set up environment variables for the client if needed (e.g., Clerk keys). Refer to the code using process.env. You might need a .env file in the client directory.
    # Example .env content (replace with actual values if used) EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=YOUR_CLERK_KEY 
  4. Start the Expo development server:
    npx expo start
  5. Follow the instructions in the terminal to open the app on a simulator/emulator or physical device using the Expo Go app.

(back to top)

Usage

Get to the try-on screen and start try on whatever clothes you want!

(back to top)

Roadmap

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Top contributors:

contrib.rocks image

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •