Giter Site home page Giter Site logo

tcodereader's Introduction

TCodeReader

Barcode and QRCode reader using TCamera from Kastri and ZXing

Alt text

Compatible with Embarcadero Delphi. Please note: Only the last two point releases of major releases (e.g. at present that includes 10.3.3 and 10.4.1) are "officially" supported.

Development of TISCodeReader can be helped along with Github Sponsorship, so please consider sponsoring today!

Please star this repo by clicking the Star box in the top right corner if you find it useful!

Due the lack of infrastructure, this component was not tested on iOS.

Customizations on TCamera from Kastri:

The YUV_422_888 image format was used on image caputure to utilize the luminance stream, avoinding the conversion to RGBA and after conversion to GrayScale on ZXing.

Customizations on ZXing library:

Overload Scan method, to get a luminance stream, avoinding the conversion to TBitmap to GrayScale

Intructions:

-Use the method Start to open the camera, start preview and find the code in image samples.

-On the event OnScanCodeReady get the text of code.

-Use the method Stop to close the camera and stop preview.

Screenshots:

Alt text Alt text Alt text

tcodereader's People

Contributors

imperiumdelphi avatar mateusvicente100 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tcodereader's Issues

Delphi 11

Bom dia, o componente terá uma versão para delphi 11? Grato

Demo Crashes after 2-5min on Android

Hello, I find that your demo when crashes after 2-5 min of continuous scanning.
Press the Start button leave the device alone (no codes are placed in front of the camera) within 5 min the demo will crash.
Built using 10.4.2 pro with all updates installed (3 as of today).
Devices: Xiaomi 9C (android 32bit) & Nokia 3.4 (android 64bit)

Problema com rotação automática do celular

ao ativar o componente e o celular rotaciona a imagem o componente se perde e a imagem desaparece fica o fundo cinza no exemplo, quando retorna para a posição inicial. Rotacionado fica um quadrado preto na tela do celular e quando volta fica o fundo cinza descrito acima.

Delphi 10.4.2

Ao tentar compilar na versão Delphi 10.4.2 Community apresenta um erro na unit CodeReader.DW.NativeImage na linha 55 informando que pidAndroidArm32 esta como Depressed para resolver fiz a alteração de pidAndroidArm32 para pidAndroid32Arm e compilou normalmente o projeto.

Erro delphi java.lang.nullpointerexception attempt to invoke virtual method

Oi Jaques,

Estou tentanto utilizar este componente, utilizando o exemplo de demo funcionar perfeitamente, mas quando adiciono o formulário a um projeto meu ja com o controlo de permissões não funciona e da erro de permissões, alguma ideia do que possa ser? Tambem Criei umn projecto novo de raiz com um formulario copiando os objectos do formulario de demonstração e não funciona.

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.