Commit Graph

16 Commits

Author SHA1 Message Date
Cristi Fati c87e33eb06
Fix thread synchronization bug + many more (#8562)
* Minor: float fps (useful for small values - e.g. CPU)
* Fix multiple code readability issues
* Better synchoronize threads (when user interrupts video)
* Better thread objects handling
* Pass data via arguments instead of global like variables - 0
* Minor code readability fixes
* CTypes definitions
* Pass data via arguments instead of global like variables - 1
* Code reordering + (minor) renames
* Pass data via arguments instead of global like variables - 2
2023-08-26 01:56:16 +02:00
Stefano Sinigardi d47d72cb70
minor spelling fixes (#8830)
* minor spelling fixes
* fix spacing
* bump stb to latest and greatest
2023-08-25 16:47:31 +02:00
Yusei-Yagi 7d75fe3c34
Fix bugs in darknet_video.py (#7908)
* fix VideoWriter frame size

* fix saved image color
2021-07-16 00:09:42 +03:00
Martin 5c927228de
Fix python video (#7611)
* some bbox conversion functions

* output video in original resolution

* fixing drawing of bboxes into orig sized video
2021-04-26 01:01:33 +03:00
BlackHill de Eagle dd02b915be
Fix bug OSError: exception: access violation writing #6897
Avoid read and write image at the same time.
2020-12-23 15:18:56 +08:00
AllenH 5aa9fddce6 fix: python API that caused Memory leak 2020-09-15 15:47:05 +08:00
JaledMC edd04355cc
Added multithreading
One thread for inference, another for frame video capture, and one more for drawing
2020-07-29 17:16:06 +02:00
JaledMC 69d35a6e6b Fixed video input path
Script crashed if webcam number passed. Now fixed with `str2int`
2020-05-16 17:26:36 +02:00
JaledMC 2a9ef5246c
out_filename parameter bug
The change from arparse parameter output_file to out_filename crash with this two lines
2020-05-01 20:34:30 +02:00
JaledMC 02da35eb50
Change output_file to out_filename 2020-05-01 20:21:09 +02:00
JaledMC 52c7314340 python wrapper cleaning and new features
a darknet module and both scripts for video and image inference, with the features of C code
2020-05-01 18:30:53 +02:00
AlexeyAB 6d38218a04 Minor fix 2020-04-28 19:20:22 +03:00
AlexeyAB fc663f6efe Another minor fix 2019-02-07 15:02:36 +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
AlexeyAB 3ff5084590 Added include/darknet.h 2019-01-06 23:51:38 +03:00