-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
50 lines (46 loc) · 1.22 KB
/
Cargo.toml
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
50
[package]
name = "object-detector-rust"
edition = "2021"
version = "0.1.3"
authors = ["Christian M <chriamue@gmail.com>"]
description = "A framework for detecting objects in images using feature-based algorithms."
license = "MIT"
repository = "https://github.com/chriamue/object-detector-rust"
keywords = [
"machine-learning",
"object-detection",
"svm",
"bayes",
"random-forest",
]
[dependencies]
bincode = "1.3.3"
image = { version = "0.24.7", default-features = false, features = [
"png",
"jpeg",
] }
imageproc = { version = "0.23.0", default-features = false }
linfa = "0.7.0"
linfa-svm = { version = "0.7.0", features = [
"serde",
], default-features = false }
linfa-bayes = "0.7.0"
ndarray = "0.15.6"
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smartcore = { version = "0.3.1", features = [
"ndarray-bindings",
"serde",
], default-features = false, git = "https://github.com/smartcorelib/smartcore", optional = true }
[dev-dependencies]
criterion = { version = "0.5.1", default-features = false }
mockall = "0.12.1"
[features]
default = ["hog", "brief", "randomforest"]
hog = []
brief = []
randomforest = ["smartcore"]
[[bench]]
name = "benchmark"
harness = false