P2DingoCV.cli

Functions

main()

runAll(camera, outputPath, config)

Run hotspot detection in maximum mode.

runMinimal(camera, outputPath, config)

Run hotspot detection in minimal mode.

runVerbose(camera, outputPath, config)

Run hotspot detection in verbose mode.

showVisual(camera, outputPath, config)

Run hotspot detection and display visual outputs.

P2DingoCV.cli.main()[source]
Return type:

None

P2DingoCV.cli.runAll(camera, outputPath, config)[source]

Run hotspot detection in maximum mode.

Outputs verbose data and displays visuals simultaneously.

Parameters:
  • camera (Camera) – The camera object used to capture frames or video.

  • outputPath (str) – Directory where results will be saved.

  • config (str | None) – Optional path to JSON configuration file with detection parameters.

P2DingoCV.cli.runMinimal(camera, outputPath, config)[source]

Run hotspot detection in minimal mode.

Only outputs JSON results to the specified output path.

Parameters:
  • camera (Camera) – The camera object used to capture frames or video.

  • outputPath (str) – Directory where JSON results will be saved.

  • config (str | None) – Optional path to JSON configuration file with detection parameters.

P2DingoCV.cli.runVerbose(camera, outputPath, config)[source]

Run hotspot detection in verbose mode.

Outputs all component data, including intermediate metrics, in addition to JSON results.

Parameters:
  • camera (Camera) – The camera object used to capture frames or video.

  • outputPath (str) – Directory where results and logs will be saved.

  • config (str | None) – Optional path to JSON configuration file with detection parameters.

P2DingoCV.cli.showVisual(camera, outputPath, config)[source]

Run hotspot detection and display visual outputs.

Shows the processed frames with detected hotspots highlighted.

Parameters:
  • camera (Camera) – The camera object used to capture frames or video.

  • outputPath (str) – Directory where any results will be saved.

  • config (str | None) – Optional path to JSON configuration file with detection parameters.