Home | JavaScript | Development | Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
 

Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0

 
FREE DOWNLOAD
Download Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
BUY NOW
Buy Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0


This technical tip allows developers to extract image text from remote image URL using Saaspose.OCR REST API in their Java applications.
Sample Code for Extracting Image Text from Remote Image URL
//build URI to extract text
String strURI = "";
strURI = "http://api.saaspose.com/v1.0/ocr/recognize?url=http://s017.radikal.ru/i406/1202/7b/70183bef7a09.jpg&language=english&useDefaultDictionaries=true";
//sign URI
String signedURI = Sign(strURI);
InputStream responseStream = ProcessCommand(signedURI, "POST");
String strJSON = StreamToString(responseStream);
OCRResponse ocrResponse = gson.fromJson(strJSON, OCRResponse.class);


for (Part part : ocrResponse.getPartsInfo().getList())
{
System.out.println("Text: " + part.getText());
System.out.println("Font Name: " + part.getFontName());
System.out.println("Font Size: " + part.getFontSize());
System.out.println("Bold: " + part.getBold());
System.out.println("Italic: " + part.getItalic());
System.out.println("Underline: " + part.getUnderline());
}


//Here is the OCRResponse class
public class OCRResponse extends BaseResponse
{
private String Text;
private OCREnvelop PartsInfo;
public String getText() { return Text; }
public OCREnvelop getPartsInfo() { return PartsInfo; }
}


//Here is the OCREnvelop class
public class OCREnvelop
{
private List<Part> Parts;
public List<Part> getList() { return Parts; }
}


//Here is the Part class
public class Part
{
public Part() { }
private String FontName;
private float FontSize;
private boolean Bold;
private boolean Italic;
private boolean Underline;
private String Text;
public String getFontName() { return FontName; }
public float getFontSize() { return FontSize; }
public boolean getBold() { return Bold; }
public boolean getItalic() { return Italic; }
public boolean getUnderline() { return Underline; }
public String getText() { return Text; }

Tags: Image Text Extraction From Remote URL, Extract Image Text From Remote Image, OCR Service, Saaspose OCR API

Platforms: Unix , Windows 2000 , Windows XP , linux

Price: $15.00

 
Added: 31 December, 2012 05:35 File size: 1.5 MB
Status: new Download times: 56 kb/s: 03 m 40 s
Program type: shareware   128 kb/s: 01 m 36 s
      512 kb/s: 24 s
 
del.icio.us digg submit to reddit MyWeb BlogMarks
  
URL:  HTML:  
FREE DOWNLOAD
Download Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
BUY NOW
Buy Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0

Tags: Image Text Extraction From Remote URL, Extract Image Text From Remote Image, OCR Service, Saaspose OCR API

More Scripts from Saaspose:


 
More Similar Scripts
 

A highly customizable PHP CAPTCHA class for generating CAPTCHA images to prevent programs from filling out your forms. This does everything from create and output the image, to validate the code entered by the user in the form. Support for...

Some important steps for performing this task is to build URI for reading barcode, sending the request to Saaspose server, parse and Deserializes the JSON to an object and display the value and type of all the recognized barcodes.

Allows a page to include a remote URL in itself. One of its uses is to get a block of HTML from a remote ad server that includes a link to the advertiser, the ad image, some accompanying text and even scripts and applets.

Other Features: customize your XML list of image transitions using the Image Transitions Generator from below; customize your XML list of text effects using the Text Effects Generator from below; the images can be showed as bestFit, boxFit or...

Other Features: customize your XML list of text effects using the Text Effects Generator from below; customize your XML list of image transitions using the Image Transitions Generator from below; customize a lot of properties in the full screen...

FREE DOWNLOAD
Download Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
BUY NOW
Buy Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
 
Similar Software
 

Morena 6 is Image Acquisition Framework for Java Platform - a bridge between the image acquisition hardware (scanners, cameras) and Java world. To communicate with the hardware, it uses standard interfaces - Twain for Mac OS X and Windows, and...

The Vertical Bar Graph API is a Java Bean Component. Designed specifically to enable programmers to easily add powerful graphing functionality to any form of Java application Download the Free Trial today for access to:- - Documentation - Code...

Cross-platform library providing comprehensive image and video capture API for Java applications. The library provides ability to capture full screen, including multiple monitors capture, active windows, windows that are located outside the...

A package which enables you to connect to a scanner or camera directly from your Java application. You can use one code to acquire images from the Twain as well as from the SANE drivers. The image acquisition is very intuitive with the Morena API....

Java library, integrating Microsoft IE into Java apps as Java Swing UI component in headless mode, which allows to embed it into UI to manipulate programmatically without specific knowledge of COM or the Microsoft Internet Explorer API. The...

FREE DOWNLOAD
Download Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
BUY NOW
Buy Image Text Extraction from Remote Image URL by REST API in Java Apps 1.0
Scripts Categories
Related Scripts

Securimage PHP CAPTCHA 1.0.2
3 downloads A highly customizable PHP CAPTCHA class for generating CAPTCHA images to prevent programs from filling out your forms.

 

Read & Recognize Barcode from External Image URL Using REST API
5 downloads

 

include_url.java 1
1 downloads Allows a page to include a remote URL in itself.

 

Flexible Media Gallery FX 1
1 downloads Other Features: customize your XML list of image transitions using the Image Transitions Generator from below; customize your XML list of text effects using the Text Effects Generator from below; the images can be showed as bestFit, boxFit or forceFi

 

Photo Gallery FX 1
1 downloads Other Features: customize your XML list of text effects using the Text Effects Generator from below; customize your XML list of image transitions using the Image Transitions Generator from below; customize a lot of properties in the full screen confi

 

Creative TextFX 1.0.0
1 downloads Create stunning Text Effects from FLASH.

 

Gears.IFilterHelper 1. 1. 2005
1 downloads Text extraction is a task that many developers face every day.

 

External XML Image Gallery - Highly Customizable 1
1 downloads Features: XML file config; Gallery size - change from XML (width and height); Thumbs image location - change from XML (up, down, left, right); Thumbs image size - change from XML(width and height); Two thumbs image space - change from XML; Descriptio

 

Recover Deleted Text Messages 3.0.1.5
1 downloads Deleted SMS recovery program provide a flexible solution for rescue of lost details like recent call details (dialed, missed, received), text messages (from inbox, outbox and drafts) or either whole phone book from the memory of sim cards.

 

Cgi Ftp Script 1.2
94 downloads CGI FTP script runs from the browser and will

 
Popular Scripts
Latest Scripts Search