.. _camera:

Camera
======

.. automodule:: psychopy.hardware.camera

.. currentmodule:: psychopy.hardware.camera

Overview
========

.. currentmodule:: psychopy.hardware.camera

.. autosummary::
    Camera
    Camera.authorize
    Camera.isReady
    Camera.frameSize
    Camera.status
    Camera.isRecording
    Camera.isNotStarted
    Camera.isStopped
    Camera.metadata
    Camera.getMetadata
    Camera.getCameras
    Camera.getCameraDescriptions
    Camera.device
    Camera.mic
    Camera.streamTime
    Camera.recordingTime
    Camera.recordingBytes
    Camera.open
    Camera.record
    Camera.stop
    Camera.close
    Camera.save
    Camera.lastClip
    Camera.lastFrame
    Camera.update
    Camera.getVideoFrame

.. autosummary::
    CameraInfo
    CameraInfo.index
    CameraInfo.name
    CameraInfo.frameSize
    CameraInfo.frameRate
    CameraInfo.pixelFormat
    CameraInfo.codecFormat
    CameraInfo.cameraLib
    CameraInfo.cameraAPI
    CameraInfo.frameSizeAsFormattedString
    CameraInfo.description


Details
=======

.. autoclass:: Camera
    :members:
    :inherited-members:

.. autoclass:: CameraInfo
    :members:
    :inherited-members:
