Code Monkey home page Code Monkey logo

clothing-detection-dataset's Introduction

I have built a dataset that contains 100k images from instagram with an automate annotation like the examples of this repo. If you are interested in this and other custom datasets send an email to "[email protected]", I am thinking in create a telegram bot or telegram group for dataset requests.

Clothing detection dataset

I have created a dataset with wild images where garments are detected, I have gotten all the images from instagram. The are two files, the "dataset.zip" (you can download from https://files.fm/u/xcgc4djv), where you can find all the images and the "data.zip", where there are the jsons with the metadata of the images.

Getting Started

All the necesary libraries for run the project are in the requirements.txt.

Example

In draw_box_example.py there is an example code to draw the boxes, and in crop_box_example.py there is an example code to crop the clothes of the image.

Draw box example

alt text

Crop box example

alt text

Data JSON scheme example

{
    "arr_boxes": [
        {
            "x": 221.32390916347504,
            "y": 624.6319770812988,
            "width": 78.0220752954483,
            "height": 43.4633731842041,
            "genre": "mujer",
            "class": "gafas de sol"
        },
        {
            "x": 345.8838129043579,
            "y": 650.0715896487236,
            "width": 80.0260877609253,
            "height": 46.52789086103439,
            "genre": "mujer",
            "class": "gafas de sol"
        },
        {
            "x": 462.4635708332062,
            "y": 643.2647868990898,
            "width": 80.10356068611145,
            "height": 51.223500072956085,
            "genre": "mujer",
            "class": "gafas de sol"
        },
        {
            "x": 248.01238238811493,
            "y": 1268.1888163089752,
            "width": 122.82929956912994,
            "height": 67.63978600502014,
            "genre": "mujer",
            "class": "zapatos"
        },
        {
            "x": 498.22065711021423,
            "y": 1232.948613166809,
            "width": 101.950603723526,
            "height": 85.60903072357178,
            "genre": "mujer",
            "class": "zapatos"
        },
        {
            "x": 296.8093013763428,
            "y": 697.8735029697418,
            "width": 186.79794073104858,
            "height": 238.04175853729248,
            "genre": "mujer",
            "class": "camisas"
        },
        {
            "x": 172.84747123718262,
            "y": 697.6209998130798,
            "width": 186.8482804298401,
            "height": 239.25325870513916,
            "genre": "mujer",
            "class": "chaquetas"
        },
        {
            "x": 301.18216037750244,
            "y": 921.2495595216751,
            "width": 160.36638021469116,
            "height": 308.5134744644165,
            "genre": "mujer",
            "class": "pantalones"
        },
        {
            "x": 484.19432401657104,
            "y": 920.1821744441986,
            "width": 218.4789276123047,
            "height": 296.2758421897888,
            "genre": "mujer",
            "class": "falda"
        },
        {
            "x": 448.34460496902466,
            "y": 699.9615222215652,
            "width": 213.53031635284424,
            "height": 305.36177158355713,
            "genre": "mujer",
            "class": "chaquetas"
        }
    ],
    "file_name": "df5wx01jni2eac5fk8039f1zf0xzxe2vdehgoo9ai1dh1pgl80iy55xs2uwn59w9.jpg"
}

clothing-detection-dataset's People

Contributors

seralexger avatar

Watchers

James Cloos avatar

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.