Skip to main content

Install and verify

Install the SDK. Note that Python 3.9+ is required.
Confirm the version with pip show perceptron. Next, configure credentials and run a simple query.
The decorator compiles the Task JSON, sends the request, and returns a PerceiveResult object containing text, optional points, parsed segments, any errors, and the raw provider payload. Call result.points_to_pixels(width, height) when you need pixel-space coordinates from the normalized 0–1000 grid (more on this here).

First-run checklist

  • caption("drone.png").text returns content with no exception.
  • caption("drone.png").errors is empty (or populated with expected warnings).
  • Outbound network access to https://api.perceptron.inc succeeds.
  • Logs show retries or timeouts only when expected.

Troubleshooting reference

Looking for other languages or SDKs? Tell us in Discord so we can prioritize official releases.