diff --git a/Sports2D/Sports2D.ipynb b/Sports2D/Sports2D.ipynb index 3c9dec3..669d196 100644 --- a/Sports2D/Sports2D.ipynb +++ b/Sports2D/Sports2D.ipynb @@ -29,7 +29,7 @@ "\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", @@ -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" ] }, @@ -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()" ] }, { diff --git a/setup.cfg b/setup.cfg index 1d819a4..eb1847e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = sports2d -version = 0.0.9 +version = 0.1.0 author = David Pagnon author_email = contact@david-pagnon.com description = Detect pose and compute 2D joint angles from a video.