Skip to content

Commit f94000f

Browse files
committed
fix comment error
1 parent 7ca2d7b commit f94000f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Sdcb.PaddleOCR/PaddleOcrRecognizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class PaddleOcrRecognizer : IDisposable
2424
/// Constructor for creating a new instance of the <see cref="PaddleOcrRecognizer"/> class using a specified model and a callback configuration.
2525
/// </summary>
2626
/// <param name="model">The RecognizationModel object.</param>
27-
/// <param name="configure">The device and configure of the <see cref="PaddleConfig"/>, pass null to using model's <see cref="RecognizationModel.DefaultDevice"/>.</param>
27+
/// <param name="configure">The device and configure of the <see cref="PaddleConfig"/>, pass null to using model's <see cref="RecognizationModel.ConfigureDevice"/>.</param>
2828
public PaddleOcrRecognizer(RecognizationModel model, Action<PaddleConfig>? configure = null)
2929
{
3030
Model = model;

tests/Sdcb.PaddleOCR.Tests/OfflineModelsTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ private void FastCheck(FullOcrModel model)
5454
Enable180Classification = false,
5555
})
5656
{
57-
all.Detector.MaxSize = 960;
5857
// Load local file by following code:
5958
// using (Mat src2 = Cv2.ImRead(@"C:\test.jpg"))
6059
using (Mat src = Cv2.ImDecode(sampleImageData, ImreadModes.Color))

0 commit comments

Comments
 (0)