Free plan

Read checkboxes

Find which tick boxes on a form picture are ticked
POST
/v1/images/checkboxes

About this tool

Looks at a scan or photo of a form, finds the small tick boxes and tells you which are ticked and which are empty, with where each one is. You can also get the picture back with green frames on ticked boxes and red frames on empty ones. Clear, straight scans work best.
For example, you photograph a paper survey and check which answers people ticked.

How to use it

  1. Choose this tool.
  2. Add a picture or scan of your form with Upload or drag and drop.
  3. If you want a marked picture, turn on the option to draw frames.
  4. Press Generate.
  5. Read the list on screen or download the marked picture.

What you get back

You get a list of the boxes found, ticked or empty, and optionally a marked picture you can download.
GOOD TO KNOW
Finds empty square frames; round boxes and boxes without a frame are not found. Counts as one image per picture.
TEST IT LIVE

Try Read checkboxes in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/checkboxes
Tool ID
images.checkboxes
Authentication
API key
Accepts
JPEG, PNG, WEBP, GIF, AVIF, TIFF +15 more
Background jobs
Yes
Usage group
Image
For developers

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;
FAQ

Frequently asked questions

Find the checkboxes of a form picture and say which are ticked, with their position, size and how full they are; optionally the picture marked with green (ticked) and red (empty) frames.

Read checkboxes accepts JPEG, PNG, WEBP, GIF, AVIF, TIFF, SVG, SVGZ, BMP, ICO, APNG, PNM and 9 more. You can send several files in one request.

Read checkboxes is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/images/checkboxes with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.