Giter Site home page Giter Site logo

bcscanner's People

Contributors

fjcaetano avatar michaelochs avatar petrmanek avatar ryancopley avatar timmolter 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bcscanner's Issues

I do not see a HUD

Is there supposed to be a HUD? I don't see any. It'd be nice to have. I see a HUD referenced in the code. How do I enable it?

Not all AVFoundation code types are supported

Not all code types that are supported by AVFoundation are added to BCScanner yet. Currently supported types are: QR, UPCE, EAN8 and EAN13.

The missing code types should be added as well.

Block based API as a category on `UIViewController`

To enable very easy single code scanning, there should be a category on UIViewController that can present the scanner view controller as a modal view controller, calls a completion handler if the first bar code is found and then close the scanner view controller.

Header comments should be without a leading asterisk

To be compatible to cocoadocs, the header comments should be without a leading asterisk in each line.

Old look:

/**
 * This is the gesture recognizer that is used to let the user focus and expose to a
 * specific point in the field of view. You can access this property when you want to
 * more precisely control what taps should be recognized.
 */

New look:

/**
 This is the gesture recognizer that is used to let the user focus and expose to a
 specific point in the field of view. You can access this property when you want to
 more precisely control what taps should be recognized.
 */

Help understanding TODOs

Hey, I'm digging into you code but I could not understand these TODOs:

  • When using multiple codes together with a hud immage the animation will break when relayouting the screen (e.g. when rotating).
  • Not all supported code types of AVFoundation are added to BCScanner yet. Currently supported types are: QR, UPCE, EAN8 and EAN13.

Could you give me more details?

Codabar

Hi, is there any chance that the Codabar type can be read?

Thanks

HUD image animation broken after rotating

Summary:
When providing a HUD image while scanning for more than one code type, the HUD animation breaks when relayouting (e.g. rotating the device).

Steps to Reproduce:

  1. Set the codeTypes property to at least two code types.
  2. implement the delegate method scannerHUDImage: and return an image
  3. see the animation on the screen and rotate the device

Expected Results:
The animation continues as before.

Actual Results:
The animation runs twice as fast.

It should be possible to set an active scanner area

It should be possible to define an active scanner area in the view controller that is used for scanning for qr codes.

This might need to work nice with the hud image so that the hud image marks this area as well.

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.