Comments (10)
Thanks for messaging us. The bug is fixed and a beta version is now available on the 'develop' branch.
It takes some time to release a new version. Would you like to try the code on develop branch first?
from capture-vision-cordova-samples.
Yea sure, i will try and let you know.
Thank you so much
from capture-vision-cordova-samples.
Hello @Dynamsoft-Henry
Develop branch is works fine for me, but one another is is happened and it's also happened on master branch.
There is green box is some time is not closes, when we change one page from another, Can you please help on this if you have any idea on this ??
from capture-vision-cordova-samples.
Hello @digvijayLogistic
For some reason, DCVCameraEnhancer is designed as a singleton. As a result, you are using the same DCVCameraEnhancer instance in your "Test Page 1" and "Test Page 2". I think the "green box" you mean is the scan region that set by DCVCameraEnhancer. You can disable the scan region setting by triggering dce.setScanRegion(null) in your code.
If you want to set the scan region in "Test Page 1" but don't set it in "Test Page 2". You can add the following code in your text page 1.js:
// Add an event - onVisibilityChange
document.addEventListener('visibilitychange', onVisibilityChange, false);
// Implement onVisibilityChange
function onVisibilityChange(e) {
if (document.visibilityState === 'hidden') {
dce.close()
dbr.stopScanning()
// Disable the scan region when the page is hidden.
dce.setScanRegion(null)
} else if (document.visibilityState === 'visible') {
dce.open()
dbr.startScanning()
}
}
from capture-vision-cordova-samples.
Thank you so much, but i think it's not working for me.
And i have investigated more on plugin and i found one method for show/hide region : setScanRegionVisible()
So now i have used this method for show/hide region and it's works for me.
from capture-vision-cordova-samples.
Hey @Dynamsoft-Henry
Happy New Year 🎊🎊
I am not sure if it is barcode specific or if it stops after a period of time. Here are a couple examples where I can't get them to scan.
Are there settings we can adjust?
Here is a barcode images:
![16718502692571671849130694](https://user-images.githubusercontent.com/46132367/210201575-d14d5fba-c701-4408-bece
from capture-vision-cordova-samples.
from capture-vision-cordova-samples.
@digvijayLogistic Hello. Happy new year!
The barcodes on your photo are too blurry and I think that the reason why they are not decoded.
I think these two barcodes are UPCA. I generated the above image and they are can be decoded by the library.
If your usage scenario is to decode barcodes from the video streaming, the best way to decode them is to get closer to the barcodes.
We do have barcode scan settings to improve the readability of the library. You can update the settings via the method updateRuntimeSettings
.
You can try to get higher readability with the preset template VIDEO_READ_RATE_FIRST or IMAGE_READ_RATE_FIRST with the following code:
dcvBarcodeReader.updateRuntimeSettings(Dynamsoft.EnumDBRPresetTemplate.VIDEO_READ_RATE_FIRST)
or
dcvBarcodeReader.updateRuntimeSettings(Dynamsoft.EnumDBRPresetTemplate.IMAGE_READ_RATE_FIRST)
If it still not work, would you like to send us a short video as well as some sample image to show us how you want to scan the barcodes? Then we can give you a customized template to improve the performance.
[email protected] is our support email. If necessary, you can send us images or video throw this email to get better support.
from capture-vision-cordova-samples.
Yes sure, Thank you so much !!
from capture-vision-cordova-samples.
Hello @Dynamsoft-Henry
There is new issue happened on IOS devices.
When i was testing, if i open scanner first time then it's work fine to show green-box (scan region)
And if i open it second time green-box (scan-region) not appears but it scans properly, but as per user experience it's not looks good.
I'm using this plugins "develop" branch.
So basically i needs green-box always when we open scanner.
from capture-vision-cordova-samples.
Related Issues (9)
- Change UI of barcode scanner HOT 5
- android: path / filename conflict
- Android build error HOT 9
- Cannot read property 'barcoeScanner' of undefined", source: HOT 1
- iOS issue HOT 12
- Internet Connection required or not HOT 2
- Fatal Exception: java.lang.IllegalStateException HOT 4
- Android application consuming the dynamsoft-capture-vision-cordova plugin fails to build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capture-vision-cordova-samples.