<gh_stars>1000+
import os

DEFAULT_CAMERA = os.environ.get('JETBOT_DEFAULT_CAMERA', 'opencv_gst_camera')

if DEFAULT_CAMERA == 'zmq_camera':
    from .zmq_camera import ZmqCamera
    Camera = ZmqCamera
else:
    from .opencv_gst_camera import OpenCvGstCamera
    Camera = OpenCvGstCamera

import os

DEFAULT_CAMERA = os.environ.get('JETBOT_DEFAULT_CAMERA', 'opencv_gst_camera')

if DEFAULT_CAMERA == 'zmq_camera':
    from .zmq_camera import ZmqCamera
    Camera = ZmqCamera
else:
    from .opencv_gst_camera import OpenCvGstCamera
    Camera = OpenCvGstCamera