slam-cv 0.1.3

Simple CV traits for VO (SLAM).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::super::keypoint::KeyPoint;
use crate::number::Number;

pub trait Detector {
    type Number: 'static + Number;
    type KeyPoint: 'static + KeyPoint<Number = Self::Number>;

    type Image: 'static;

    fn detect(&self, img: &Self::Image) -> Vec<Self::KeyPoint>;
}