With Orbbec Astra Stereo S U3, I can successfully get the depth frames as default settings i.e., 640x400@30fps. However when I set the resolution to 1280x800@30fps I get the following depth image. Why do I get stripes on the depth image? How can I correct it?
openni2.initialize(“path”)
dev = openni2.Device.open_any()# open_all, open_file
#FWIDTH = 320
#FHEIGHT = 200
#FWIDTH = 640
#FHEIGHT = 400
FWIDTH = 1280
FHEIGHT = 800
FPS = 30try:
depth_stream = dev.create_depth_stream()
depth_stream.set_video_mode(c_api.OniVideoMode(
pixelFormat = c_api.OniPixelFormat.ONI_PIXEL_FORMAT_DEPTH_1_MM, resolutionX = FWIDTH, resolutionY = FHEIGHT, fps = FPS))# DEFAULT 640x400
except:
print(‘ERROR: Fail to either create or start depth stream.’)
sys.exit()