Mask R-CNN for Fine-Grained segmentation
Project description
# Fine-Grained Segmentation
This is a project for fine-grained segmentation on clothing items in images, implemented in Python 3 and ONNX. A deep learning model generates bounding boxes and segmentation masks for each instance of an object in the image. It’s based on [Matterport Mask R-CNN](https://github.com/matterport/Mask_RCNN)
## Requirements
Python 3.5, ONNX runtime, and other common packages listed in requirements.txt.
## Installation
Clone this repository
Run setup to install the library `bash python3 setup.py install ` If it failed to install the dependencies, run `bash pip3 install -r requirements.txt `
Download pre-trained weights (mrcnn.onnx) from the [releases page](https://github.com/vinny-palumbo/fine_grained_segmentation/releases)
## Usage
Here is how to use the library from the command line: `bash fashion-segmentator --image=<path/to/image/file> ` This will generate a `result.png` file in the current directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fine_grained_segmentation-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6b3967dec43df82e2225289047f9cfd333541f18da1454bd873383fb4b47c5 |
|
MD5 | 0dc71694c34f82b25eaf23b7d710e31a |
|
BLAKE2b-256 | 0a9e5b90336467bf1c017eefcaa963f58712d22656460887a34eff31bad49fc2 |
Hashes for fine_grained_segmentation-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e4baf60ef781fea6ddb3487c7254fd1a74c3054f5a2dadc7c7965625ab5fe8f |
|
MD5 | 8fc4875c4af6a03cd95898dbe211c335 |
|
BLAKE2b-256 | d39304654d64d24c105a0596b06abcdc3994c52f1acc7044bc7e0730e6fa84ce |