face-landmarking-ios icon indicating copy to clipboard operation
face-landmarking-ios copied to clipboard

How can I draw correct circle for face landmark at Portrait mode?

Open shohu opened this issue 4 years ago β€’ 2 comments

I can't draw correct circle at Portrait mode. I find shape, but not circle, just line. like this.

How can I draw correct circle for face landmark at Portrait mode?

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2020-02-21 16 33 06

I only fixed two things.

  1. Check Portrait at Device Orientation. (and select target iOS 13.2. but this setting is maybe unrelated this problem)
γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2020-02-21 16 31 01
  1. Add "AVCaptureVideoOrientation.portrait"
γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2020-02-21 16 38 55

I checked #5 but I can't understand this problem.

My Environment

MacOS Catalina 10.15.2 Xcode 11.3.1 iPhone7 (iOS 13.3.1 commit version https://github.com/zweigraf/face-landmarking-ios/commit/748f2ea4a2c0b3b09f2f4a36b76c06c84117c2a9

shohu avatar Feb 21 '20 07:02 shohu

did you find any solution on this? i'm having the same problem

ScientistMe avatar Jul 14 '20 18:07 ScientistMe

I gave up using this library. I decided to try to use CIFaceFeature each sampleBuffer frame. But poor accuracy

shohu avatar Jul 14 '20 23:07 shohu