Coder Social home page Coder Social logo

blazorzxingjs's People

Contributors

kattunga avatar sabitertan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

artydev loop80

blazorzxingjs's Issues

Offline capable use of the library

This piece of code breaks everything when it comes to qr code scanning when the client is offline:
immagine

Could you remove the dynamic loading of that library and make the loading of that library normal?

This isn't the first library optimizing the loading of js modules like this but the worst side effect is DI breaking and a totally capable app that could continue to work offline suddenly becomes unreliable offline.

Device properties

How do we get the Device Properties? I'm trying to set the width and height to occupy the entire screen (at least width)
But I don't know the proportions of the camera.

In a cellphone camera is usually 3:4 aspect ratio
but on a a notebook the camera is landscape (4:3)

ToggleDevice is not Working

I've created a Reference for the component, and on button click I'm calling ToggleDevice()
but it's not working

<div> <button class="btn btn-light" @onclick='()=> { QrReader.ToggleDevice(); Console.WriteLine("Togle Device"); }'><i class="fas fa-refresh"></i>Mudar Camera</button> </div> <MultiFormatReader style="width:100%" VideoHeigth="300" OnBarcodeRead="((args)=> BarcodeRead(args,AViewModel,DialogService))" @ref="QrReader" > <VideoForbidden> <h4>É necessário conceder permissão de visualização da câmera</h4> </VideoForbidden> <NoVideoDevices> <h4>Nenhum despositivo de video disponível</h4> </NoVideoDevices> </MultiFormatReader>

Nothing happens when ToggleDevice is called, if I try to StopDecoding before calling ToggleDevice
no video is shown after the call. Which gives me the impression that the library is not finding more than one device (Judging by the code of method ToggleDevice)

It would be nice to expose the list of founded Devices, since we have Cellphones with 5 cameras. This way the user could select the device in an DropDownList

[Feature request] Code reading from image file

Is there a way to have this library expose a new class with the sole purpose of just taking in an IBrowserFile or a byte[] of an image and try to scan a code from it specifying which kind of BarcodeFormat expect?
(could be as jpeg from camera or other usual image formats(depends on what does the library supports))

Feature Request: Camera Light

You can see the request here in the JS Library. It's available on the Angular Version and it's also available on Quagga JS here.

The Reason for the light is to make the camera read the QR / Barcodes easier. Since it's measuring light and dark (Black / White), the camera's light can help differentiate in darker rooms / outdoor evenings.

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.