tacsotai / flutter_mediapipe

BSD 3-Clause "New" or "Revised" License
23 stars 8 forks source link

Modify sample print for coordinate #2

Closed tacsotai closed 3 years ago

tacsotai commented 3 years ago

There are print log of coordinates: 14 points and x,y. But face mesh has 468 points. So, Fix it.

I/native (10322): I20210527 14:12:27.794593 10491 jni_util.cc:41] GetEnv: not attached I/flutter (10322): [x: 0.6635462045669556 I/flutter (10322): y: 0.792432427406311 I/flutter (10322): z: -0.03544004634022713 I/flutter (10322): , x: 0.6647236347198486 I/flutter (10322): y: 0.7681349515914917 I/flutter (10322): z: -0.05118488147854805 : I/flutter (10322): , x: 0.6609827280044556 I/flutter (10322): y: 0.7993719577789 I/flutter (10322): [x: 0.6671473979949951

tacsotai commented 3 years ago

Done.

I/flutter (10897): Index: 467 I/flutter (10897): x: 0.8924632668495178 I/flutter (10897): y: 0.619740903377533 I/flutter (10897): z: 0.09373152256011963 I/flutter (10897): Index: 0 I/flutter (10897): x: 0.8742293119430542 I/flutter (10897): y: 0.6783924698829651 I/flutter (10897): z: -0.038787808269262314 I/flutter (10897): Index: 1 I/flutter (10897): x: 0.8899623155593872 I/flutter (10897): y: 0.654201090335846 I/flutter (10897): z: -0.0444103442132473