1

Is there an iOS function that does the same thing as openCV's warpPerspective? If so, are the parameters the same?

MB.
  • 4,167
  • 8
  • 52
  • 79

1 Answers1

2

This answer has a good solution for perspective transform using the CATransform3D CoreAnimation transform.

As an alternative, if you don't mind converting your image data to OpenCV friendly format, you could just use OpenCV itself. It's a C++ library so it can link easily with an iOS project.

Here's an Xcode project with OpenCV already set up: http://www.eosgarden.com/en/opensource/opencv-ios/overview/

Community
  • 1
  • 1
lopar
  • 2,432
  • 22
  • 14