Code Monkey home page Code Monkey logo

plotting-to-image's Introduction

アノテーション結果の確認

  • 3名が行った画像上へクリックするアノテーションの結果を確認

機能

  • 歩行者のBBoxを描画
  • 3名分のクリックを画像上に赤マーカーでプロット
  • eyecontactフラグ,difficultフラグが付与されている場合には,マーカーの色を変える(eyecontact:ピンク,difficult:紫)
  • 3名の評価がバラけている順に表示
    1. 3名のアノテーション座標から三角形を考え,その重心を求める
    2. 重心から各点への距離の分散を求める
    3. 距離分散の大きい順に画像を表示
  • Next, Prevボタンを押すことで各レコードを順に表示(双方向リストによる実装)
  • レコードの収録順,もしくは歩行者tokenをテキストボックスに入力することで,任意のレコードを表示可能
  • プレビューツール上で生成した画像を保存するボタン
  • 表示中画像のアノテーション情報を別のjsonファイルに書き出すボタン
    • 良い例(Good)と悪い例(Bad)を想定し,2つのボタンを用意

使い方

python preview.py <アノテーション情報を含むjsonファイル> <歩行者画像の参照先> <JSONと画像の書き出し先>

python preview.py ann_records/nuimages_ped_1017_v1.0-train.json img_ped/nuimages_ped/v1.0-train/img output/nuimages_ped/v1.0-train

plotting-to-image's People

Contributors

musan6363 avatar

Watchers

 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.