apollollopa
Results
1
comments of
apollollopa
``` import depthai as dai import time pipeline = dai.Pipeline() camera = pipeline.create(dai.node.ColorCamera) videoEncoder = pipeline.create(dai.node.VideoEncoder) imageOutput = pipeline.create(dai.node.XLinkOut) imageOutput.setStreamName("Image") camera.setImageOrientation(dai.CameraImageOrientation.ROTATE_180_DEG) camera.setBoardSocket(dai.CameraBoardSocket.RGB) camera.setResolution(dai.ColorCameraProperties.SensorResolution.THE_4_K) videoEncoder.setDefaultProfilePreset(camera.getFps(), dai.VideoEncoderProperties.Profile.MJPEG) camera.video.link(videoEncoder.input) videoEncoder.bitstream.link(imageOutput.input) # info =...