cv-core 0.2.2

Contains core primitives used in computer vision applications
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{NormalizedKeyPoint, WorldPoint};
use derive_more::Constructor;

/// Normalized keypoint match
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Constructor)]
pub struct KeyPointsMatch(pub NormalizedKeyPoint, pub NormalizedKeyPoint);

/// Normalized keypoint to world point match
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Constructor)]
pub struct KeyPointWorldMatch(pub NormalizedKeyPoint, pub WorldPoint);