General description

TM NPU MicroPython

Product
SIMACTIC S7-1500 TM NPU 2.0
Language
en-US
Category
Manual

The camera module provides access to a connected camera. It creates an object which allows for definition of the camera's properties in preparation for the initialization of the video pipeline (vid_pipeline, see Chapter 3.5).

A camera object can be created as one of three versions: "GigE Vision", "REALSENSE_D435", or"External Image", defined via the "camera_id". The camera object must be created to fit to the connected camera.

If an image is to be processed by ta video pipeline not coming from a physically connected camera connected to the TM NPU, the camera object can be initialized as "EXTERNAL IMAGE". This allows for images loaded from the file system (SD-Card or FTP Server) to be processed via the video pipeline (and the inference).

Note:

A camera object must be created before initializing the video pipeline using vid_pipeline. Any changes to the initialized camera object after initialization of the video pipeline have no effect on it.

See alsoGeneral description