|
|
@ -39,7 +39,7 @@ const THUMB_H: usize = 8; |
|
|
|
|
|
|
|
|
|
|
|
/// Threshold for bird detection.
|
|
|
|
/// Threshold for bird detection.
|
|
|
|
/// Bird is detected if the sum of deviations from a median value in a picture exceeds this threshold.
|
|
|
|
/// Bird is detected if the sum of deviations from a median value in a picture exceeds this threshold.
|
|
|
|
const THRESHOLD_DEVIATION: u32 = 600; |
|
|
|
const THRESHOLD_DEVIATION: u32 = 300; |
|
|
|
|
|
|
|
|
|
|
|
fn main() { |
|
|
|
fn main() { |
|
|
|
env_logger::init(); |
|
|
|
env_logger::init(); |
|
|
|