opencv/modules/dnn
KangJialiang 25fe85bbbb Fix yoloPostProcessing` to handle variable number of classes (nc)
Previously, the yoloPostProcessing function assumed that the number of classes (nc) was fixed at 80. This caused incorrect behavior when a different number of classes was specified, leading to mismatched output shapes.

This update modifies the code to use the provided `nc` value dynamically, ensuring that the output shapes are correctly calculated based on the specified number of classes. This prevents issues when `nc` is not equal to 80 and allows for greater flexibility in model configurations.
2024-12-12 15:41:14 +08:00
..
cmake Add Definition "_USE_MATH_DEFINES" for dnn plugin on Win32 build 2024-04-07 21:08:09 +09:00
include/opencv2 C-API cleanup: backport videoio changes from 5.x 2024-10-01 17:06:08 +03:00
misc Merge pull request #25986 from asmorkalov:as/js_for_contrib 2024-08-23 10:49:08 +03:00
perf build: made environment access a separate feature 2024-10-30 18:37:22 +03:00
src Support string_view in caffe_importer 2024-12-09 10:24:01 +01:00
test Fix yoloPostProcessing` to handle variable number of classes (nc) 2024-12-12 15:41:14 +08:00
CMakeLists.txt dnn: use dispatcher for Winograd 2024-11-07 10:51:16 +03:00