Skip to content

Commit

Permalink
djdd87#26 Added pixel location and size of AI detections
Browse files Browse the repository at this point in the history
  • Loading branch information
djdd87 committed Mar 24, 2021
1 parent 3572dca commit 149ede8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SynoAI/Controllers/CameraController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private async Task<IEnumerable<AIPrediction>> GetAIPredications(Camera camera, b
{
foreach (AIPrediction prediction in predictions)
{
_logger.LogInformation($"{camera}: {prediction.Label} ({prediction.Confidence}%)");
_logger.LogInformation($"{camera}: {prediction.Label} ({prediction.Confidence}%) [Size: {prediction.SizeX}x{prediction.SizeY}] [Start: {prediction.MinX},{prediction.MinY} | End: {prediction.MaxX},{prediction.MaxY}]");
}
}

Expand Down

0 comments on commit 149ede8

Please sign in to comment.