From 823c3f4b288be5bb5bc9b6f3bf41e809e66b6279 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 16 Apr 2018 13:01:35 +0000
Subject: [PATCH] Fixed AVX detection on Linux.

---
 src/detector.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/detector.c b/src/detector.c
index e4687be..c5afae5 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -99,7 +99,7 @@
     args.hue = net.hue;
 
 #ifdef OPENCV
-	args.threads = 7;
+	args.threads = 3;
 	IplImage* img = NULL;
 	float max_img_loss = 5;
 	int number_of_lines = 100;

--
Gitblit v1.10.0