Giter Site home page Giter Site logo

Comments (10)

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

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.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

Yea sure, i will try and let you know.

Thank you so much

from capture-vision-cordova-samples.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

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.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

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.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

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.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

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

16718504996851671849361109
-d749dd464d8b.jpeg)

from capture-vision-cordova-samples.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

16718502692571671849130694

from capture-vision-cordova-samples.

Dynamsoft-Henry avatar Dynamsoft-Henry commented on July 19, 2024

@digvijayLogistic Hello. Happy new year!
git-cordova-upca
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.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

Yes sure, Thank you so much !!

from capture-vision-cordova-samples.

digvijayLogistic avatar digvijayLogistic commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.