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
Hello dear developers!
I ran into a problem when converting cv2.Mat in the picture
As I understand from your example,
what (x y z) these are (R G B) colors. I'm converting an image like in example, but I get an error:
Do you have any Python code that would be an example of checking from Mat images to json? Thank you in advance