Given this image link as my input image:
How can I possibly crop the image using C# and Image Processing Techniques so I could only get the Rounded Rectangular area with the recipient's details, the fastest way possible?
As of now, I'm using AForge.NET, and I'm still stuck at using Histogram Equalization as shown:
Thanks!
I would start with the otsu threshold ( link ):
After, you can do blob detection , iterate through all detected blobs and merge two blobs whether the distance between any of its edges is less than some fixed value. This will give you two blobs, one containing address information and second containing "if undelivered...". You chose the blob with the greatest area.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.