Is there an iOS function that does the same thing as openCV’s warpPerspective? If so, are the parameters the same?
Is there an iOS function that does the same thing as openCV’s warpPerspective? If
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/