0

I have an app that captures frames with the didUpdate callback method. Each other frame I detect an object and if the object is in the frame (a CVPixelBuffer object) received from the callback, I place a circle in the screen on top of the object.

All works great, with the exception that the CVPixelBuffer and the viewPort have different coordinates (see this SO question: convert-arframes-captured-image-to-uiimage-orientation-issue).

My question is, how to convert only a few points to the viewPort coordinates?

zeh
  • 765
  • 1
  • 7
  • 24

0 Answers0