Video4Linux

The foglamp-south-video4linux plugin is a south plugin that is primarily designed for use in computer vision pipelines with FogLAMP. It allows the collection of still frames from any compatible camera that is connected to the Linux machine that is hosting the FogLAMP service.

South services that ingest images using this plugin are created in the same way as any other FogLAMP south service. The plugin has 4 configuration parameters that can be set.

video4linux_1

  • Asset Name: The asset name given to the assets ingested by the plugin

  • Capture Devices: A list of all the compatible devices found attached to the host.

    video4linux_2

    Select the desired capture device from this list.

  • Images per interval: The number of frames to collect in a given time interval.

  • Interval: Interval in seconds over which to collect the number of frames defined above.

Asset Ingestion

A single asset is ingested by the plugin which contains a number of data points

  • img: The frame itself

  • width: The width of the captured frame in pixels

  • height: The height of the captured frame in pixels

  • depth: The number of bits per pixels within the image