I am developing an app that i want auto-captures a business card using custom android camera and then i need to autocrop the unwanted space in android and then store the image .

asked 2017-07-25 01:47:53 -0500

I can probably try something like this:

1) Get an edge map of the image (perform edge detection)

2) Find contours on the edge map. The outermost contour should correspond to the boundaries ofbusiness card. (under assumption that the business card image is against a solid background) This will help to extract the business card from the image.

3) Once extracted i can store the image separately without the unwanted space.

edit retag flag offensive close merge delete

Comments

what have you tried, so far ?

berak gravatar imageberak ( 2017-07-25 02:02:51 -0500 )edit

My camera Have the feature to capture an image then crop it but i want to auto capture and auto crop wd some kind of edge Detection

Rawal Hussain Khan gravatar imageRawal Hussain Khan ( 2017-07-25 02:31:44 -0500 )edit

really, this is sort of a "solved problem". please use the search box.

berak gravatar imageberak ( 2017-07-25 02:49:31 -0500 )edit

kindly suggest me

Rawal Hussain Khan gravatar imageRawal Hussain Khan ( 2017-07-25 03:33:09 -0500 )edit

Actually i want it specifically for Business card

Rawal Hussain Khan gravatar imageRawal Hussain Khan ( 2017-07-25 03:34:16 -0500 )edit

we can help you with an opencv problem, but we won't do your research.

(really, there's like 10000 already existing android solutions for this already)

berak gravatar imageberak ( 2017-07-25 11:48:31 -0500 )edit