Added more training data for gesture recognizer

This commit is contained in:
Mitchell McCaffrey 2020-04-21 13:31:55 +10:00
parent ce1a252b2e
commit 8f1bcf3806

View File

@ -283,6 +283,82 @@ const gestures = [
],
name: "rectangle",
},
{
points: [
{ x: 0.5208333333333334, y: 0.36547049963984024 },
{ x: 0.5178902453232397, y: 0.36547049963984024 },
{ x: 0.514947157313146, y: 0.36547049963984024 },
{ x: 0.5120040693030523, y: 0.36547049963984024 },
{ x: 0.5090609812929586, y: 0.36547049963984024 },
{ x: 0.5061178932828649, y: 0.36547049963984024 },
{ x: 0.5031748052727713, y: 0.36547049963984024 },
{ x: 0.5002317172626776, y: 0.36547049963984024 },
{ x: 0.4972886292525838, y: 0.36547049963984024 },
{ x: 0.4943455412424901, y: 0.36547049963984024 },
{ x: 0.49140245323239634, y: 0.36547049963984024 },
{ x: 0.4884593652223026, y: 0.36547049963984024 },
{ x: 0.48551627721220886, y: 0.36547049963984024 },
{ x: 0.4825731892021151, y: 0.36547049963984024 },
{ x: 0.47996794871794873, y: 0.36547049963984024 },
{ x: 0.4799546861638081, y: 0.36513291253192154 },
{ x: 0.4798391521992856, y: 0.36219209309880446 },
{ x: 0.47972361823476306, y: 0.3592512736656874 },
{ x: 0.47960808427024054, y: 0.3563104542325703 },
{ x: 0.479492550305718, y: 0.3533696347994532 },
{ x: 0.4793770163411955, y: 0.35042881536633613 },
{ x: 0.479261482376673, y: 0.34748799593321905 },
{ x: 0.47914594841215047, y: 0.34454717650010197 },
{ x: 0.47903041444762795, y: 0.3416063570669849 },
{ x: 0.47891488048310543, y: 0.3386655376338678 },
{ x: 0.4787993465185829, y: 0.3357247182007507 },
{ x: 0.4786838125540604, y: 0.33278389876763365 },
{ x: 0.4785682785895379, y: 0.32984307933451656 },
{ x: 0.47845274462501536, y: 0.3269022599013995 },
{ x: 0.47833721066049284, y: 0.3239614404682824 },
{ x: 0.4782216766959703, y: 0.3210206210351653 },
{ x: 0.47810614273144786, y: 0.31807980160204824 },
{ x: 0.47799060876692534, y: 0.31513898216893116 },
{ x: 0.4778750748024029, y: 0.3121981627358141 },
{ x: 0.47775954083788036, y: 0.309257343302697 },
{ x: 0.4776440068733579, y: 0.3063165238695799 },
{ x: 0.4775641025641026, y: 0.3042826272018859 },
{ x: 0.4775641025641026, y: 0.3033750048273396 },
{ x: 0.4775641025641026, y: 0.30043191681724585 },
{ x: 0.4775641025641026, y: 0.2974888288071521 },
{ x: 0.4775641025641026, y: 0.29454574079705836 },
{ x: 0.4775641025641026, y: 0.2916026527869646 },
{ x: 0.4775641025641026, y: 0.2886595647768709 },
{ x: 0.4775641025641026, y: 0.28571647676677714 },
{ x: 0.4775641025641026, y: 0.2827733887566834 },
{ x: 0.4775641025641026, y: 0.27983030074658966 },
{ x: 0.4775641025641026, y: 0.2768872127364959 },
{ x: 0.4775641025641026, y: 0.27394412472640217 },
{ x: 0.4775641025641026, y: 0.27100103671630843 },
{ x: 0.4775641025641026, y: 0.2680579487062147 },
{ x: 0.4775641025641026, y: 0.26511486069612095 },
{ x: 0.4775641025641026, y: 0.2648876956322441 },
{ x: 0.4791666666666667, y: 0.2665640756990374 },
{ x: 0.4795634385114741, y: 0.2665640756990374 },
{ x: 0.48250652652156784, y: 0.2665640756990374 },
{ x: 0.4854496145316616, y: 0.2665640756990374 },
{ x: 0.4883927025417553, y: 0.2665640756990374 },
{ x: 0.4911858974358974, y: 0.2665640756990374 },
{ x: 0.4913300394226815, y: 0.2665229535169987 },
{ x: 0.4941602064411068, y: 0.2657155368445333 },
{ x: 0.4969903734595321, y: 0.26490812017206794 },
{ x: 0.49982054047795743, y: 0.26410070349960263 },
{ x: 0.5026507074963827, y: 0.26329328682713726 },
{ x: 0.505480874514808, y: 0.26248587015467195 },
{ x: 0.5083110415332334, y: 0.2616784534822066 },
{ x: 0.5088141025641025, y: 0.2615349354986576 },
{ x: 0.5112273308803348, y: 0.26135462232609513 },
{ x: 0.5141622376809069, y: 0.2611353300391504 },
{ x: 0.5170971444814789, y: 0.2609160377522057 },
{ x: 0.520032051282051, y: 0.26069674546526095 },
{ x: 0.5200320512820513, y: 0.26069674546526095 },
],
name: "rectangle",
},
{
points: [
{ x: 0.5632183908045977, y: 0.3122951675190481 },