Commit Graph

9 Commits

Author SHA1 Message Date
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