shaqian / flutter_realtime_detection

Real-time detection demo for Flutter tflite plugin
843 stars 302 forks source link

using the front camera leads to inaccurate visualizations of key points #28

Closed lgwds closed 3 years ago

lgwds commented 3 years ago

when I use the front camera like this:

controller = new CameraController(
        widget.cameras[1],
        ResolutionPreset.high,
      );

... the pose estimation key points seem way off. Could you please let me know which parameter settings I need to adjust to make it work for the front camera as well?

lgwds commented 3 years ago

my PR fixes this issue: #30

yogi00195 commented 2 years ago

my PR fixes this issue: #30

Please mention what you did to debug it