Read checkboxes
About this tool
How to use it
- Choose this tool.
- Add a picture or scan of your form with Upload or drag and drop.
- If you want a marked picture, turn on the option to draw frames.
- Press Generate.
- Read the list on screen or download the marked picture.
What you get back
Try Read checkboxes in the Studio
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/images/checkboxes" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'images=@photo.jpg' \
-F 'min_size=12' \
-F 'max_size=80' \
-F 'threshold=1'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.checkboxes({
"images": 'photo.jpg',
"min_size": 12,
"max_size": 80,
"threshold": 1
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->checkboxes([
'images' => 'photo.jpg',
'min_size' => 12,
'max_size' => 80,
'threshold' => 1,
]);
echo $result->requestId;