actfw_jetson package¶
Submodules¶
actfw_jetson.camera module¶
- class actfw_jetson.camera.NVArgusCameraCapture(size, fps, logger=<Logger actfw_jetson.logger (WARNING)>)¶
Bases:
actfw_core.task.producer.Producer
Camera using nvarguscamerasrc plugin.
Outputs
Frame
whose content value is PIL.Image.- Parameters
size (int, int) – capture area resolution
fps (int) – framerate
- run()¶
Run and start the activity
- stop()¶
Stop the activity
actfw_jetson.display module¶
- class actfw_jetson.display.Display(size, fps, logger=<Logger actfw_jetson.logger (WARNING)>)¶
Bases:
object
Display using nvoverlaysink plugin
- Parameters
size (int, int) – display area resolution
fps (int) – framerate
- stop()¶
- update(src_im: <module 'PIL.Image' from '/root/project/.venv/lib/python3.10/site-packages/PIL/Image.py'>) Gst.FlowReturn ¶
Update display.
- Parameters
src_im (PIL.Image) – update image (RGB)