Problem in Class Mat
BbenWeb1 opened this issue · comments
Hello
Try trying the following coding
<?php
namespace CV;
use CV\Mat;
use CV\Scalar;
$mat = new Mat(2, 2, CV_8UC3, new Scalar(0,0,255));
echo "M = \r\n";
$mat->print();
?>
In windows it displays the following
M = [ ]
In wsl2 ubuntu it displays the following
M = [ 0, 0, 255, 0, 0, 255; 0, 0, 255, 0, 0, 255]