From 2b07277fea01e4de662ecae7faf4ba92781b3649 Mon Sep 17 00:00:00 2001 From: xyutech Date: Mon, 21 Aug 2023 17:14:45 +0300 Subject: [PATCH] Updated model names --- docs/en/ocr_object_detection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/ocr_object_detection.md b/docs/en/ocr_object_detection.md index 41b9c789ff..311c7770f1 100644 --- a/docs/en/ocr_object_detection.md +++ b/docs/en/ocr_object_detection.md @@ -73,7 +73,7 @@ binary_to_image = BinaryToImage() \ # Define transformer for detect signature signature_detector = ImageHandwrittenDetector \ - .pretrained("image_signature_detector_gsa0628", "en", "public/ocr/models") \ + .pretrained("image_handwritten_detector_gsa0628", "en", "public/ocr/models") \ .setInputCol("image") \ .setOutputCol("signature_regions") @@ -108,7 +108,7 @@ val df = spark.read // Define transformer for detect signature val signature_detector = ImageHandwrittenDetector - .pretrained("image_signature_detector_gsa0628", "en", "public/ocr/models") + .pretrained("image_handwritten_detector_gsa0628", "en", "public/ocr/models") .setInputCol("image") .setOutputCol("signature_regions")