Repository navigation
·
2 commits
to arabic_ocr
since this release
Arabic OCR
1. country code details
String countryCode = null;
if (countryId == 9) countryCode = "KWT";
else if (countryId == 26) countryCode = "BHR";
To use method 1
- Add below library using jcenter()
implementation 'com.amitshekhar.android:android-networking:1.0.2'
use method 2
//Require below two details for Arabic api
Map<String, String> jsonObject = new HashMap<>();
jsonObject.put("country_code", countryCode);
Map<String, File> multiPartFileMap = new HashMap<>();
multiPartFileMap.put("file", imageFile); // front or back image as upload file options
// Used other method or library