Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e1edae

Browse files
fixed threshold val
1 parent 9f9fb5d commit 3e1edae

File tree

1 file changed

+22
-62
lines changed

1 file changed

+22
-62
lines changed

Prototype_2_Electric_Boogalooo.ipynb

Lines changed: 22 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"colab": {
66
"provenance": [],
77
"mount_file_id": "1YJfEK8zha4PfUk2yP9y-XbO4vtmn83gE",
8-
"authorship_tag": "ABX9TyPkTtXM08RbtO4T0HwiFsGT",
8+
"authorship_tag": "ABX9TyOyhs6wOIUjt8ldGL3tny7R",
99
"include_colab_link": true
1010
},
1111
"kernelspec": {
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"cell_type": "code",
41-
"execution_count": 1,
41+
"execution_count": null,
4242
"metadata": {
4343
"id": "gmwahO7oITMz",
4444
"outputId": "0da9dc4e-93dc-42cf-b100-08d7b4c71d37",
@@ -71,15 +71,15 @@
7171
"colab": {
7272
"base_uri": "https://localhost:8080/"
7373
},
74-
"outputId": "da995b40-a76c-4fb6-aa62-053f9857a59f"
74+
"outputId": "a819fc96-3036-4e7e-8905-925448d12589"
7575
},
76-
"execution_count": 2,
76+
"execution_count": 25,
7777
"outputs": [
7878
{
7979
"output_type": "stream",
8080
"name": "stdout",
8181
"text": [
82-
"Mounted at /content/drive\n"
82+
"Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n"
8383
]
8484
}
8585
]
@@ -122,7 +122,7 @@
122122
"metadata": {
123123
"id": "whZwvEdKIksm"
124124
},
125-
"execution_count": 3,
125+
"execution_count": 26,
126126
"outputs": []
127127
},
128128
{
@@ -151,7 +151,7 @@
151151
" self.right_heel = pll[30]\n",
152152
" self.left_foot_index = pll[31]\n",
153153
" self.right_foot_index = pll[32]\n",
154-
" self.threshold = 66\n",
154+
" self.threshold = .66\n",
155155
"\n",
156156
" # Returns the angle formed by any three points, with pointb as the center\n",
157157
" def angle(self, pointa, pointb, pointc):\n",
@@ -288,7 +288,7 @@
288288
"metadata": {
289289
"id": "RHyJwan8acCz"
290290
},
291-
"execution_count": 11,
291+
"execution_count": 29,
292292
"outputs": []
293293
},
294294
{
@@ -505,18 +505,18 @@
505505
"id": "GHzmhoO6Jc50",
506506
"colab": {
507507
"base_uri": "https://localhost:8080/",
508-
"height": 946
508+
"height": 231
509509
},
510-
"outputId": "1e6496c0-a400-42f6-c3e7-32bc40138807"
510+
"outputId": "e733f64b-4fd4-4081-c2b0-06fce7b19b0a"
511511
},
512-
"execution_count": 10,
512+
"execution_count": 30,
513513
"outputs": [
514514
{
515515
"name": "stdout",
516516
"output_type": "stream",
517517
"text": [
518518
"What exercise are you tracking?\n",
519-
"Push Up\n"
519+
"Bicep Curl\n"
520520
]
521521
},
522522
{
@@ -640,56 +640,16 @@
640640
"output_type": "stream",
641641
"name": "stdout",
642642
"text": [
643-
"151.74670426095005\n",
644-
"Try Straightening Your Legs More\n",
645-
"145.63584187183648\n",
646-
"Try Straightening Your Hip Somewhat\n",
647-
"125.48940335322602\n",
648-
"Try Straightening Your Arm Somewhat\n",
649-
"119.90699298115345\n",
650-
"131.5003810391885\n",
651-
"Try Straightening Your Hip Somewhat\n",
652-
"144.48894921799766\n",
653-
"148.0784247451263\n",
654-
"142.3273248196901\n",
655-
"151.00213414568185\n",
656-
"143.7034300667958\n",
657-
"151.03920238505685\n",
658-
"140.1864742235204\n",
659-
"151.03631684921675\n",
660-
"137.69514306790325\n",
661-
"Good Form\n",
662-
"136.23460516244432\n",
663-
"145.3138472669328\n",
664-
"64.77438320935693\n",
665-
"Try Straightening Your Arm Somewhat\n",
666-
"132.3635310195223\n",
667-
"Good Form\n",
668-
"162.21729692070457\n",
669-
"Try Straightening Your Hip Somewhat\n",
670-
"160.55587511041517\n",
671-
"113.46127060312281\n",
672-
"Try Straightening Your Arm Somewhat\n",
673-
"144.24639824297526\n",
674-
"Try Straightening Your Hip Somewhat\n",
675-
"142.63812073569318\n",
676-
"73.9877011177219\n",
677-
"Try Straightening Your Arm Somewhat\n",
678-
"111.79160583383167\n",
679-
"96.26150067712139\n",
680-
"161.21508426527072\n",
681-
"Try Straightening Your Hip Somewhat\n",
682-
"49.27067916017131\n",
683-
"Try Straightening Your Arm Somewhat\n",
684-
"127.23101723124641\n",
685-
"135.6345074470225\n",
686-
"Try Straightening Your Legs More\n",
687-
"160.15049269556965\n",
688-
"Try Straightening Your Hip Somewhat\n",
689-
"155.35445283586643\n",
690-
"168.57687558518435\n",
691-
"164.40498506301168\n",
692-
"135.97759158323575\n"
643+
"Right Arm Isn't Visible\n",
644+
"Left Arm Isn't Visible\n",
645+
"Right Arm Isn't Visible\n",
646+
"Left Arm Isn't Visible\n",
647+
"Right Arm Isn't Visible\n",
648+
"Left Arm Isn't Visible\n",
649+
"Right Arm Isn't Visible\n",
650+
"Left Arm Isn't Visible\n",
651+
"Right Arm Isn't Visible\n",
652+
"Left Arm Isn't Visible\n"
693653
]
694654
}
695655
]

0 commit comments

Comments
 (0)