Skip to content

Commit 5cddb89

Browse files
committed
rename some tags in flutter examples code
1 parent e10c242 commit 5cddb89

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

android/src/main/java/com/vladih/computer_vision/flutter_vision/FlutterVisionPlugin.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,21 +242,6 @@ public DetectionTask(Yolo yolo, Map<String, Object> args, String typing, Result
242242
this.class_threshold = (float) (double) (args.get("class_threshold"));
243243
this.result = result;
244244
}
245-
246-
// private DetectionTasks() {
247-
// // Private constructor to prevent instantiation by other classes
248-
// }
249-
250-
// public static DetectionTasks getInstance(Yolo yolo, Map<String, Object> args, String typing, Result result) {
251-
// if (instance == null) {
252-
// synchronized (DetectionTasks.class) {
253-
// if (instance == null) {
254-
// instance = new DetectionTasks(yolo, args, typing, result);
255-
// }
256-
// }
257-
// }
258-
// return instance;
259-
// }
260245
@Override
261246
public void run() {
262247
try {

example/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ class _YoloImageV8State extends State<YoloImageV8> {
527527
children: [
528528
TextButton(
529529
onPressed: pickImage,
530-
child: const Text("Pick image"),
530+
child: const Text("Pick an image"),
531531
),
532532
ElevatedButton(
533533
onPressed: yoloOnImage,
@@ -673,7 +673,7 @@ class _TesseractImageState extends State<TesseractImage> {
673673
children: [
674674
TextButton(
675675
onPressed: pickImage,
676-
child: const Text("Pick image"),
676+
child: const Text("Pick an image"),
677677
),
678678
ElevatedButton(
679679
onPressed: tesseractOnImage,

0 commit comments

Comments
 (0)