Commit Graph

24 Commits

Author SHA1 Message Date
AlexeyAB 48914023da Added init_cpu() function to init CPU just to speedup the 1st detection (if GPU=0) 2019-11-25 18:10:39 +03:00
AlexeyAB 3abbd85808 fixed consistency darknet and python code 2019-11-23 20:00:35 +03:00
AlexeyAB d628e8eab7 Fixed darknet.py for Uncertainty (gaussian_yolo_layer) 2019-11-05 16:57:03 +03:00
AlexeyAB 54e2d0b0e8 Added ability to use letter_box resizing in darknet.py sample 2019-07-01 19:07:13 +03:00
AlexeyAB 9bb7455a0e Minor fix 2019-02-07 14:47:43 +03:00
AlexeyAB c50b0e0c8a Minor Python and C API improvement 2019-02-06 14:38:12 +03:00
John Aughey 7e9416aa80 Making a pointer version of network_predict for python.
The python binding requires the network struct to be passed
as a pointer to it rather than a struct copy.
2019-02-05 11:35:45 -06:00
AlexeyAB 3ff5084590 Added include/darknet.h 2019-01-06 23:51:38 +03:00
Vincent Liao f81b9209ff fix wrong path 2018-10-24 12:47:19 +07:00
AlexeyAB 026a679ded Minor fix: darknet.py for OpenCV 2018-06-21 19:23:30 +03:00
AlexeyAB 56bff1dc8c Fixed darknet.py when OpenCV is used (added BGR to RGB conversion) 2018-06-20 01:06:39 +03:00
AlexeyAB 1e512b2308 Letter box is disabled in the darknet.py by defualt 2018-06-04 22:11:05 +03:00
Vinjn Zhang dbcdac88a5
darknet.py - loading dll files by absolute name 2018-05-20 14:20:55 +08:00
Vinjn Zhang efdeb01a3a
darknet.py - remove unnecessary check of CUDA_HOME 2018-05-20 13:57:21 +08:00
AlexeyAB 24f563ce71 Example of usage cv2.imread() in the darknet.py 2018-05-17 23:26:55 +03:00
AlexeyAB b34c913d2e darknet.py change libdarknet.so to darknet.so 2018-05-16 15:16:41 +03:00
AlexeyAB 89c11f83ed Fixed darknet.py - uses batch=1 by default 2018-05-16 15:05:46 +03:00
AlexeyAB 573d7e8081 Added def array_to_image(arr): to the darknet.py
Usage:
    import scipy.misc
    sci_image = scipy.misc.imread(image)
    im, arr = array_to_image(sci_image)
2018-05-16 03:03:23 +03:00
Philip Kahn 51fbf01277
Address GPU message in root dir 2018-05-04 15:07:45 -07:00
Philip Kahn 3a2a8653a6
Fix detection paths 2018-05-04 14:59:29 -07:00
Philip Kahn 9c400dc5b8
Remove debugging line 2018-05-04 14:46:33 -07:00
Philip Kahn 3459c47bfa
Also replace root version to Python3 2018-05-04 14:00:11 -07:00
AlexeyAB 408bde78ff Fixed darknet.py for Linux 2018-04-13 17:32:10 +03:00
AlexeyAB fc496d52bf Yolo can be used from Python 2.x using /darknet.py on Linux or darknet/x64/darknet.py on Windows 2018-04-12 22:32:57 +03:00