Skip to content

Commit

Permalink
Switch opencv_dart -> dartcv4
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Lesches committed Dec 19, 2024
1 parent d8dad13 commit 101e890
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/src/isolates/opencv.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "package:opencv_dart/opencv_dart.dart";
import "package:dartcv4/dartcv.dart";
import "package:burt_network/burt_network.dart";

import "package:video/utils.dart";
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/aruco.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "package:opencv_dart/opencv_dart.dart";
import "package:dartcv4/dartcv.dart";

final _arucoDictionary = ArucoDictionary.predefined(PredefinedDictionaryType.DICT_4X4_50);
final _arucoParams = ArucoDetectorParameters.empty();
Expand Down
4 changes: 2 additions & 2 deletions lib/src/utils/constants.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "dart:io";

import "package:burt_network/generated.dart";
import "package:opencv_dart/opencv_dart.dart";
import "package:burt_network/protobuf.dart";
import "package:dartcv4/dartcv.dart";

/// These list maps OpenCV IDs (index) to [CameraName]s.
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/opencv.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "dart:ffi";
import "dart:typed_data";

import "package:opencv_dart/opencv_dart.dart";
import "package:dartcv4/dartcv.dart";
import "package:video/realsense.dart";

/// Useful methods to adjust settings of an OpenCV video device.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
typed_isolate: ^6.0.0
ffi: ^2.1.0
protobuf: ^3.1.0
opencv_dart: ^1.3.3
dartcv4: ^1.0.1

dev_dependencies:
ffigen: ^16.0.0
Expand Down

0 comments on commit 101e890

Please sign in to comment.