question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ditch OpenCV in favor of native iOS Core graphics code

See original GitHub issue

Some issues with native iOS library CoreGraphics forced me to use openCV. But the following code is very close to work, just need to figure out in which orientation the result image must be

 rectangleCoordinates[@"inputTopLeft"] = [CIVector vectorWithCGPoint:newLeft];
 rectangleCoordinates[@"inputTopRight"] = [CIVector vectorWithCGPoint:newRight];
 rectangleCoordinates[@"inputBottomLeft"] = [CIVector vectorWithCGPoint:newBottomLeft];
 rectangleCoordinates[@"inputBottomRight"] = [CIVector vectorWithCGPoint:newBottomRight];
 [image imageByApplyingFilter:@"CIPerspectiveCorrection" withInputParameters:rectangleCoordinates];

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
trymbillcommented, Oct 30, 2017

I would love to see this in there. OpenCV is a pretty big library so having it replaced with something that we get natively with iOS would be a huge bonus. Thanks for a great package!

1reaction
mikasjomancommented, Sep 2, 2017

Any progress on this? I am having major issues importing OpenCV to my project. It just wont build at all. Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a simple lane detection iOS app using OpenCV
In this post I will show you how to use OpenCV in an iOS app. We will create an iOS app that will...
Read more >
Collaborative List of Open-Source iOS Apps - GitHub
Open-Source iOS Apps. A collaborative list of open-source iOS , iPadOS , watchOS and tvOS apps, your contribution is welcome.
Read more >
Untitled
Iphone game hacks no survey, Prof obianyo, La chimie occulte pdf, ... Rambrouch code postal, Hp b209a parts, Certificate course in graphic design, ......
Read more >
OpenCV vs Core Image [closed] - ios - Stack Overflow
Core Image is a lot simpler than OpenCV in terms of coding, but I still see a lot of activity going on in...
Read more >
sitemap.xml - codeburst
... 1.0 https://codeburst.io/tagged/learning-to-code 2022-10-15 monthly 1.0 ... ://codeburst.io/integrate-react-native-into-an-existing-app-ios-87c947a16044 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found