{"id":18387966,"url":"https://github.com/openpifpaf/openpifpafwebdemo","last_synced_at":"2025-09-08T10:33:31.455Z","repository":{"id":39652345,"uuid":"175398101","full_name":"openpifpaf/openpifpafwebdemo","owner":"openpifpaf","description":"Web browser based demo of OpenPifPaf.","archived":false,"fork":false,"pushed_at":"2023-09-27T20:36:23.000Z","size":46570,"stargazers_count":95,"open_issues_count":5,"forks_count":17,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-08-20T06:24:30.335Z","etag":null,"topics":["ml-web","onnx","onnx-torch","pose-estimation","pytorch","typescript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openpifpaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-13T10:27:10.000Z","updated_at":"2024-04-26T07:09:15.000Z","dependencies_parsed_at":"2024-11-06T01:53:23.641Z","dependency_job_id":"c2046245-2073-4103-80b8-986eb89facab","html_url":"https://github.com/openpifpaf/openpifpafwebdemo","commit_stats":{"total_commits":111,"total_committers":4,"mean_commits":27.75,"dds":0.09909909909909909,"last_synced_commit":"eb109aeb8210b4d1c3cc9a894152c697f7ddc87c"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/openpifpaf/openpifpafwebdemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpifpaf%2Fopenpifpafwebdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpifpaf%2Fopenpifpafwebdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpifpaf%2Fopenpifpafwebdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpifpaf%2Fopenpifpafwebdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openpifpaf","download_url":"https://codeload.github.com/openpifpaf/openpifpafwebdemo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpifpaf%2Fopenpifpafwebdemo/sbom","scorecard":{"id":709907,"data":{"date":"2025-08-11","repo":{"name":"github.com/openpifpaf/openpifpafwebdemo","commit":"eb109aeb8210b4d1c3cc9a894152c697f7ddc87c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.12.6 not signed: https://api.github.com/repos/openpifpaf/openpifpafwebdemo/releases/48733829","Warn: release artifact v0.12.6 does not have provenance: https://api.github.com/repos/openpifpaf/openpifpafwebdemo/releases/48733829"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/openpifpaf/openpifpafwebdemo/tests.yml/main?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile:1: pin your Docker image by updating pytorch/pytorch:1.7.1-cuda11.0-cudnn8-runtime to pytorch/pytorch:1.7.1-cuda11.0-cudnn8-runtime@sha256:db6086be92f439b918c96dc002f4cf40239e247f0b1b6c32e3fb36de70032bf9","Warn: pipCommand not pinned by hash: docker/Dockerfile:4","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:42","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:43","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:55","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:56","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:57","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-h755-8qp9-cq85","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T07:49:20.735Z","repository_id":39652345,"created_at":"2025-08-22T07:49:20.735Z","updated_at":"2025-08-22T07:49:20.735Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274171214,"owners_count":25234842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ml-web","onnx","onnx-torch","pose-estimation","pytorch","typescript"],"created_at":"2024-11-06T01:29:46.863Z","updated_at":"2025-09-08T10:33:30.961Z","avatar_url":"https://github.com/openpifpaf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openpifpafwebdemo\n\n![Tests](https://github.com/openpifpaf/openpifpafwebdemo/workflows/Tests/badge.svg)\n\nLinks:\n[main repository](https://github.com/openpifpaf/openpifpaf),\n[2021 paper](https://arxiv.org/abs/2103.02440) and\n[CVPR2019 paper](http://openaccess.thecvf.com/content_CVPR_2019/html/Kreiss_PifPaf_Composite_Fields_for_Human_Pose_Estimation_CVPR_2019_paper.html).\u003cbr /\u003e\nLive demo: https://vitademo.epfl.ch\u003cbr /\u003e\nServerless live demo: https://openpifpaf.github.io/openpifpafwebdemo/\n\n\n# Use Locally\n\nRun the full pipeline (neural network and decoder) in Python\nand visualize the output in the browser:\n\n```sh\npip3 install openpifpafwebdemo\npython3 -m openpifpafwebdemo.server\n```\n\n_Troubleshooting_: Make sure you are using Python3 and have the latest pip and\nsetuptools with `pip install --upgrade pip setuptools`. Do not clone this\nrepository. Make sure there is no folder named `openpifpafwebdemo` in your\ncurrent directory.\n\n\n__Example:__\n\n\u003cimg src=\"https://github.com/openpifpaf/openpifpafwebdemo/blob/main/docs/wave3.gif\" height=250 alt=\"example image\" /\u003e\n\n\n# Docker\n\nFor every release, this repository builds a new docker image and uploads it\nto [Docker Hub: svenkreiss/openpifpafwebdemo](https://hub.docker.com/r/svenkreiss/openpifpafwebdemo).\nYou can test it with:\n\n```\ndocker run -d -p 5000:80 svenkreiss/openpifpafwebdemo\n```\n\nThis docker images also powers https://vitademo.epfl.ch. More info on building\nthe docker image and how to deploy it to Kubernetes is in [docker/readme.md](docker/readme.md).\n\n\n# API\n\nExample using cURL:\n\n```sh\ncurl --data-binary @docs/me_nyc_square_500.jpeg http://localhost:5000/v1/human-poses\n```\n\nwhich produces:\n\n```json\n[{\"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}]\n```\n\nKeep-alive connection test:\n\n```sh\ncurl -v --data-binary @docs/me_nyc_square_500.jpeg http://localhost:5000/v1/human-poses --next --data-binary @docs/me_nyc_square_500.jpeg http://localhost:5000/v1/human-poses 2\u003e\u00261 | grep '#0'\n* Connected to localhost (127.0.0.1) port 5000 (#0)\n* Connection #0 to host localhost left intact\n* Re-using existing connection! (#0) with host localhost\n* Connected to localhost (127.0.0.1) port 5000 (#0)\n* Connection #0 to host localhost left intact\n```\n\n\n# Dev\n\nTo install from source and set up for development use\n`pip install --editable \".[test]\"`, install the frontend dependencies with\n`npm install` and then create the frontend JavaScript code with `npm run build`. For continuous rebuilds of the js package, use `npm run watch`.\n\nRun the server process with `--debug` to get salted version numbers to break\nthe browser cache for static assets and autoreload when source files change.\n\n\n# Citation\n\n```\n@article{kreiss2021openpifpaf,\n  title = {{OpenPifPaf: Composite Fields for Semantic Keypoint Detection and Spatio-Temporal Association}},\n  author = {Sven Kreiss and Lorenzo Bertoni and Alexandre Alahi},\n  journal = {arXiv preprint arXiv:2103.02440},\n  month = {March},\n  year = {2021}\n}\n\n@InProceedings{kreiss2019pifpaf,\n  author = {Kreiss, Sven and Bertoni, Lorenzo and Alahi, Alexandre},\n  title = {PifPaf: Composite Fields for Human Pose Estimation},\n  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},\n  month = {June},\n  year = {2019}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpifpaf%2Fopenpifpafwebdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenpifpaf%2Fopenpifpafwebdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpifpaf%2Fopenpifpafwebdemo/lists"}