Hello,
i want to take a single image, modify it and show it later to the user.
My problem is that as soon as i execute Cam2D_Snapshot a window opens. Is there a way to take a spanshot without opening a window?
Example:
is there a way to not execute "RDK.Cam2D_Close(self.cam_item)"?
i want to take a single image, modify it and show it later to the user.
My problem is that as soon as i execute Cam2D_Snapshot a window opens. Is there a way to take a spanshot without opening a window?
Example:
Code:
frame = RDK.AddFrame(CAM_NAME + ' Frame',parentframe)
frame.setPose( pose )
cam_item = RDK.Cam2D_Add(frame, CAM_PARAMS)
cam_item.setParam("Settings","Orthographic")
cam_item.setName(CAM_NAME)
bytes_img = RDK.Cam2D_Snapshot('', cam_item,"") # <----Opens a window i dont want
RDK.Cam2D_Close(self.cam_item) # <----Close the window
# do stuff with image
# show image to user
is there a way to not execute "RDK.Cam2D_Close(self.cam_item)"?