Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(API) Cam2D_Snapshot returns wrong size image
#4
I am not experiencing this on Windows, I'll test this on Ubuntu as soon as I can.

Indeed, SIZE is the camera native sensor size, and SNAPSHOT is the output size when saving on disk on retrieving through socket.

What is the size of the image when you retrieve it directly through the API?

Code:
bytes_img = RDK.Cam2D_Snapshot('', cam_item)
nparr = np.frombuffer(bytes_img, np.uint8)
img = cv.imdecode(nparr, cv.IMREAD_COLOR)
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .


Messages In This Thread
RE: (API) Cam2D_Snapshot returns wrong size image - bySam- 05-31-2022, 02:13 PM



Users browsing this thread:
1 Guest(s)