P2DingoCV.cli

Functions

main()

runMaximal(camera, outputPath, config)

Run hotspot detection and panel segmentaion in maximum mode.

runMinimal(camera, outputPath, config)

Run hotspot detection and panel segmentaion in minimal mode.

runVerbose(camera, outputPath, config)

Run hotspot detection and panel segmentaion in verbose mode.

runVisual(camera, outputPath, config)

Run hotspot detection and panel segmentaion and display visual outputs.

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

None

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

Run hotspot detection and panel segmentaion 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.

Return type:

None

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

Run hotspot detection and panel segmentaion 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.

Return type:

None

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

Run hotspot detection and panel segmentaion 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.

Return type:

None

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

Run hotspot detection and panel segmentaion 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.

Return type:

None