Giter VIP home page Giter VIP logo

checkoutfree's Introduction

PyPanops

The project is a python implementation of the person clustering algorithm in the check-out free grocery visual system. Details of the algorithm are introduced in the paper "An Efficient Person Clustering Algorithm for Open Checkout-free Groceries". A large real-world dataset is released with project.

Dataset Download

https://drive.google.com/drive/folders/1gAw8SuVG82NWOlv77Pvt06Q7s5WNnwGI?usp=sharing

Two datasets are sequentially(aa -> ab -> ac ...) splited to 44 files and 10 files. Data is saved as json with the format {id:{'time':timestamp captured, 'ori': the orientation of person leaving the view, 'fea': features extracted by CNN, 'loc': the location the captured camera, 'label': the identification of captured person}}. Each piece of data represents a snapshot captured by a certain camera in the grocery. Each snapshot contains one and only one person. The snapshots are sorted by the captured time.

There are two datasets: DaiCOFG and IseCOFG, which collected from a large grocery and a small grocery respectively. DaiCOFG contains 362,300 snapshots with 10,176 identities for training, in which 125,378 snapshots are labeled, and 250,710 labeled snapshots with $7,406$ identities for testing. The snapshots are taken by 186 cameras deployed at the key spots of the grocery. IseCOFG contains 78,630 snapshots with 4,116 identities for training, in that 21,648 snapshots are labeled, and 54,606 snapshots with 2,773 people for testing. The snapshots are taken by 76 cameras in the grocery.

Quick Start

Training:

python main.py -mode train -data_path "input data path" -out_path 'output data path'

Test:

python main.py -mode test -data_path "input data path" -out_path 'output data path'

See cfg.py for more avaliable parameters

Todo list

  • GCN parallel processing & Buffer
  • del debug code
  • cls validation
  • function name alignment
  • del trials
  • dataset preprocess tools
  • nn optimization by toplist
  • CSG & GCG optimization by sparse

checkoutfree's People

Contributors

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