mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge pull request #27434 from leopardracer:4.x
Fix Typos in Comments and Error Messages Across Multiple Files #27434 Description: This pull request corrects several typographical errors in comments and error messages in the following files: - `samples/directx/d3d11_interop.cpp`: Fixed typo in the error message ("betweem" → "between"). - `samples/dnn/yolo_detector.cpp`: Fixed typo in a comment ("elemets" → "elements"). - `samples/winrt/ImageManipulations/MediaExtensions/OcvTransform.cpp`: Fixed typo in a comment ("peferred" → "preferred"). These changes improve code readability and maintain consistency in documentation and error reporting. No functional code was modified.
This commit is contained in:
@@ -125,7 +125,7 @@ void yoloPostProcessing(
|
||||
|
||||
if (model_name == "yolonas")
|
||||
{
|
||||
// outs contains 2 elemets of shape [1, 8400, nc] and [1, 8400, 4]. Concat them to get [1, 8400, nc+4]
|
||||
// outs contains 2 elements of shape [1, 8400, nc] and [1, 8400, 4]. Concat them to get [1, 8400, nc+4]
|
||||
Mat concat_out;
|
||||
// squeeze the first dimension
|
||||
outs[0] = outs[0].reshape(1, outs[0].size[1]);
|
||||
|
||||
Reference in New Issue
Block a user