🖼️Image To Text
1. Create task
Name
Type
Description
{
"Code": 0,
"TaskId": 1234,
"Message": "OK"
}const axios = require('axios');
let data = JSON.stringify({
"apikey": "PKG.bjhfweb7rf236rfg7237rg4273uh3br273rg47",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEU"
});
let config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://api.mrccaptcha.com/captcha/Recognition',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});2. Get task result
Name
Type
Description
Last updated