From 9b807aaf8a34d3d268db4ef5c6afe89224d6ade5 Mon Sep 17 00:00:00 2001 From: Yo Kobayashi <82624334+KobayashiYoh@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:20:22 +0900 Subject: [PATCH 1/3] add documentation for CameraUtil class --- lib/camera_util.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/camera_util.dart b/lib/camera_util.dart index 56e538a..17381a1 100644 --- a/lib/camera_util.dart +++ b/lib/camera_util.dart @@ -4,6 +4,7 @@ import 'package:camera/camera.dart'; import 'package:flutter/services.dart'; import 'package:google_mlkit_commons/google_mlkit_commons.dart'; +/// Utility class for handling camera-related operations. class CameraUtil { /// Utility class for handling camera-related operations. static final _orientations = { From 79f1e723add33273c682a59291cff98c30e45a39 Mon Sep 17 00:00:00 2001 From: Yo Kobayashi <82624334+KobayashiYoh@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:21:53 +0900 Subject: [PATCH 2/3] add documentation for FocusedAreaOCRPainter class --- lib/focused_area_ocr_painter.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/focused_area_ocr_painter.dart b/lib/focused_area_ocr_painter.dart index eb34e05..3e79fa2 100644 --- a/lib/focused_area_ocr_painter.dart +++ b/lib/focused_area_ocr_painter.dart @@ -6,6 +6,7 @@ import 'package:flutter/material.dart'; import 'package:focused_area_ocr_flutter/coordinate_util.dart'; import 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart'; +/// A custom painter for rendering the focused area and recognized text on a canvas. class FocusedAreaOCRPainter extends CustomPainter { FocusedAreaOCRPainter({ required this.recognizedText, From 67d0ca7cec9d32d85a6435a117742d1980fd762c Mon Sep 17 00:00:00 2001 From: Yo Kobayashi <82624334+KobayashiYoh@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:25:29 +0900 Subject: [PATCH 3/3] update CHANGELOG.md and pubspec.yaml --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd2ce32..a86d915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.3 + +* Add documentation to CameraUtil and FocusedAreaOCRPainter classes. + ## 0.0.2 * Add documentation to classes and members. diff --git a/pubspec.yaml b/pubspec.yaml index b1014ee..426bf49 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: focused_area_ocr_flutter description: This is a package to get text in the focused area on the camera. It is created based on OCR technology by https://pub.dev/packages/google_mlkit_text_recognition. -version: 0.0.2 +version: 0.0.3 repository: https://github.com/KobayashiYoh/focused_area_ocr_flutter environment: