Skip to content

Commit

Permalink
bump to version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpagnon committed May 9, 2023
1 parent c0224f0 commit cfede7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Sports2D/Sports2D.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"<img src=\"https://raw.githubusercontent.com/davidpagnon/Sports2D/main/Content/demo_gif.gif\" title='Demonstration of Sports2D with OpenPose.' width=\"760\">\n",
"\n",
"`Warning:` Your data will be sent to the Google servers, which do not follow the European GDPR requirements regarding privacy.\\\n",
"`Warning:` OpenPose installation can last about 30 minutes, and needs to be done anew each time you disconnect from this Colab notebook. Moreover, the server disconnects after 90 minutes of idle time.\n",
"`Warning:` OpenPose installation can last about 20 minutes, and needs to be done anew each time you disconnect from this Colab notebook. Moreover, the server disconnects after 90 minutes of idle time, and unless you buy units, the GPU server may get disconnected after a few hours (sometimes before you have downloaded your results).\n",
"\n",
"`Know issues`:\n",
"- Sometimes, videos generated by Sports2D won't be rendered in Colab. However,they will be perfectly read once downloaded.\n",
Expand Down Expand Up @@ -331,7 +331,8 @@
"source": [
"# Retrieve angle results\n",
"import pandas as pd\n",
"angles = pd.read_csv('/content/videos/demo_BODY_25B_person1_angles.csv', header=[0,1,2,3])\n",
"angles = pd.read_csv('/content/videos/input1_BODY_25B_person0_angles.csv', header=[0,1,2,3])\n",
"angles = angles.droplevel([0,1], axis=1)\n",
"angles"
]
},
Expand All @@ -344,7 +345,7 @@
"outputs": [],
"source": [
"# Plot right and left knee angles\n",
"angles['DavidPagnon','person0'][['Right knee', 'Left knee']].plot()"
"angles[['Right knee', 'Left knee']].plot()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sports2d
version = 0.0.9
version = 0.1.0
author = David Pagnon
author_email = [email protected]
description = Detect pose and compute 2D joint angles from a video.
Expand Down

0 comments on commit cfede7a

Please sign in to comment.