Skip to main content

aicenter

A python based Soft IOC Server for Sample Alignment using a YOLO model.

Installation

python -m venv my-venv
source my-venv/bin/activate
pip install ai-center

To enabled downloading of the latest model file from HuggingFace, install with the [model] extra as follows:

pip install ai-center[model]

Running

To run the EPICS IOC directly, use the following command:

app.epics --device "AIC001" --model "/path/to/model.pt" --video "video_uri"

Command-line Arguments

  • --device: The EPICS root name of the device (e.g., AIC001 or AIC002). (Required)
  • --model: Path to the YOLO model file. If omitted, the latest model will be downloaded from HuggingFace. The model is about 50 MB in size.
  • --video: The URI for the video stream. (e.g., redis://hostname/0030180F06E5:JPG) (Required)
  • --confidence: Object detection confidence threshold. (Optional, default: 0.1)
  • -v: Enable verbose logging. (Optional)

Currently, only file://, redis:// and http[s]:// video schemes are supported

EPICS Process Variables

  • AIC001:enable: Set to 1/0 to Enable/Disable Inference
  • AIC001:loop:score: Score of best loop
  • AIC001:loop:box: Bounding Box of best loop
  • AIC001:loop:valid: 1 if best loop is still valid
  • AIC001:loop:id: id of best loop, not used at the moment
  • AIC001:crystal:score: Score of best crystal
  • AIC001:crystal:box: Bounding Box of best crystal
  • AIC001:crystal:valid: 1 if best crystal is still valid
  • AIC001:crystal:id: id of best crystal, not used at the moment
  • AIC001:pin:score : Score of best pin
  • AIC001:pin:box: Bounding Box of best pin
  • AIC001:pin:valid: 1 if best pin is still valid
  • AIC001:pin:id : ID of best pin, not used at the moment
  • AIC001:extra:box: Bounding Box array of extra Crystals (x1, y1, x2, y2) in sequence, length is 4 x number of extra crystals
  • AIC001:extra:score: Array of scores of extra crystals
  • AIC001:extra:valid: Array of validity of extra crystals, 1 if valid 0 if invalid
  • AIC001:extra:id: Corresponding IDs, of extra crystals (not used at the moment)

If you installed the [view] extra, you can also run the stand-alone inference viewer which displays the inference in a window as follows:

app.view --model "/path/to/model.pt" --video "video_uri"

Command-line Arguments

  • --model: Path to the YOLO model file. If omitted, the latest model will be downloaded from HuggingFace. The model is about 50 MB in size.
  • --video: The URI for the video stream. (e.g., redis://hostname/0030180F06E5:JPG) (Required)
  • --confidence: Object detection confidence threshold. (Optional, default: 0.1)
  • -v: Enable verbose logging. (Optional)

Metadata

Release files for ai-center 2026.8.2

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

Source distribution (sdist)

Source distribution for ai-center 2026.8.2
File Size Uploaded Provenance Actions
ai_center-2026.8.2.tar.gz 12.8 kB Without provenance Details for ai_center-2026.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-center 2026.8.2
File Interpreter ABI Platform Actions
ai_center-2026.8.2-py3-none-any.whl Python 3 none any Details for ai_center-2026.8.2-py3-none-any.whl

Total release size: 27.9 kB

Release files / ai_center-2026.8.2.tar.gz

Download URL ai_center-2026.8.2.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c7b223366061590e0cbee16aa2f5e9fa09e2bf83833a35764c051b053ae25845
BLAKE2b-256 checksum
How to use checksums
8e2657ca76aa4b66253619b8559a1756f956f0d5517e47ae119f4559929c9767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.7 Linux/7.1.6-201.fc44.x86_64

Release files / ai_center-2026.8.2-py3-none-any.whl

Download URL ai_center-2026.8.2-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
615c27f3a238c54a2af26069a0fd173886f52a87e67c64e2abaf136f5d59317e
BLAKE2b-256 checksum
How to use checksums
feb44a4bc284afc80256df61bba9cc6c9d82687c46d845d55be5fa0a3e01515a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.7 Linux/7.1.6-201.fc44.x86_64

Security for ai-center 2026.8.2

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