1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#![warn(missing_docs)]
#![doc = include_str!("../README.md")]

pub mod bbox;
pub mod classifier;
pub mod dataset;
/// Struct for representing a detected object
pub mod detection;
pub mod detector;
pub mod feature;
/// Trait for objects that can make predictions
pub mod predictable;
pub mod tests;
/// Trait for objects that can be trained
pub mod trainable;
pub mod types;
pub mod utils;
pub mod window_generator;

/// the object-detector-rust prelude
pub mod prelude {
    pub use super::bbox::BBox;
    pub use super::classifier::BayesClassifier;
    pub use super::classifier::Classifier;
    #[cfg(feature = "randomforest")]
    pub use super::classifier::RandomForestClassifier;
    pub use super::classifier::SVMClassifier;
    pub use super::dataset::AnnotatedImageSet;
    pub use super::dataset::DataSet;
    pub use super::dataset::MemoryDataSet;
    pub use super::detection::Detection;
    #[cfg(feature = "brief")]
    pub use super::detector::BriefSVMDetector;
    pub use super::detector::Detector;
    #[cfg(feature = "hog")]
    pub use super::detector::HOGSVMDetector;
    pub use super::detector::PersistentDetector;
    pub use super::feature::BriefFeature;
    pub use super::feature::Feature;
    pub use super::feature::HOGFeature;
    pub use super::predictable::Predictable;
    pub use super::trainable::Trainable;
    pub use super::types::AnnotatedImage;
    pub use super::types::Annotation;
    pub use super::types::Class;
    pub use super::window_generator::PyramidWindow;
    pub use super::window_generator::SlidingWindow;
    pub use super::window_generator::WindowGenerator;
}