Git Product home page Git Product logo

cocoparser's Introduction

required package

conda install numpy
conda install -c conda-forge rapidjson
conda install -c anaconda msgpack-python

analyze_plot.py

python .\analyze_plot.py .\person_keypoints_val2017.msgpack

analyze_single.py

python .\analyze_single.py .\person_keypoints_val2017.msgpack

analyze_diff.py

python .\analyze_diff.py .\tmp\val_image_100.json .\tmp\merged.json 

filter_imagecount.py

python .\filter_imagecount.py .\person_keypoints_val2017.msgpack -c 100 -o .\tmp\val_image_100.json
python .\filter_imagecount.py .\person_keypoints_val2017.msgpack -c 100 -s 200 -o .\tmp\val_image_200.json

filter_annotationcount.py

python .\filter_annotationcount.py .\person_keypoints_val2017.msgpack -c 100 -o .\tmp\val_annotation_100.json
python .\filter_annotationcount.py .\person_keypoints_val2017.msgpack -c 100 -s 200 -o .\tmp\val_annotation_200.json

merge.py

python .\merge.py .\tmp\val_image_100.json .\tmp\val_image_200.json -o .\tmp\merged.json

filter.py

python .\filter.py .\tmp\merged.json -f 'num_keypoints > 15' -o .\tmp\over_keypoints_15.json
python .\filter.py .\person_keypoints_val2017.json -f 'annotation_count < 5, width > 200 , height > 200' -o .\tmp\val_over_annotation_0.json
python .\filter.py .\person_keypoints_val2017.json -f 'annotation_count < 5, width > 200 , height > 200 , annotation_count > 0' -f 'num_keypoints > 10' -o .\tmp\val_over_annotation_0.json

dumpid.py

python .\dumpid.py .\tmp\merged.json -o .\tmp\image_ids.txt
python .\dumpid.py .\tmp\merged.json -o .\tmp\annotation_ids.txt --annotation
python .\dumpid.py .\tmp\merged.json -o - --annotation

intersection_id.py

python .\intersection_id.py .\person_keypoints_val2017.msgpack .\tmp\dumpids.txt

sub_id.py

python .\sub_id.py .\person_keypoints_val2017.msgpack .\tmp\dumpids.txt

cocoparser's People

Contributors

koya-ken avatar

Watchers

 avatar  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.