Skip to content

From cv2.Mat to image #65

@kilievich-dmitriy-andreevich

Description

Hello dear developers!

I ran into a problem when converting cv2.Mat in the picture

As I understand from your example,

"x": [ [ 1 ], [ 2 ], [ 3 ] ],
"y": [ [ 2 ], [ 3 ], [ 4 ] ],
"z": [ [ 3 ], [ 4 ], [ 5 ] ]

what (x y z) these are (R G B) colors. I'm converting an image like in example, but I get an error:

Response Status: 400 Bad Requests
Response body: {"error": "input images are not an array","error_type":"bad_request_error"}

Do you have any Python code that would be an example of checking from Mat images to json? Thank you in advance

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions