How to get bayer raw data using libargus api

New to the libargus library, I want to know the following questions:

  1. How to get bayer raw data using libargus api and save it as a file(I want to save both raw data and data processed by the ISP)
  2. When the ISP in libargus controls the exposure and gain, can third-party programs obtain the data controlled by the ISP in real time through API
  3. Can jetson tx2’s ISP select the data stream of the user’s own application as the input data?

Does anyone understand libargus? Can you help me, thanks

  1. Reference to the …/jetson_multimedia_api/argus/samples/cudaBayerDemosaic sample code to get RAW data.
  2. You can implement APP base on Argus API for it.
  3. No support.

thanks

I can list 4 videos by executing ls /dev/video*. Why can only one device be seen using argus_camera?

dev@dev-desktop:~/share/nvcapture_test$ ls /dev/video*
/dev/video0  /dev/video1  /dev/video2  /dev/video3

execute argus_camera -i

dev@dev-desktop:~/share/nvcapture_test$ argus_camera -i
Executing Argus Sample Application (argus_camera)
Argus Version: 0.98.3 (multi-process)
Argus extensions:
  BayerSharpnessMap: supported
  DebugCaptureSession: supported
  DeFog: supported
  FaceDetect: not supported
  InternalFrameCount: supported
  SensorPrivateMetadata: supported
Number of camera devices: 1
Device: 0
  Max AE Regions: 64
  Max AWB Regions: 64
  Focus Position Range: 0 - 0
  Aperture Position Range: 0 - 0
  Aperture Motor Speed Range: 1 - 1
  Lens Aperture Available values: 2.4, 
  Isp Digital Gain Range: 1 - 256
  Number of sensor modes: 6
  Sensor mode: 0
    Resolution: 1920x1296
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 33333334 - 550486208 ns
    Framerate range: 1.81658 - 30 fps
    InputBitDepth:  12
    OutputBitDepth: 12
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

  Sensor mode: 1
    Resolution: 1920x1286
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 33333334 - 550486208 ns
    Framerate range: 1.81658 - 30 fps
    InputBitDepth:  12
    OutputBitDepth: 12
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

  Sensor mode: 2
    Resolution: 1920x1086
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 40000000 - 550486208 ns
    Framerate range: 1.81658 - 25 fps
    InputBitDepth:  10
    OutputBitDepth: 10
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

  Sensor mode: 3
    Resolution: 1920x1286
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 33333334 - 550486208 ns
    Framerate range: 1.81658 - 30 fps
    InputBitDepth:  10
    OutputBitDepth: 10
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

  Sensor mode: 4
    Resolution: 1920x1286
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 16666667 - 550486208 ns
    Framerate range: 1.81658 - 60 fps
    InputBitDepth:  12
    OutputBitDepth: 12
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

  Sensor mode: 5
    Resolution: 1920x1286
    Exposure time range: 34000 - 550385000 ns
    Frame duration range: 33333334 - 550486208 ns
    Framerate range: 1.81658 - 30 fps
    InputBitDepth:  12
    OutputBitDepth: 12
    Analog gain range: 1 - 15.5
    SensorModeType: SENSOR_MODE_TYPE_BAYER

Don’t understand your question.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.