mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 21:22:43 -06:00
dnn: support UINT32 and UINT64 targets in Cast Map ONNX UINT32 (12) and UINT64 (13) to CV_32U and CV_64U in mapToCvDepth. Add CV_32U and CV_64U cases to truncateFloatToInt, so float inputs truncate toward zero as ONNX requires, instead of being rounded by convertTo. Allow CV_32U and CV_64U in the outputType parameter.