Skip to main content

ARCOR2 Calibration service

Example configuration

id: Arbitrary text
marker_size: 0.1
markers:
  10:
    pose:
      position:
        x: 0
        y: 0
        z: 0
      orientation:
        x: 0
        y: 0
        z: 0
        w: 1

Environment variables

  • ARCOR2_CALIBRATION_URL=http://0.0.0.0:5014 - by default, the service listens on port 5014.
  • ARCOR2_CALIBRATION_DEBUG=1 - switches logger to the DEBUG level.
  • ARCOR2_CALIBRATION_MOCK=1 - the service will start in a mock (simulator) mode.
  • ARCOR2_REST_API_DEBUG=1 - turns on Flask debugging (logs each endpoint call).

Changelog

The format is based on Keep a Changelog,

[1.2.0] - 2024-04-11

Changed

  • Updated dependencies, switched to Python 3.11.

[1.1.0] - 2024-02-07

Changed

  • Markers used to be from 7x7 dictionary, which is unnecessarily large, now a 4x4 dictionary of size 50 is used (use marker IDs 0..49).

[1.0.0] - 2023-02-14

Changed

  • Marked as a stable version.
  • Health check end-point changed to /healthz/ready.

[0.9.0] - 2022-10-28

Changed

  • Switched to Python 3.10, updated dependencies.

[0.8.0] - 2022-09-15

Changed

  • BREAKING: Implement new error handling flow. Error codes of every endpoint were replaced with error types as described in swagger documentation.
  • Updated to reflect changes in cv2.aruco.

[0.7.0] - 2021-10-25

Changed

  • New environment variables:
    • ARCOR2_CALIBRATION_DEBUG to turn on debugging.
    • ARCOR2_CALIBRATION_MOCK to start in mock mode.

[0.6.1] - 2021-07-29

Fixed

  • Handle invalid input parameters (camera matrix).
  • Scale down images to a common resolution before computing blur score.

[0.6.0] - 2021-06-11

Changed

  • Improved quality estimation (take orientation into account).
  • Reject blurry images.

[0.5.0] - 2021-05-21

Changed

  • PUT /calibrate/camera now returns EstimatedPose (pose + quality).

Fixed

  • Command line arguments fixed.
    • It is mandatory to provide -c (path to a configuration file) or one of -s (prints OpenAPI) or -m (start as mock).

[0.4.0] - 2021-04-26

Changed

  • The service now requires YAML configuration file where placement of markers is specified.
  • There might be 1-n markers in an arbitrary pose.
  • At least one of the configured markers should be visible.
  • Un-configured markers are ignored.
  • Estimated poses of the camera from multiple detected markers are so far simply averaged.
  • The average is weighted according to the camera-marker distance.

[0.3.0] - 2021-03-30

Changed

  • PUT /calibrate/camera now has inverse parameter.

[0.2.0] - 2021-02-08

Changed

  • Part of the code refactored into arcor2/flask.py.
  • API for getting pixel coordinates of markers corners.
    • Approx. three times faster than camera calibration.

[0.1.1] - 2020-12-14

Changed

  • Bump version to allow reupload to pypi

[0.1.0] - 2020-12-14

Changed

  • Initial release of the package.
  • Support for camera calibration.
  • Support for robot calibration.
    • URDF model of the robot needed.
    • Requires depth camera (e.g. Kinect).
  • --mock argument to start the service in a simulation mode.

Metadata

Release files for arcor2-calibration 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcor2-calibration 1.2.0
File Size Uploaded Provenance Actions
arcor2_calibration-1.2.0.tar.gz 13.1 kB Without provenance Details for arcor2_calibration-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arcor2-calibration 1.2.0
File Interpreter ABI Platform Actions
arcor2_calibration-1.2.0-py311-none-any.whl Python 3.11 none any Details for arcor2_calibration-1.2.0-py311-none-any.whl

Total release size: 26.3 kB

Release files / arcor2_calibration-1.2.0.tar.gz

Download URL arcor2_calibration-1.2.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4896512be28a70dba3f18cb42efa17f5e963029b28da0018b66a4d9fff5aebcb
BLAKE2b-256 checksum
How to use checksums
1e2193c07b1042f2cc8d3a828ff5993bbaa8aba7aca4701474453bfce9dd830f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / arcor2_calibration-1.2.0-py311-none-any.whl

Download URL arcor2_calibration-1.2.0-py311-none-any.whl
Size 13.1 kB
Tags Python 3.11
SHA-256 checksum
How to use checksums
0eef32381e6fb68579d58d80a22c0794d5d937fb11d24f30bf910030161c5dba
BLAKE2b-256 checksum
How to use checksums
00cc3ea0fba317bcd6033cf4db31fa1a21eff36b93de50497593a0fc7a53358b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for arcor2-calibration 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page