OCR修改默认强制推理配置

This commit is contained in:
辉鸭蛋
2026-03-17 01:28:14 +08:00
parent f9b707b1ac
commit 33013fd7a5
2 changed files with 3 additions and 3 deletions

View File

@@ -14,10 +14,10 @@ public partial class HardwareAccelerationConfig : ObservableObject
private InferenceDeviceType _inferenceDevice = InferenceDeviceType.Cpu;
/// <summary>
/// 是否强制OCR使用CPU推理。在某些环境上使用GPU进行OCR推理会导致性能下降(比如很多使用DirectML推理的情况下)。默认关闭
/// 是否强制OCR使用CPU推理。在某些环境上使用GPU进行OCR推理会导致性能下降(比如很多使用DirectML推理的情况下)。默认开启
/// </summary>
[ObservableProperty]
private bool _cpuOcr = false;
private bool _cpuOcr = true;
#region GPU加速设置

View File

@@ -133,7 +133,7 @@
<ui:TextBlock Grid.Row="1"
Grid.Column="0"
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}"
Text="解决部分GPU推理性能和报错问题 默认关闭" />
Text="解决部分GPU推理性能和报错问题 默认开启" />
<TextBlock Grid.Row="2"
Grid.Column="0"
Foreground="{ui:ThemeResource TextFillColorSecondaryBrush}"