1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

core: deprecate MatCommaInitializer_

This commit is contained in:
Maksim Shabunin
2026-05-19 06:11:12 +03:00
parent cd4d732442
commit 201381e019
24 changed files with 324 additions and 337 deletions
@@ -96,7 +96,7 @@ int main()
{
for (int j = 0; j < I.cols; j++)
{
Mat sampleMat = (Mat_<float>(1,2) << j, i);
Mat sampleMat = Mat_<float>({1,2}, {(float)j, (float)i});
float response = svm->predict(sampleMat);
if (response == 1) I.at<Vec3b>(i,j) = green;