printobserver-panels 0.20.0

Camera calibration, drift and alignment checks, and the check image's panels, for printobserver.
Documentation
//! `printobserver-panels`.
//!
//! Owns: what lets a print check show the agent the current layer's planned
//! toolpath where it sits in the camera's own view — one printer's camera
//! calibration file and its fisheye projection ([`calibration`]), the check
//! that the camera has not moved since ([`drift`]), the per-print check that
//! the projection lands on the printed first layer ([`alignment`]), and the
//! check image's three panels and their drawing ([`compose`]), panel 1's
//! plan of the current layer, its colours and its text ([`panel_one`]), what
//! the head and gantry hide of it wherever they stand ([`occlusion`]), whether the view still matches the print's correction
//! ([`view`]), the measurement of whether the parts grew since an earlier
//! frame ([`growth`]), the camera's alignment judged on the empty build
//! sheet before a print ([`sheet`]), the whole camera frame scaled to a check's bound
//! ([`whole_frame`]), and a look at the printer's image of the whole frame over a
//! close-up of the sheet's edges and clips ([`sheet_edges`]).
//!
//! May depend on: `printobserver-types`; `printobserver-vision-api`, whose
//! validated web address the calibration's snapshot URL is held to; and
//! `printobserver-core`, whose
//! planned geometry — object outlines and a layer's toolpath in bed
//! millimetres ([`printobserver_core::toolpath`]) — it draws; the core alone
//! reads G-code, and this crate never sees a G-code line. It needs no
//! `OpenCV`. Never an implementation crate.

pub mod alignment;
pub mod calibration;
pub mod compose;
pub mod drift;
pub mod error;
mod geometry;
pub mod growth;
pub mod occlusion;
pub mod panel_one;
pub mod sheet;
pub mod sheet_edges;
mod text;
pub mod view;
pub mod whole_frame;

pub use alignment::{
    AlignmentInputs, AlignmentVerdict, FirstLayerInputs, FirstLayerJudgement, FirstLayerVerdict,
    InconclusiveReason, judge_first_layer, verify_first_layer_alignment,
};
pub use calibration::{
    BedPose, CalibrationError, CameraCalibration, Fit, Intrinsics, Landmark, Motion, SCHEMA_VERSION,
};
pub use compose::{CheckImage, CheckImageInputs, compose_check_image};
pub use error::{ComposeError, FrameField};
pub use growth::{Growth, GrowthInputs, measure_growth};
pub use occlusion::Occluders;
pub use sheet::{SheetFit, SheetInputs, SheetOutline, SheetVerdict, UnjudgeableCause, fit_sheet};
pub use sheet_edges::{LocatedBy, SheetEdges, SheetEdgesInputs, sheet_edges};
pub use view::{
    FoundLandmark, ReferenceLandmark, ViewCorrection, ViewJudgement, ViewModel, ViewOutcome,
    found_landmarks, judge_found, judge_view, landmarks_in_frame,
};
pub use whole_frame::{WHOLE_FRAME_HEIGHT, WHOLE_FRAME_WIDTH, WholeFrame, whole_frame};