Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put camera as https and not git url #17

Merged
merged 1 commit into from
Apr 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.2.0"
boolean_selector:
dependency: transitive
description:
Expand All @@ -21,7 +21,7 @@ packages:
path: "packages/camera"
ref: "feature/camera_api_16_installation"
resolved-ref: "301f85e52cbf32dae44510b3f49167133df1ffc2"
url: "git@github.com:jaumard/plugins.git"
url: "https://github.com/jaumard/plugins"
source: git
version: "0.4.4"
charcode:
Expand Down Expand Up @@ -70,7 +70,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.4.0"
version: "1.5.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -82,7 +82,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.3+1"
version: "0.12.5"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -110,14 +110,14 @@ packages:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
version: "1.5.0"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
version: "2.0.3"
sky_engine:
dependency: transitive
description: flutter
Expand All @@ -129,7 +129,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.4"
version: "1.5.5"
stack_trace:
dependency: transitive
description:
Expand All @@ -143,7 +143,7 @@ packages:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.8"
version: "2.0.0"
string_scanner:
dependency: transitive
description:
Expand All @@ -164,7 +164,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.2"
version: "0.2.5"
typed_data:
dependency: transitive
description:
Expand All @@ -180,5 +180,5 @@ packages:
source: hosted
version: "2.0.8"
sdks:
dart: ">=2.1.0 <3.0.0"
dart: ">=2.2.0 <3.0.0"
flutter: ">=1.2.0 <2.0.0"
2 changes: 2 additions & 0 deletions lib/flutter_camera_ml_vision.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class CameraMlVisionState<T> extends State<CameraMlVision<T>> {
}
}

CameraValue get cameraValue => _cameraController?.value;

Future<void> _initialize() async {
if (Platform.isAndroid) {
final deviceInfo = DeviceInfoPlugin();
Expand Down
18 changes: 9 additions & 9 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.2.0"
boolean_selector:
dependency: transitive
description:
Expand All @@ -21,7 +21,7 @@ packages:
path: "packages/camera"
ref: "feature/camera_api_16_installation"
resolved-ref: "301f85e52cbf32dae44510b3f49167133df1ffc2"
url: "git@github.com:jaumard/plugins.git"
url: "https://github.com/jaumard/plugins"
source: git
version: "0.4.4"
charcode:
Expand Down Expand Up @@ -68,7 +68,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.3+1"
version: "0.12.5"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -96,14 +96,14 @@ packages:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
version: "1.5.0"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
version: "2.0.3"
sky_engine:
dependency: transitive
description: flutter
Expand All @@ -115,7 +115,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.4"
version: "1.5.5"
stack_trace:
dependency: transitive
description:
Expand All @@ -129,7 +129,7 @@ packages:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.8"
version: "2.0.0"
string_scanner:
dependency: transitive
description:
Expand All @@ -150,7 +150,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.2"
version: "0.2.5"
typed_data:
dependency: transitive
description:
Expand All @@ -166,5 +166,5 @@ packages:
source: hosted
version: "2.0.8"
sdks:
dart: ">=2.1.0 <3.0.0"
dart: ">=2.2.0 <3.0.0"
flutter: ">=1.2.0 <2.0.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_camera_ml_vision
description: A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...
version: 1.4.0
version: 1.5.0
authors:
- Jimmy Aumard <jimmy.aumard@gmail.com>
- Kevin Segaud <kevin@santetis.fr>
Expand All @@ -19,7 +19,7 @@ dependencies:
device_info: ^0.4.0+1
camera:
git:
url: git@github.com:jaumard/plugins.git
url: https://github.com/jaumard/plugins
ref: feature/camera_api_16_installation
path: packages/camera

Expand Down