![]() ![]() ![]() OutputStream dout = hc.openOutputStream() īut even with this code its not working. Hc.setRequestMethod(HttpConnection.POST) Hc.setRequestProperty(PARAM_APIKEY, key) */ Hc.setRequestProperty(PARAM_LANGUAGE, lang) Hc.setRequestProperty("Content-Type", "multipart/form-data boundary=" + BOUNDARY) *hc = (HttpConnection) Connector.open(SERVICE_URL) Hc.setRequestProperty("Content-Type", "multipart/image-JPG boundary=" + BOUNDARY) Hc = (HttpConnection) Connector.open(serverUrl+"/processImage/"+"language=en&exportFormat=txt") Static final String BOUNDARY = "-V2ymHFg03ehbqgZCaKO6jy" īyteArrayOutputStream bos = new ByteArrayOutputStream() Till now I have searched and found out that there are few online API's like ABBY which allows to read image and returns text file, but they are not free, after a few trails they charge a amount.Ĭan I perform Optical character recognition on device end completely with server implementation.ĮDITED: I am working with the following code public String serverUrl = "" ![]() I am working on core application in blackberry in which I need to perform OCR task. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |