Log In Register
c
After 2020-05-14 all API request will require api_key parameter. Please register to get your key
OCR API has been temporarily disabled. Due to unknown bug it caused constant server overloads.
We are investigating the bug. Feel free to conact us on our github for more information.
We are sorry for the inconvenience.
Please use subscribe function on the bottom of the page to stay informed.
Ova funkcija pretvara sliku
Zahtjevi se mogu izvoditi pomoću HTTP GET ili HTTP POST metoda. Odgovor je uvijek u JSON formatu.
parametar vrijednost opis
jedan od njih
je potreban
file Datoteka za prijenos. Upotrijebite metodu POST
url URL za prijenos
format Izlazni format
language Jezik
api_key You API key. Register to get your key

zahtjev

odgovor

Kliknite POST ili GET da biste vidjeli odgovor

moguće pogreške

R7ERR_UPLOAD_FAILED Prijenos nije uspio R7ERR_NO_UPLOAD Nijedna datoteka nije navedena R7ERR_OVER_20MB Prenesena datoteka bila je veća od 20 MB R7ERR_CONV_FAILED OCR konverzija nije uspjela

uzoraka koda

Ispod se uzoraka koda automatski ažuriraju kada promijenite gore navedene parametre
curl
wget
aria2
php
javascript

curl, method POST


	
	

curl, method GET


wget, method POST


	
	

wget, method GET


aria2, method GET

		

php, method GET



	

php, method GET, using curl


	
	

php, method POST, using curl


javascript, method GET, using XMLHttpRequest

			
			
	

javascript, method GET, using jquery