+ All Categories
Home > Documents > Gesture recognition with Kinect - Lunds tekniska...

Gesture recognition with Kinect - Lunds tekniska...

Date post: 17-Jul-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
52
Gesture recognition with Kinect Joakim Larsson
Transcript
Page 1: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

GesturerecognitionwithKinect

JoakimLarsson

Page 2: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Outline

• Taskdescription• Kinectdescription• AdaBoost• Buildingadatabase• Evaluation

Page 3: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

TaskDescription

• ThetaskwastoimplementgesturedetectionforsomegesturesusingaKinectsensor.

• Thegesturechosenwasiftheuserwaspointinginadirection.

Page 4: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Kinect

• Kinectisamotionsensinginputdevice.• Itrecordsthedistancebetweenthesensorandanyobjectsinitswayasapointcloud.

• Fromthesepointsthereexistssoftwaretoextractahumanbodyfromthepointcloudlive.

Page 5: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Kinect

Page 6: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Kinect

Page 7: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Firstsolution

• Thefirstsolutionusedwastoextractthejointsanddetermineifthehand-,wrist-,elbow-joints’positionforbotharmswasclosetoformingaline.

• Insuchascenariotheuserwouldbeconsideredtobepointing.

• ThissolutionrequiredtheusertoholdtheirarmsVERYstraighthowever.

Page 8: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

• ThemethodeventuallychosenusesthemetaalgorithmAdaBoost.

Page 9: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoost

• AdaBooststandsforAdaptiveboosting.• ItwontheGödelPrizein2003.• It’sanalgorithmwithwhichamachinecanbetaughtwhatclassifiersaresignificantwhendeterminingwhetheradiscreteeventhasoccurredornot.

Page 10: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostexample

• Imaginewewishtoclassifyafournumberstringonanunknowncriterion.

• Theonlythingweknowofthecriterionistheinformationwecangatherfromasetoftrainingexamples.

Page 11: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Inordertoclassifythetrainingsetsomesimpleclassifiersareneeded.

• Inthisexamplecasetheclassifiersareoftwonatures:– Treatingthestringsasintegersandaskingwhethertheyareaboveorbelowacertainthresholdvalue.

– Countinghowmanyoftheintegersinthestringthatareofacertaintype.

STRING CLASS0001 FALSE0012 FALSE0415 FALSE0881 FALSE0888 TRUE1234 FALSE1235 FALSE1299 TRUE1515 FALSE1559 FALSE7654 TRUE7771 TRUE7777 TRUE7779 TRUE7780 TRUE8337 TRUE8502 FALSE9001 FALSE9039 TRUE9999 TRUE

Page 12: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Examinationshowsthatinthisexample7650isthebestthresholdvalue.

STRING CLASS >76500001 FALSE FALSE0012 FALSE FALSE0415 FALSE FALSE0881 FALSE FALSE0888 TRUE FALSE1234 FALSE FALSE1235 FALSE FALSE1299 TRUE FALSE1515 FALSE FALSE1559 FALSE FALSE7654 TRUE TRUE7771 TRUE TRUE7777 TRUE TRUE7779 TRUE TRUE7780 TRUE TRUE8337 TRUE TRUE8502 FALSE TRUE9001 FALSE TRUE9039 TRUE TRUE9999 TRUE TRUE

Page 13: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Examinationshowsthatinthisexample7650isthebestthresholdvalue.

• Thislabels80%oftheexamplescorrectly.

STRING CLASS >76500001 FALSE FALSE0012 FALSE FALSE0415 FALSE FALSE0881 FALSE FALSE0888 TRUE FALSE1234 FALSE FALSE1235 FALSE FALSE1299 TRUE FALSE1515 FALSE FALSE1559 FALSE FALSE7654 TRUE TRUE7771 TRUE TRUE7777 TRUE TRUE7779 TRUE TRUE7780 TRUE TRUE8337 TRUE TRUE8502 FALSE TRUE9001 FALSE TRUE9039 TRUE TRUE9999 TRUE TRUE

STRING CLASS >7650 CORRECT0001 FALSE FALSE TRUE0012 FALSE FALSE TRUE0415 FALSE FALSE TRUE0881 FALSE FALSE TRUE0888 TRUE FALSE FALSE1234 FALSE FALSE TRUE1235 FALSE FALSE TRUE1299 TRUE FALSE FALSE1515 FALSE FALSE TRUE1559 FALSE FALSE TRUE7654 TRUE TRUE TRUE7771 TRUE TRUE TRUE7777 TRUE TRUE TRUE7779 TRUE TRUE TRUE7780 TRUE TRUE TRUE8337 TRUE TRUE TRUE8502 FALSE TRUE FALSE9001 FALSE TRUE FALSE9039 TRUE TRUE TRUE9999 TRUE TRUE TRUE

0,80,2

Page 14: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample• Thenextcriterionwouldbetoseehowmanyzeroesareinthestring.

• Afterthatones.• Andsoon.

STRING CLASS >7650 CORRECT #0>0 CORRECT0001 FALSE FALSE TRUE TRUE FALSE0012 FALSE FALSE TRUE TRUE FALSE0415 FALSE FALSE TRUE TRUE FALSE0881 FALSE FALSE TRUE TRUE FALSE0888 TRUE FALSE FALSE TRUE TRUE1234 FALSE FALSE TRUE FALSE TRUE1235 FALSE FALSE TRUE FALSE TRUE1299 TRUE FALSE FALSE FALSE FALSE1515 FALSE FALSE TRUE FALSE TRUE1559 FALSE FALSE TRUE FALSE TRUE7654 TRUE TRUE TRUE FALSE FALSE7771 TRUE TRUE TRUE FALSE FALSE7777 TRUE TRUE TRUE FALSE FALSE7779 TRUE TRUE TRUE FALSE FALSE7780 TRUE TRUE TRUE TRUE TRUE8337 TRUE TRUE TRUE FALSE FALSE8502 FALSE TRUE FALSE TRUE FALSE9001 FALSE TRUE FALSE TRUE FALSE9039 TRUE TRUE TRUE TRUE TRUE9999 TRUE TRUE TRUE FALSE FALSE

0,8 0,350,2 0,65

Page 15: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExampleSTRING CLASS Weight >7650 CORRECT #0>0 CORRECT #0>1 CORRECT #1>0 CORRECT0001 FALSE 0,05 FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE0012 FALSE 0,05 FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE0415 FALSE 0,05 FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE0881 FALSE 0,05 FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE0888 TRUE 0,05 FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE1234 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1235 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1299 TRUE 0,05 FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE1515 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1559 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE7654 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7771 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE7777 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7779 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7780 TRUE 0,05 TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE8337 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE8502 FALSE 0,05 TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE9001 FALSE 0,05 TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE9039 TRUE 0,05 TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE9999 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE

1 0,8 0,35 0,35 0,150,2 0,65 0,65 0,85

Page 16: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Theclassifierthatgivethesmallesterror,i.e.theonethatforthetrainingsetreturnsthecorrectclassificationmostoftenischosenasourprimaryclassifier.

Page 17: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Intheexampleusing#1=0asaclassifiernets3/20incorrectlabelings.

STRING CLASS Weight >7650 CORRECT #0>0 CORRECT #0>1 CORRECT #1>0 CORRECT0001 FALSE 0,05 FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE0012 FALSE 0,05 FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE0415 FALSE 0,05 FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE0881 FALSE 0,05 FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE0888 TRUE 0,05 FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE1234 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1235 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1299 TRUE 0,05 FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE1515 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE1559 FALSE 0,05 FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE7654 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7771 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE7777 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7779 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE7780 TRUE 0,05 TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE8337 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE8502 FALSE 0,05 TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE9001 FALSE 0,05 TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE9039 TRUE 0,05 TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE9999 TRUE 0,05 TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE

1 0,8 0,35 0,35 0,150,2 0,65 0,65 0,85

Page 18: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Inordertodeterminehowwelltheclassifierworkedweassignitan α-valuedependentonitserrorrate.

• 𝛼" =$%& ln $)*+

*+

Page 19: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Wenowwanttofindadditionalclassifiers• Sinceourcurrentclassifierclassifiessomeexamplesquitewell,butothersnotsomuchwewantournextclassifiertoprimarilyclassifythoseincorrectlylabeledcorrectly.

• Therelativeweightofthedifferentexamplesarethusmultipliedby𝑒α iftheclassifierclassifiedincorrectlyand𝑒−α otherwise.

Page 20: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExampleSTRING CLASS Weight0001 FALSE 0,0150012 FALSE 0,0150415 FALSE 0,0150881 FALSE 0,0150888 TRUE 0,0151234 FALSE 0,0151235 FALSE 0,0151299 TRUE 0,0851515 FALSE 0,0151559 FALSE 0,0157654 TRUE 0,0157771 TRUE 0,0857777 TRUE 0,0157779 TRUE 0,0157780 TRUE 0,0158337 TRUE 0,0158502 FALSE 0,0859001 FALSE 0,0159039 TRUE 0,0159999 TRUE 0,015

Page 21: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Wethencontinuebypickingoutthecriterionthatminimizestheweightederrors.

• Afterwards,wecalculatethecorrespondingα-value,andcalculatethenewweightsforourtrainingset.

• Afterwards,thebestweightedcriterioniscalculated.

• Thiscontinuesuntilwehaveasufficientlygoodcombinedclassifier.

Page 22: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Intheexampleusing#0>0asaclassifiernetsabetterweightedvalue,despitethenumericalthresholdingcorrectlyclassifyingmoreexamples.

STRING CLASS Weight >1240 CORRECT #0>0 CORRECT #0>1 CORRECT0001 FALSE 0,015 FALSE TRUE TRUE FALSE TRUE FALSE0012 FALSE 0,015 FALSE TRUE TRUE FALSE TRUE FALSE0415 FALSE 0,015 FALSE TRUE TRUE FALSE FALSE TRUE0881 FALSE 0,015 FALSE TRUE TRUE FALSE FALSE TRUE0888 TRUE 0,015 FALSE FALSE TRUE TRUE FALSE FALSE1234 FALSE 0,015 FALSE TRUE FALSE TRUE FALSE TRUE1235 FALSE 0,015 FALSE TRUE FALSE TRUE FALSE TRUE1299 TRUE 0,085 TRUE TRUE FALSE FALSE FALSE FALSE1515 FALSE 0,015 TRUE FALSE FALSE TRUE FALSE TRUE1559 FALSE 0,015 TRUE FALSE FALSE TRUE FALSE TRUE7654 TRUE 0,015 TRUE TRUE FALSE FALSE FALSE FALSE7771 TRUE 0,085 TRUE TRUE FALSE FALSE FALSE FALSE7777 TRUE 0,015 TRUE TRUE FALSE FALSE FALSE FALSE7779 TRUE 0,015 TRUE TRUE FALSE FALSE FALSE FALSE7780 TRUE 0,015 TRUE TRUE TRUE TRUE FALSE FALSE8337 TRUE 0,015 TRUE TRUE FALSE FALSE FALSE FALSE8502 FALSE 0,085 TRUE FALSE TRUE FALSE FALSE TRUE9001 FALSE 0,015 TRUE FALSE TRUE FALSE TRUE FALSE9039 TRUE 0,015 TRUE TRUE TRUE TRUE FALSE FALSE9999 TRUE 0,015 TRUE TRUE FALSE FALSE FALSE FALSE

1 0,715686 0,205882 0,3431370,284314 0,794118 0,656863

Page 23: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostExample

• Thefinalclassifierforexamples𝑥 outsidethetrainingsetisthengivenbythesignof:

• ∑ 𝛼0 & ℎ0 𝑥02340

• whereℎ0 𝑥 isthe𝑘:thclassifierreturning+1forpassingclassificationand-1otherwise.

Page 24: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

AdaBoostwithKinect

• ThisisthealgorithmthatisinuseinthegesturedetectionsoftwarethatcomeswiththeKinectSDK.

• Whiletheexampleusedstringsofintegers,theKinectSDKusesthereconstructedskeletonfromthepointcloudastrainingdata.

• Fromthisitextractsfeatures,suchasangles,differenceinposition,speed,etc.

Page 25: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

UsingtheKinectSDK

• TheKinectSDKcomeswithawealthofsoftwaretocreateadatabase.

• FirstisKinectStudio,withwhichonecancapturefootagefromtheKinect.

• SecondisVisualGestureBuilder,withwhichonecantrainaclassifier.

• ThirdisVisualGestureBuilderViewer,withwhichonecanverifyhowwelltheclassifierworks.

Page 26: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

KinectStudio

Page 27: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

KinectStudio

Page 28: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

VisualGestureBuilder

• Inthebuildereachcapturedframeoffootageisconsideredoneexampleinthetrainingset.

• Theseframesarethentaggedasfulfilling/notfulfillingthecriterion.

• TheBuilderisthenusedtobuildadatabase,i.e.determinewhatclassifiersbestdeterminewhetheragestureisactiveornot.

Page 29: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

VisualGestureBuilderViewer

Page 30: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

VisualGestureBuilder

Page 31: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

VisualGestureBuilderViewer

• TheVisualGestureBuilderVieweristhenusedtoexaminehowwellthedatabaseclassifiesgestures.

Page 32: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Approachtotheproblem

• Theapproachusedwasthus:– CapturefootagewithKinectStudiowherethegestureswereperformed.

– Tagtheframesofthefootageduringwhichthegestureswereperformed.

– LettheGestureBuilderextracttheappropriatefeaturesandbuildadatabaseusingAdaBoost.

– EvaluateitsaccuracywiththeGestureBuilderViewer.

– Repeatuntiltheendofterm.

Page 33: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Approach

• ThegesturetobecapturedwasiftheuserispointinginoneofthefourdirectionsUp,Down,LeftorRight.Additionallytherewasonegenericgesturejustforpointing.

• Thefirstclipwasofmepointingstraightinthesedirectionssixtimes,threeperhand.

Page 34: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.
Page 35: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Featuresafterfirstclip

• Afterthefirstclip,the#1featuresdiscoveredineachdirectionwas:– Up:Angles(WristLeft,Head,WristRight)>=180– Down:Angles(ThumbRight,HandRight,WristRight)>=130

– Left:MuscleTorqueZ(SpineShoulder)>=2– Right:Angles(Head,ShoulderRight,SpineBase)<126

• Icontinuedaddingclipsinthisfashion,sothatthefeaturesusedwouldbemorecorrectlyused.

Page 36: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.
Page 37: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.
Page 38: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.
Page 39: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

• AtthispointIdiscoveredthatitwasphysicallyexhaustingtostandinthepositionstheclassifierdemanded.

• Ithereforewentbackthroughthealreadytaggedclipstoextendthetimethearmwouldbeconsideredpointing.

Page 40: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Intheaboveuppointingmovement,themiddleonesusedtobethestartandfinishoftheframestaggedpointStraightUp.

Page 41: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

• Thiscontinueduntilthetermended.• Inthefinalformtherearetwodatabases.– Onewhichhasbeentrainedtoregardaclosedfistasnotpointing.

– Onewhichhasnot.• ThisisduetoKinect’sinbuilthandStatebeingquiteuncertainwhentestingitonline.

Page 42: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Evaluation

• Thefinaldatabaseis,accordingtomypersonalevaluations,quiteaccurateinrealizingthattheuserispointingandinwhatdirection.

• Itislesscertaininsomedirections.• Inthedatabasethatissupposedtoignoreaclosedfistthedatabaseoftenfailwiththatverytask,sofurthertrainingwouldbenecessary.

• Howsuccessfulthedatabaseiscanvary.

Page 43: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointdown

Page 44: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointdown

Page 45: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointleft

Page 46: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointleft

Page 47: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointright

Page 48: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointright

Page 49: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointup

Page 50: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Pointup

Page 51: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Doublepointing

Page 52: Gesture recognition with Kinect - Lunds tekniska högskolafileadmin.cs.lth.se/cs/Education/edan70/AIProjects/2016/slides/Larss… · Gesture recognition with Kinect Joakim Larsson.

Fingerdown


Recommended