Skip to content

Commit

Permalink
Merge pull request #13 from KobayashiYoh/feature/documentation
Browse files Browse the repository at this point in the history
Add documentation to CameraUtil and FocusedAreaOCRPainter classes
  • Loading branch information
KobayashiYoh authored Apr 14, 2024
2 parents f95bfd9 + 67d0ca7 commit cdb1656
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.3

* Add documentation to CameraUtil and FocusedAreaOCRPainter classes.

## 0.0.2

* Add documentation to classes and members.
Expand Down
1 change: 1 addition & 0 deletions lib/camera_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions lib/focused_area_ocr_painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit cdb1656

Please sign in to comment.