Package org.enkatsu.zxingp5
Class QRReader
java.lang.Object
org.enkatsu.zxingp5.QRReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(processing.core.PImage img) decode(processing.core.PImage img, boolean globalHistogram) decode(processing.core.PImage img, boolean globalHistogram, boolean printError) processing.core.PVector[]com.google.zxing.Resultstatic Stringversion()return the version of the Library.
-
Constructor Details
-
QRReader
public QRReader(processing.core.PApplet app) - Parameters:
app- A PApplet representing the user sketch, i.e "this"
-
-
Method Details
-
decode
- Parameters:
img- Image to decodeglobalHistogram- Global histogramprintError- Flag for displaying error message at decoding- Returns:
- Decoded text
-
decode
- Parameters:
img- Image to decodeglobalHistogram- Global histogram- Returns:
- Decoded text
-
decode
- Parameters:
img- Image to decode- Returns:
- Decoded text
-
getPoints
public processing.core.PVector[] getPoints()- Returns:
- Three points of QR code
-
getResult
public com.google.zxing.Result getResult()- Returns:
- Decode result
-
version
return the version of the Library.- Returns:
- String
-