Giter Club home page Giter Club logo

dataset-cfpd's Introduction

CFPD | Colorful Fashion Parsing Data

This dataset is used in the paper, (S. Liu, J. Feng, C. Domokos, H. Xu, J. Huang, Z. Hu, & S. Yan. 2014) CFPD | Fashion parsing with weak color-category labels.

Details

  • 2,682 images
  • 600 x 400 (height, width)
  • pixel-level annotated (segmentation map)
    • 23 categories
    • 13 colors
  • make_label.py makes the followings from fashon_parsing_data.mat.
    • label/bbox.json: bounding box (for object detection not semantic segmentation).
    • label/categories.tsv
      • category_id
      • category
  • label/main_categories.tsv is selected from categories.tsv for object detection.

Setup Dataset

# download zip file (name) from author's GoogleDrive
./download.sh

# rename
mv data data.zip

unzip data.zip

# make label/categories.tsv
# make label/bbox.json
# from fashon_parsing_data.mat
python make_label.py

fashon_parsing_data.mat

structure

  • #refs#
    • 0, 0A~zz: 2,719 groups (each record may be a image info)
      • category_label
        • np.array, float64(actually int), (1, 425)
        • map: super-pix id (1425) -> fine category id (1117)
      • color_label
        • np.array, float64(actually int), (1,425)
        • map: super-pix id (1425) -> fine color id (160)
      • ?img_name
        • np.array, uint16, (2~9 etc, 1)
        • range: 59~108 etc
        • ???
      • segmentation
        • np.array, float32, (400, 600)
        • map: img pix loc (w, h) -> super-pix id (1~425)
        • (height, width) (transposing this) is the right orientation.
    • b~x: 23 datasets (each record means category id)
      • np.array, uint16, (1, #fine_category)
      • range: 1~117
      • fine categories's ids under the cateogry.
    • y,z,A~K: 13 datasets (each record means color id)
      • np.array, uint16, (1, #fine_color)
      • range: 1~60
      • fine color's ids under the color.
  • all_category_name
    • np.array, h5py.h5r.Reference, (1, 23)
    • Each reference correspods the above cateogory keys under #refs#.
  • all_color_name
    • np.array, h5py.h5r.Reference, (1, 13)
    • Each reference correspods the above color keys under #refs#.

Dataset Problem

dataset-cfpd's People

Contributors

hrsma2i avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dataset-cfpd's Issues

Dataset License

Hello there.

I noticed there is no license for the code/data.

Would it be possible to add a license so that the dataset can be used for commercial purposes.

Many thanks,
Peter

wrong colors

Hi. I used your dataset and similary extract the color of cloth. but the color does not match. This is a few examples of my output
[ { "img_name": "32160.jpg", "items": [ { "bbox": { "ymin": 0, "xmin": 0, "ymax": 599, "xmax": 399 }, "category": "bk", "color": "bk" }, { "bbox": { "ymin": 96, "xmin": 130, "ymax": 331, "xmax": 283 }, "category": "coat", "color": "green" }, { "bbox": { "ymin": 143, "xmin": 160, "ymax": 337, "xmax": 273 }, "category": "dress", "color": "orange" }, { "bbox": { "ymin": 18, "xmin": 182, "ymax": 73, "xmax": 220 }, "category": "face", "color": "pink" }, { "bbox": { "ymin": 0, "xmin": 156, "ymax": 200, "xmax": 258 }, "category": "hair", "color": "purple" } ] }, { "img_name": "169304.jpg", "items": [ { "bbox": { "ymin": 0, "xmin": 0, "ymax": 599, "xmax": 399 }, "category": "bk", "color": "bk" }, { "bbox": { "ymin": 148, "xmin": 114, "ymax": 253, "xmax": 238 }, "category": "T-shirt", "color": "beige" }, { "bbox": { "ymin": 64, "xmin": 152, "ymax": 166, "xmax": 211 }, "category": "face", "color": "pink" }, { "bbox": { "ymin": 66, "xmin": 156, "ymax": 115, "xmax": 213 }, "category": "hair", "color": "purple" } ] }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.