diff --git a/src/locator.rs b/src/locator.rs index c2c7049..fa5c27a 100644 --- a/src/locator.rs +++ b/src/locator.rs @@ -75,6 +75,10 @@ pub fn locate(image: &BGRImage) -> Vec { lst = -1; } } + if lst != -1 { + result.push(lst); + result.push(height as i32); + } result }