Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Problem in Class Mat #60

@BbenWeb1

Description

@BbenWeb1

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions