Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
processing_camera_image
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
thuanpm
2023-08-28 14:55:03 +0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75fa1631ea608521756012affd179a1ef61bbc03
75fa1631
1 parent
9fc47871
update dart version
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
example/lib/main.dart
pubspec.yaml
test/processing_camera_image_test.dart
example/lib/main.dart
View file @
75fa163
...
...
@@ -71,7 +71,7 @@ class _MyHomePageState extends State<MyHomePage> {
});
}
imglib
.
Image
?
processImage
(
CameraImage
_
savedImage
)
{
imglib
.
Image
?
processImage
(
CameraImage
savedImage
)
{
// return _processingCameraImage.processCameraImageToRGB(
// bytesPerPixelPlan1: 2,
// bytesPerRowPlane0: _savedImage.planes[0].bytesPerRow,
...
...
@@ -82,12 +82,12 @@ class _MyHomePageState extends State<MyHomePage> {
// rotationAngle: 15,
// width: _savedImage.width,
// plane2: _savedImage.planes[2].bytes,
//
//
isFlipHoriozntal: true,
// isFlipHoriozntal: true,
// );
return
_processingCameraImage
.
processCameraImageToGrayIOS
(
height:
_savedImage
.
height
,
width:
_savedImage
.
width
,
plane0:
_savedImage
.
planes
[
0
].
bytes
,
height:
savedImage
.
height
,
width:
savedImage
.
width
,
plane0:
savedImage
.
planes
[
0
].
bytes
,
rotationAngle:
15
,
backGroundColor:
Colors
.
red
.
value
,
isFlipVectical:
true
,
...
...
pubspec.yaml
View file @
75fa163
...
...
@@ -5,7 +5,7 @@ repository: https://github.com/thuanpham98/processing_camera_image
homepage
:
https://github.com/thuanpham98/processing_camera_image
environment
:
sdk
:
"
>=2.18.0"
sdk
:
"
>=2.18.0
<4.0.0
"
flutter
:
"
>=3.3.0"
dependencies
:
...
...
test/processing_camera_image_test.dart
View file @
75fa163
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:processing_camera_image/processing_camera_image.dart'
;
void
main
(
)
{}
...
...
Please
register
or
login
to post a comment