#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used, clippy::panic))]
pub mod accumulate;
pub mod boundary_parity;
pub mod breakdown;
pub mod dataset;
pub mod distributed;
pub mod error;
pub mod evaluate;
pub mod lvis_parity;
pub mod matching;
pub mod parity;
pub mod segmentation;
pub mod similarity;
pub mod stream;
pub mod summarize;
pub mod tables;
pub mod tide;
pub use accumulate::Accumulated;
pub use dataset::{CocoDataset, CocoDetections, EvalDataset};
pub use error::EvalError;
pub use evaluate::{
evaluate_bbox, evaluate_boundary, evaluate_keypoints, evaluate_segm, evaluate_with, AreaRange,
EvalGrid, EvaluateParams,
};
pub use parity::ParityMode;
pub use summarize::Summary;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(feature = "bench-histogram")]
pub fn dump_bbox_iou_histogram_csv(path: &std::path::Path) -> std::io::Result<usize> {
similarity::bbox::histogram::dump_csv(path)
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn version_is_set() {
assert!(!VERSION.is_empty());
}
}