Commit Graph

51 Commits

Author SHA1 Message Date
John Aughey c00d3c92db Making a fast API compatible way to copy image data.
This can improve on the python array_to_image function
where we already have an allocated image struct and simply
need to copy the data into the correct format/shape without
reallocating.

Aside: I think array_to_image does two frees because the pointer
data_as returns doesn't own the memory that is ultimately freed
in free_image.
2019-02-05 11:40:21 -06:00
AlexeyAB d2b5e142b3 Minor fix 2019-01-14 13:56:42 +03:00
AlexeyAB 3ff5084590 Added include/darknet.h 2019-01-06 23:51:38 +03:00
AlexeyAB 1e512b2308 Letter box is disabled in the darknet.py by defualt 2018-06-04 22:11:05 +03:00
IlyaOvodov 1b5afb4583 Output improvements for detector results:
When printing detector results, output was done in random order, obfuscating results for interpreting. Now:
1. Text output includes coordinates of rects in (left,right,top,bottom in pixels) along with label and score
2. Text output is sorted by rect lefts to simplify finding appropriate rects on image
3. If several class probs are > thresh for some detection, the most probable is written first and coordinates for others are not repeated
4. Rects are imprinted in image in order by their best class prob, so most probable rects are always on top and not overlayed by less probable ones
5. Most probable label for rect is always written first
Also:
6. Message about low GPU memory include required amount

Upd:
* struct detection changes reverted to keep it unchanged
* cmd line key "-ext_output" is added to manage extended output (rect coords in detector test mode)

# Conflicts:
#	src/detector.c
2018-05-08 14:09:35 +03:00
AlexeyAB a0e288f0dc Increased speed of darknet.py. Fixed functions related to resize_image(). 2018-05-01 02:17:49 +03:00
AlexeyAB 6e3afec85a Fixed Python detection 2018-04-17 14:21:23 +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
AlexeyAB d9ae3dd681 Added Yolo v3 2018-03-28 02:59:03 +03:00
AlexeyAB 2baa7bde54 Fixed classifier for AlexNet and Resnet50 2017-09-15 20:31:48 +03:00
Joseph Redmon 62235e9aa3 cpu batch norm works 2016-11-18 21:51:36 -08:00
Joseph Redmon c7a700dc22 new font strategy 2016-11-05 14:09:21 -07:00
Joseph Redmon 481b57a96a So I have this new programming paradigm....... 2016-09-24 23:12:54 -07:00
Joseph Redmon 6b38dcdce0 adding new tiny-yolo 2016-09-07 22:27:56 -07:00
Joseph Redmon 8f1b4e0962 updates and things 2016-09-01 16:48:41 -07:00
Joseph Redmon aebe937710 what do you even write here? 2016-08-11 11:54:24 -07:00
Joseph Redmon 845ab75796 some more stuff 2016-08-05 15:27:07 -07:00
Joseph Redmon ec3d050a76 hope i didn't break anything 2016-06-02 15:25:24 -07:00
Joseph Redmon d1965bdb96 Go 2016-03-13 23:18:42 -07:00
Joseph Redmon 16d06ec0db stuff 2016-02-29 13:54:12 -08:00
Joseph Redmon 1578ec70d7 idk 2016-01-18 15:40:14 -08:00
Joseph Redmon 0305fb4d99 Some changes 2015-11-26 11:48:01 -08:00
Joseph Redmon b394337824 killed some warnings, cam control 2015-11-17 11:09:00 -08:00
Joseph Redmon a9e16d914a more writing stuff 2015-09-22 17:34:48 -07:00
Joseph Redmon 8bcdee8658 Some bug fixes, random stuff 2015-09-01 11:22:03 -07:00
Joseph Redmon 9d42f49a24 changing data loading 2015-08-24 18:27:42 -07:00
Joseph Redmon e625b32e06 Should fix for OpenCV 3.0 2015-08-14 08:45:52 -07:00
Joseph Redmon e56d1eff13 Switch to fast resize 2015-07-21 11:46:24 -07:00
Joseph Redmon 8ed0a5538e faster resize? 2015-07-21 11:38:36 -07:00
Joseph Redmon a08ef29e08 NIGHTMARE!!!! 2015-07-10 16:38:14 -07:00
Joseph Redmon 3b864c2254 width and stuff 2015-07-10 16:36:08 -07:00
Joseph Redmon cbc9984a17 NIPS 2015-06-10 00:11:41 -07:00
Joseph Redmon d97331b88f level adjustment for images 2015-04-15 00:32:32 -07:00
Joseph Redmon 5a49c1d962 rotation 2015-04-09 23:00:33 -07:00
Joseph Redmon 4f50e29365 big change to images 2015-04-09 15:18:54 -07:00
Joseph Redmon a05c4bd2e9 sqrt 2015-04-01 10:25:50 -07:00
Joseph Redmon f98bf6bbdb We do our OWN resizing! 2015-03-28 16:11:37 -07:00
Joseph Redmon 5f4a5f59b0 captcha stuff 2015-02-23 18:52:05 -08:00
Joseph Redmon 79fffcce3c Better imagenet distributed training 2014-12-11 13:15:26 -08:00
Joseph Redmon ff67f03476 Starting on server/client 2014-12-03 08:48:07 -08:00
Joseph Redmon 14303717dc Fast, needs to be faster 2014-10-25 11:57:26 -07:00
Joseph Redmon 738cd4c2d7 Visualizations? 2014-04-16 17:05:29 -07:00
Joseph Redmon cc06817efa Attempt at visualizing ImageNet Features 2014-04-11 01:00:27 -07:00
Joseph Redmon bc902b277e Imagenet Features\! 2014-02-24 12:21:31 -08:00
Joseph Redmon 228d3663f8 Extracting features from VOC with temp filters 2014-02-14 16:09:07 -08:00
Joseph Redmon 118bdd6f62 Training on VOC 2014-02-14 10:26:31 -08:00
Joseph Redmon f7a17f82eb Convolutional layers working w/ matrices 2014-01-28 16:28:42 -08:00
Joseph Redmon 0d6bb5d44d Working? 2013-12-02 16:41:40 -08:00
Joseph Redmon 2db9fbef2b Parsing, image loading, lots of stuff 2013-11-13 10:50:38 -08:00
Joseph Redmon d7286c2732 Loading may or may not work. But probably. 2013-11-06 16:09:41 -08:00