
Today, we will introduce another very very useful feature of this scanner app, the OCR (Optical Character Reader) which extract text from scanner PDF and image files.

See details from this guide to scan paper documents to PDF using an iPhone. Or even easier, you can simply point and shoot, then the files will be saved as PDF doc directly without any conversion process. Check out this tutorial to convert photos, pictures to PDF on iPhone. All these can be done very easily on iPhone using a scanner app. Launch the Camera app on iPhone, take a picture of any thing you like, business cards, magazines, documents, books, receipts, whiteboards, paper notes, articles, then convert them into PDF and send to anyone you like to share with. To prove the efficiency of combining Dynamsoft barcode and OCR SDKs, we can make a simple experiment by rotating a barcode label image.Īs long as there is a barcode exists, the text aside can be successfully recognized.You have a scanner when you have your iPhone. FreeDLRResults ( & pDLRResults ) if ( resultArray ) CBarcodeReader :: FreeTextResults ( & resultArray ) Label OCR Test by Orientation GetAllDLRResults ( & pDLRResults ) if ( pDLRResults != NULL ) dlr.

No dependencies required.Ī basic template file for DLR runtime settings taking advantage of barcode results is as follows:ĭLRResultArray * pDLRResults = NULL dlr. To parse JSON in C++, we use json.hpp, which is a single header file for easy integration. A New OCR Approach: Text Recognition by Barcode Orientation Detectionīoth Dynamsoft Barcode SDK and Dynamsoft OCR SDK support JSON-formatted template import.

price tag) which is hardly recognized by general open source or commercial OCR SDK. This article will demonstrate how to build a C++ command-line application to recognize a rotated barcode label (e.g. In case of text around barcode, the combination of Dynamsoft Label Recognition(DLR) and Dynamsoft Barcode Reader(DBR) is proposed as an ideal OCR solution. If a text image file is rotated by 90°, 180° or 270°, and there is no EXIF information, it would be challenging to doing text recognition. The accuracy of optical character recognition (OCR) is sensitive to text orientation.
