How to Use Blank Page Detection on Scanned Documents

Are all of these blank pages?

Blank page detection is an important step in most document imaging workflows. For example, it can be used to help end-users make sure they have their paper facing the correct way and inform them when they’ve done something wrong. For a more automated solution, blank pages can be removed to save on disk space and bandwidth.

However, the difficulty with blank page detection is that it can be a bit subjective. Humans can quickly perceive a blank page because we see that the page doesn’t have any text on it. But what does a computer do with a text-less page with lines, noise, borders and the like?

LEADTOOLS accounts for these discrepancies and provides an extremely accurate and configurable blank page detection algorithm. Its flags include options for detecting lines, noise, setting specific margins and more.

C#
1
2
3
4
5
6
7
8
9
10
11
12
//create a new command
BlankPageDetectorCommand blankPageCom = new BlankPageDetectorCommand();
//default flags are DetectEmptyPage | DontIgnoreBleedThrough | DontDetectLinedPage |
// DontUseActiveArea | UseDefaultMargins
blankPageCom.Flags = SetFlags();
blankPageCom.LeftMargin = (int)leftMarginUpDown.Value;
blankPageCom.RightMargin = (int)rightMarginUpDown.Value;
blankPageCom.TopMargin = (int)topMarginUpDown.Value;
blankPageCom.BottomMargin = (int)bottomMarginUpDown.Value;
blankPageCom.Run(viewer.Image);
MessageBox.Show(string.Format("Is Blank: {0}", blankPageCom.IsBlank));

For a complete example, check out the original forum post.

Posted in Document Imaging | Tagged , , , , , , , | Leave a comment

LEAD Technologies and National Health IT Week 2014

Once again, LEAD Technologies is proud to be a part of the 9th annual National Health IT Week (September 15 – 19, 2014). Last year, over 375 organizations participated and 2014 is projected to have over 400 partners. LEAD Technologies joins with the other hundreds of companies around the country to celebrate progress and add to the conversation of how Health Information Technology is growing and improving people’s health.

At its core, healthcare is performed by the many great doctors, nurses, EMTs, radiologists, and more that are directly serving their patients. However, every great front-line worker has a great supporting cast, within which Health IT gets to play a major role. The successful application of medicine and care is greatly enhanced through Electronic Health Records (EHR), Picture Archival and Communication Systems (PACS), advanced imaging technologies, infrastructure and so on. These important pieces of the overall healthcare system provide improved patient safety, fewer medical errors, earlier detection, and stronger patient/provider relationships.

LEAD Technologies’ Contribution to the Healthcare Industry

LEAD Technologies, Inc. provides a variety of products and services that are advancing Health IT.

LEADTOOLS Medical Imaging SDKs

Our primary product, LEADTOOLS, is a family of imaging toolkits for Medical, Document, Raster and Multimedia imaging. Our Medical Imaging, PACS Imaging, and Medical Imaging Suite developer toolkits are revered as some of the most heavily awarded, programmer-friendly, fully-featured and best-selling toolkits in the world. With comprehensive DICOM and PACS technology along with high-end 2D and 3D viewer controls with support for .NET, CDLL, HTML5 / JavaScript, WinRT, iOS, OS X, Android and more, LEADTOOLS lives up to its reputation as the World Leader in Imaging SDKs.

Beyond our medical product line, the document and multimedia products we provide have their place in Health IT as well. OCR, Forms Recognition, Barcode, PDF, Video Streaming and more are all part of a global healthcare infrastructure that is more organized, digital and connected than ever before.

Medicor Imaging

Medicor Imaging is a division of LEAD Technologies created to provide the medical imaging community with products and professional services that will help facilitate a more rapid transition into the digital era. Powered by LEADTOOLS, Medicor Imaging’s DICOM and PACS solutions (i.e. MiPACS) are used world-wide in Multi-Clinic Dental Organizations, Schools, ENT Practices, Hospitals, Imaging Centers and the US Department of Veteran Affairs.

Posted in Medical Imaging | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

EuroTrip 2014

Once again, LEAD will be sending our sales and support personnel throughout Europe to catch up with customers and channel partners. This year the trip will include a stop at a developer tradeshow in Germany as well as several free LEADTOOLS presentations/workshops for any and all developers interested in checking out our award-winning imaging SDKs. See the itinerary below to find the time and location most convenient to you and contact Eurotrip2014@leadtools.com to reserve your spot.

Itinerary

At each of these events, existing and potential customers are all invited to attend. Please contact Eurotrip2014@leadtools.com to reserve a spot or arrange a meeting.

  • 9/23 — BASTA show in Mainz, Germany, co-exhibiting with Unirent, our partner for Germany, Switzerland and Austria since 1993
  • 9/25 — Free product demonstration & workshop at the offices of PDS in Culemborg, Netherlands, our partner for the Netherlands/Benelux region since 1994
  • 9/25 — A visit to Reading, UK based ComponentSource, our global distributor since 1995
  • 9/30 — Free product demonstration & workshop in downtown London sponsored by DSCallards, partner for UK and Ireland since 1996
  • 10/2 — Free product demonstration & workshop at the Madrid offices of Danysoft, our partner for Spain, Portugal and South America since 1994

Posted in Marketing | Tagged , , | Leave a comment

Visual Studio Live! (part of Live! 360) Orlando 2014 Early Registration Discount

As summer winds down and our family vacations and travels come to an end, many corporate events are starting to pick up. LEAD Technologies has a busy fall and winter coming up, and one of the shows we are attending is offering a hefty discount to those who register early. LEAD will be exhibiting at Visual Studio Live!, which is one of several simultaneous shows within the greater Live! 360 event. We’re passing along the good news and hope to see you there!

Out-of-this-World Training: 5 Events for the Price of 1 Taking place Nov 17 – 21 in sunny Orlando, Live! 360 offers 180+ sessions for IT Pros, DBAs, Analysts, Developers and more on the most relevant topics affecting your business today. Mix and match sessions from Visual Studio Live!, TechMentor, SharePoint Live!, SQL Server Live!, and Modern Apps to create your own, custom agenda. Join us in Orlando Nov 17 – 21, and save $600 with the priority code LSE07!

The Code is Strong with This One: Searching for real-world, practical information and training on the Microsoft Platform? For 21 years and counting, Visual Studio Live! has been the conference that more developers, engineers, programmers and designers rely on to expand their .NET skills and the ability to build better applications. With 60+ sessions led by industry experts and Microsoft insiders, the Code is indeed strong with this one. Plus as a part of Live! 360, you’ll get access to 4 other co-located conferences at no additional cost. Join us in Orlando Nov 17 – 21, and save $600 with the priority code LSE07!

Click here for more information on Live 360! Orlando 2014

Click here to register early with your $600 discount

Posted in Marketing | Tagged , , , , , | Leave a comment

Using LEADTOOLS HTML5 with Intel XDK to Create Cross-platform Mobile App

The LEADTOOLS HTML5 / JavaScript interface was built with more than just web-based, cross-platform application development in mind. Did you know you can also create native and hybrid apps that can be published to mobile application stores for iOS, Android and Windows Phone? That is actually the case for almost any HTML5 application, but there are libraries and tools that help make that process easier.

One such tool is Intel XDK. In the same way that LEADTOOLS expedites and simplifies all of your imaging requirements such as display, annotations, OCR, barcode, DICOM, PACS and more, Intel XDK helps with the deployment and device integration aspect. Need access to the camera, local files and more? Want to write only one application and deploy it to multiple app stores? This is all possible with Intel XDK, and LEADTOOLS plugs into this innovative development environment without a hitch.

One of our support agents took a crack at this and has written a tutorial and downloadable example of using LEADTOOLS HTML5 / JavaScript SDK with Intel XDK. For more information and to download the source code, check out the original forum post.

Posted in HTML5 | Tagged , , , , , , , , | Leave a comment

Using TwainSession.SaveTemplate to Save a Subset of Settings

Saving the settings of your TWAIN device is a very important feature which is fully supported by LEADTOOLS. For the end-user, it allows them to load and save different scanning profiles and options they use on a regular basis such as “high resolution color photo”, “medium quality black and white document”, or “auto-cropped receipt”. One caveat to this feature is that it saves all of the settings, which comes with a few downsides:

  1. Large template files
  2. Longer execution time
  3. Most importantly…That template file will only work on one scanner

To alleviate these problems, LEADTOOLS now has a new overload for its TwainSession.SaveTemplateFile function which allows you to save a subset of settings rather than the entire collection. As long as you are saving core, mandatory settings that are supported by all TWAIN scanners, you can use these templates regardless of the hardware device being used!

C#
1
2
3
4
5
6
7
int[] nCapabilitiesToSave = { (int)TwainCapabilityType.ImagePixelType,
(int)TwainCapabilityType.ImageXResolution,
(int)TwainCapabilityType.ImageYResolution };
_twSession.SaveTemplateFile(saveDlg.FileName,
nCapabilitiesToSave,
SaveCapabilityOptions.Current);

For a complete example, check out the original forum post.

Posted in TWAIN Scanning | Tagged , , , , , , | Leave a comment

Customer Success Story: Power Class 360

In its nearly 25 year history, the number of customers and people that have used LEADTOOLS is near impossible to count. Sometimes our product makes a profound impact on a customer and they want the world to know. Our latest customer success story comes from Power Class 360, a non-profit organization dedicated to education.

As a non-profit organization looking to help shape our country’s young ones for the better, we got behind their cause and donated a copy of our LEADTOOLS Document Imaging SDK. With LEADTOOLS, Power Class 360 was able to successfully modernize the classroom with a digital transparency and document management system complete with Annotations, HTML5 and more.

Click here to read the full story!

If you have a success story of your own that you’d like to share, we’d love to hear from you! Please send an email to marketing@leadtools.com to set up an interview.

Posted in Marketing | Tagged , , , , | Leave a comment

Simplified ASP.NET Web Forms OCR Demo

HTML5 is certainly the way of the future, but as many web developers know, adoption can be slow. In many cases, older browsers such as IE8 is still in use enterprise-wide and a lightweight, feature packed solution is still required. LEADTOOLS pioneered lightweight ASP.NET Web Forms imaging years ago and is still a popular choice. Though not as flashy and responsive as HTML5, the heavy-lifting jobs such as Optical Character Recognition (OCR) are still done on the server side.

In the following example, you’ll see how to add OCR functionality and image display into your ASP.NET Web Forms application.

ASPX

XHTML
1
2
3
4
5
<%@ Register Assembly="Leadtools.Web" Namespace="Leadtools.Web.Controls" TagPrefix="ltwf" %>
...
<ltwf:WebImageViewer ID="WebImageViewer1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Recognize" OnClick="Button1_Click" />
<asp:TextBox ID="RecText" runat="server" TextMode="MultiLine"></asp:TextBox>

ASPX Code Behind

C#
1
2
3
4
5
6
7
8
IOcrEngine ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.Professional, true);
ocrEngine.Startup(null, null, null, null);
using (Leadtools.Forms.Ocr.IOcrDocument document = ocrEngine.DocumentManager.CreateDocument())
{
document.Pages.AddPage(strFileName, null);
RecText.Text = document.Pages[0].RecognizeText(null);
}
ocrEngine.Shutdown();

For a complete example, check out the original forum post.

Posted in OCR | Tagged , , , , , , , , , | Leave a comment

New White Paper: DICOM Media Creation Management Solutions with LEADTOOLS

If you’ve ever had an MRI, CT or large number of X-rays during a medical visit, chances are you hoped to get a copy of your images to show your family, friends or another doctor. Not too many years ago you might get lucky and take home a huge film sheet to hold up against a bright light. Thankfully, today’s digital world has made it more practical by storing your study on a CD or DVD with an embedded viewing application. If this service is available, some hospitals may hand them out as common practice while others may only provide it upon request.

Unfortunately this capability is not as common as you would think. Unbeknownst to many in the medical imaging sector are the numerous benefits that go beyond the basic take-home copy for patients. Check out our latest white paper which helps explain what DICOM Media Creation Management is and does, and how LEADTOOLS can help you along the way.

DICOM Media Creation Management Solutions with LEADTOOLS
It goes without saying that the DICOM specifications are massive and can be difficult to implement on your own. There are a wide variety of products for software developers, end-users and integrators that make DICOM and PACS more accessible and user-friendly. However, even among SDKs there are many features within the DICOM specifications that get overlooked or cast aside. One such feature is DICOM Media Creation Management. This white paper will demonstrate how to use the comprehensive DICOM and PACS functionality in LEADTOOLS to easily add DICOM Media Creation Management to your application.

We have also published this white paper on The CodeProject if you would like to read it in an online format.

Posted in PACS | Tagged , , , , , , , , , | Leave a comment