Add UseGpu property to ModelConfiguration and update network runtime configuration

This commit is contained in:
MaddoScientisto 2026-05-09 17:29:56 +02:00
commit f4f8a58646
3 changed files with 50 additions and 30 deletions

View file

@ -139,6 +139,12 @@
must match the class ordering used by the trained recognition network.
</summary>
</member>
<member name="P:AIFotoONLUS.Core.ModelConfiguration.UseGpu">
<summary>
When enabled, request OpenCV DNN CUDA backend/target for inference.
The installed OpenCV runtime must have CUDA support or model loading/forwarding may fail.
</summary>
</member>
<member name="P:AIFotoONLUS.Core.ModelConfiguration.EnableCropSaving">
<summary>
When enabled, recognition crops will be saved to disk under