criistian14 / flutter_document_scanner Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin that allows the management of taking, cropping and applying filters to an image, using the camera plugin
A Flutter plugin that allows the management of taking, cropping and applying filters to an image, using the camera plugin
select the image from the gallery possible?
Fetching external sources
-> Fetching podspec for Flutter
from Flutter
-> Fetching podspec for camera
from .symlinks/plugins/camera/ios
-> Fetching podspec for document_edge
from .symlinks/plugins/document_edge/ios
[!] Failed to load 'document_edge' podspec:
[!] Invalid document_edge.podspec
file: syntax error, unexpected arg
s.source_files = Classes//*.{swift,c,m,h,mm,cpp,plist}
^~
I am getting this error
Launching lib/main.dart on RMX2020 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_document_scanner' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1
while i am using ext.kotlin_version = '1.7.10' which already higher version this plugin not compatible with latest kotlin version.
here is my full build.gradle file
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
Firstly thank you for the plugin.
But the issue I'm having now is
I run the example project provided in this repo. Scanner give wrong results as shown in the video. It cannot detect the edge precisely. I wonder if it is happening only to me or not. I tested it on debug apk. So it will not happen in release APK and give precise results?
Video demonstrating the issue.
https://drive.google.com/file/d/1ONYPmwcGhvBFeyGttQYbtjXNic4Saknb/view?usp=drivesdk
Plugin version: 0.1.0
Devices where debug apk was run: Xiaomi MI A2
Flutter doctor
[✓] Flutter (Channel stable, 3.0.0, on Ubuntu 20.04.4 LTS 5.13.0-52-generic, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 2020.3) [✓] VS Code [✓] Connected device (3 available)
Description
It doesn't work properly, where is the problem?
This is a general question and I was not sure where to ask it.
Is it possible to use this library inside our own UI and customizable flutter camera? This means that the process of taking picture will be done using the host app and this library will be used as an engine to do document scanning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.