Commit Graph

16 Commits

Author SHA1 Message Date
Dimitrii
feb1a0353d upd readme 2020-02-21 15:47:21 +03:00
Dimitrii
bc4192f727 GOD SAVE STACKOVERFLOW 2020-02-20 18:10:11 +03:00
Dimitrii
48544ab339 got segfault 2020-02-20 17:02:08 +03:00
Dimitrii
9d89162235 need to check what happens to im.data 2020-02-20 09:35:57 +03:00
Dimitrii
2b2f3f159c need to deal with image 2020-02-19 14:52:19 +03:00
Dimitrii
30fbbb9949 add network 2020-02-18 15:36:17 +03:00
Dimitrii
87175172a2 upd git ignore 2020-02-18 13:21:18 +03:00
Dimitrii
7337b22df9 upd 2019-12-03 08:23:40 +03:00
Dimitrii
517dd61b49 update example 2019-04-16 09:47:00 +03:00
Dimitrii
163747fae6 update readme 2019-01-14 09:30:29 +03:00
dimahkiin
760267bf20 merge detections files 2018-09-20 14:04:29 +03:00
dimahkiin
acadb46eb6 nil dets? 2018-09-20 13:53:40 +03:00
gyonluks
c2698c68d1 Add support for specifying which GPU to use for a network instance. 2018-06-07 17:58:40 +08:00
gyonluks
9704542ae7 Return co-ordinate values, instead of ratios.
* Turns out Darknet's bounding box co-ordinates refer to the center of
  the bounding box, and that width and height refers to the bounding
  box's dimensions.
2018-06-07 17:43:45 +08:00
gyonluks
6608c90713 Fix memory issues. Code improvements.
* Use `C.CString()` instead of `C._GoStringPtr()`.
  - Seems like sometimes the pointer returned by `C._GoStringPtr()`
    could already be freed, while work is being done in C code that uses
    the pointer. Using `C.CString()` ensures the C string's lifetime.
* Remove own implementation of `free_network()`; Darknet actually does
  have its own!
* Changed some field names of `YOLONetwork` to make them look more
  consistent.
2018-06-06 23:36:52 +08:00
gyonluks
2213c2f7a5 Initial implementation. 2018-06-05 03:05:11 +08:00