From 4017db219ae86cd044e888f05de2ca70a9052828 Mon Sep 17 00:00:00 2001 From: bj-wanghz <40155104+bj-wanghz@users.noreply.github.com> Date: Sat, 20 Oct 2018 20:52:43 +0800 Subject: [PATCH] Update lbp.c fix lbp_weights index calculation in imlib_lbp_desc_distance. --- src/omv/img/lbp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omv/img/lbp.c b/src/omv/img/lbp.c index 343e22184..db5f32608 100644 --- a/src/omv/img/lbp.c +++ b/src/omv/img/lbp.c @@ -84,7 +84,7 @@ int imlib_lbp_desc_distance(uint8_t *d0, uint8_t *d1) { uint32_t sum = 0; for (int i=0; i