Experiencing slow processing speed

  • 14K Views
  • Last Post 24 July 2014
Rune A posted this 11 March 2013

Using the PHP sample code I wait 15-30 sec for a response. Tried both with your sample images as well as my own in different sizes. I need max 10 sec wait to fit our requirements, is that possible with ocrsdk?

Natalia Karaseva posted this 24 July 2014

Yes, it is possible to procees images within the 10 sec range.

The processing time depends on the image you recognize, the settings you use and the internet connection speed.

For example there are some settings to increase the speed of the processImage method:

  • set profile=textExtraction (in this case the document appearance and structure are ignored, pictures and tables are not detected);
  • set imageSource=scanner, if you recognize images from scanner, not from digital camera (in this case some types of geometrical distortion is not corrected);
  • set correctOrientation=false and correctSkew=false, if there is no need to rotate your image;
  • set readBarcodes=false (by default it is true if you use export to XML).

Close