Android Question OCR ONLINE

llorenç Galofré

Member
Licensed User
I downloaded the OCR EXAMPLE application and I created a user account on OCRWEBSERVICE. After you install and run the program on a tablet with android the TOASTMESSAGE "Job completed" and then the TOASTMESSAGE "Error Internal Server" or sometimes "SocketError", so no text appears OCR appears. Any help can be valuable. Thank you.
 

Johan Schoeman

Expert
Licensed User
I downloaded the OCR EXAMPLE application and I created a user account on OCRWEBSERVICE. After you install and run the program on a tablet with android the TOASTMESSAGE "Job completed" and then the TOASTMESSAGE "Error Internal Server" or sometimes "SocketError", so no text appears OCR appears. Any help can be valuable. Thank you.
Did you register on the website and entered the registration info that you should have received via email in the B4A code?
 
Upvote 0

Johan Schoeman

Expert
Licensed User
I keep on getting this in the returned file - no recognised text...

B4X:
<?xml version="1.0" encoding="UTF-8"?>

-<soap:Envelope xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


-<soap:Header>

<wsa:Action>http://stockservice.contoso.com/wse/samples/2005/10/OCRWebServiceRecognizeResponse</wsa:Action>

<wsa:MessageID>urn:uuid:91ccf68f-6de1-4f00-9cf8-bd2f9d33c293</wsa:MessageID>

<wsa:RelatesTo>urn:uuid:7db1e302-5448-4058-b0f5-ca7caf677c4b</wsa:RelatesTo>

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>


-<wsse:Security>


-<wsu:Timestamp wsu:Id="Timestamp-83f9f187-a5e7-43ba-8a9e-89e6d1fe85e2">

<wsu:Created>2016-03-06T12:32:00Z</wsu:Created>

<wsu:Expires>2016-03-06T12:37:00Z</wsu:Expires>

</wsu:Timestamp>

</wsse:Security>

</soap:Header>


-<soap:Body>


-<OCRWebServiceRecognizeResponse xmlns="http://stockservice.contoso.com/wse/samples/2005/10">


-<OCRWSResponse>


-<ocrText>


-<ArrayOfString>

<string>No recognized text !</string>

</ArrayOfString>

</ocrText>

<fileName>1.txt</fileName>

<fileData>//4=</fileData>

<errorMessage/>

<ocrWSWords/>

</OCRWSResponse>

</OCRWebServiceRecognizeResponse>

</soap:Body>

</soap:Envelope>
 
Upvote 0
Top