Coder Social home page Coder Social logo

ml-lab / openpifpafwebdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openpifpaf/openpifpafwebdemo

0.0 3.0 0.0 809 KB

Web browser based demo of OpenPifPaf.

License: MIT License

Python 44.28% TypeScript 18.75% JavaScript 30.17% HTML 6.80%

openpifpafwebdemo's Introduction

openpifpafwebdemo

Build Status

Demo of "PifPaf: Composite Fields for Human Pose Estimation".

Links: main repository, paper on arXiv.

@article{kreiss2019pifpaf,
  title = {PifPaf: Composite Fields for Human Pose Estimation},
  author = {Kreiss, Sven and Bertoni, Lorenzo and Alahi, Alexandre},
  journal = {CVPR},
  year = {2019}
}

Getting Started

Make sure you are using Python3 and have the latest pip and setuptools with pip install --upgrade pip setuptools.

pip install openpifpafwebdemo
python -m openpifpafwebdemo.server

Open a web browser at http://localhost:5000 to view the web interface.

Example: ResNet-50 on a laptop without GPU acceleration running at 5.1 FPS.

example image

To install from source and set up for development use pip install --editable ".[test]".

API

Example using cURL:

curl -X POST -H "Content-Type: application/json" --data @test_image.json http://localhost:5000/process

which produces:

[{"coordinates": [[0.588631883263588, 0.41628291457891464, 3.5567557387194797], [0.621234196703881, 0.36160339042544365, 3.524825929280572], [0.546875, 0.375, 3.744302039019678], [0.6724068783223629, 0.44710323959589005, 3.459401266884038], [0.494683139026165, 0.4611567258834839, 3.5954212359489217], [0.78733691573143, 0.8311769068241119, 2.1321910543190827], [0.3859005756676197, 0.8252473473548889, 2.158424186304439], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], "score": 0.26909651332876167}]

openpifpafwebdemo's People

Contributors

svenkreiss avatar

Watchers

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