I am developing a OCR app for scan IC card and passport.
Now I want to crop the IC card by detecting the edges.
For an example:
I have tried https://github.com/mmackh/IPDFCameraViewController but its not very accurate for white card on a white background.
I am searching for something like the "Border Detector" uses BlinkID ios library https://github.com/BlinkID/blinkid-ios
Can anyone suggest me a good library for live detecting borders of a image and crop.