2 Replies Latest reply on Aug 7, 2018 5:17 AM by guantong

    in python  "cfg.enable_stream(RS2_STREAM_INFRARED, 1);"?

    guantong

      config rgb 960*640

       

      import numpy as np

      import cv2

      import pyrealsense2 as rs

       

      c = rs.colorizer()

       

      # Create a context object. This object owns the handles to all connected
      # realsense devices
      cfg = rs.config()

      #cfg.enable_stream(rs.RS2_STREAM_INFRARED, 1);?????how to wrie in python
      pipeline = rs.pipeline()

      pipeline.start(cfg)