Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, October 3, 2013 5:34:00 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

The attached project is a Console application using C#, Visual Studio 2010, and LEADTOOLS .NET Library version 18.0.

The redacted document could be any of the LEADTOOLS supported formats using the LEADTOOLS Redaction Annotations.

The strategy that was used:

- Input: A file containing LEADTOOLS Annotations. The annotations can either be stored in a separate file or within a TIFF tag if the document is a TIFF document.
- The application attempts to load the annotations into memory from either location.
- Once read into memory, the application enumerates each annotation obtaining its location on the image.
- Using the location it fills in the area of the image under the annotation with a solid white rectangle. This essentially “erases” the word from the document.
- It runs this document through our OCR so all words are recognized minus the words that were redacted ("erased").
- Using the same function which erased the words, instead of filling in the rectangle with white, it fills the rectangle with black, thereby making it appear redacted, when in fact it has simply been drawn over.
- It then updates the image the OCR will use to save the results of the recognition with the image containing the black rectangles.
- Finally the results are saved to disk. The PDF will contain the searchable text (excluding the redacted words) and the image displayed will be the image with the black rectangles representing the redactions.

File Attachment(s):
NET - V18 - How to OCR redacted documents.zip (142kb) downloaded 91 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.049 seconds.