Barcode Xpress Mobile for iOS
|
Interface that defines a result returned by the iOS Barcode Xpress SDK. More...
#import <BarcodeXpressIOS.h>
Public Member Functions | |
(void) | - getPoints:::: |
Convenience routine to extract all four points of the rectangle that surrounds the location where the barcode was identified. | |
Properties | |
NSString * | m_value |
The decoded value of the recognized barcode, encoded as a string. | |
NSData * | m_valueData |
The decoded value of the recognized barcode, saved as raw bytes. | |
NSNumber * | m_valueLength |
The length, in bytes, of the decoded value raw data. | |
NSValue * | m_P1 |
The upper-left coordinate of a rectangle surrounding the barcode where it was located in the image. | |
NSValue * | m_P2 |
The upper-right coordinate of a rectangle surrounding the barcode where it was located in the image. | |
NSValue * | m_P3 |
The lower-right coordinate of a rectangle surrounding the barcode where it was located in the image. | |
NSValue * | m_P4 |
The lower-left coordinate of a rectangle surrounding the barcode where it was located in the image. | |
NSNumber * | m_decodingTime |
The time (in millseconds) spent in the library code while decoding an image. | |
NSNumber * | m_binarizationTime |
The time (in millseconds) spent in the library code while reducing the input image to a black/white 1 bit per pixel image. | |
NSNumber * | m_type |
The type of the recognized barcode. | |
NSNumber * | m_confidence |
The confidence (0..100) that the value is correct. | |
NSNumber * | m_status |
The status value returned by the recognition library. |
Interface that defines a result returned by the iOS Barcode Xpress SDK.
Defines a class that holds the results of image recognition and barcode decoding by the Accusoft Barcode Xpress Software Development Kit.
- (void) : | (CGPoint*) | P1 | |
: | (CGPoint*) | P2 | |
: | (CGPoint*) | P3 | |
: | (CGPoint*) | P4 | |
Convenience routine to extract all four points of the rectangle that surrounds the location where the barcode was identified.
Release the data members before this object is destroyed.
The values of each CGPoint will be set with values extracted from the NSValue* m_P1, m_P2, m_P3, m_P4 members of the BXResult.
P1 | Upper left coordinate |
P2 | Upper right coordinate |
P3 | Lower right coordinate |
P4 | Lower left coordinate |
Convenience method to return the four points that define a rectangle inside the image that surround the location where this decoded barcode was found.
P1 | Address of a CGPoint that will be set to the upper-left rectangle coordinate. |
P2 | Address of a CGPoint that will be set to the upper-right rectangle coordinate. |
P3 | Address of a CGPoint that will be set to the lower-right rectangle coordinate. |
P4 | Address of a CGPoint that will be set to the lower-left rectangle coordinate. |
- (NSNumber *) m_binarizationTime [read, write, assign] |
The time (in millseconds) spent in the library code while reducing the input image to a black/white 1 bit per pixel image.
Will be zero unless the library was compiled in debug mode.
- (NSNumber *) m_confidence [read, write, assign] |
The confidence (0..100) that the value is correct.
- (NSNumber *) m_decodingTime [read, write, assign] |
The time (in millseconds) spent in the library code while decoding an image.
Will be zero unless the library was compiled in debug mode.
- (NSNumber *) m_status [read, write, assign] |
The status value returned by the recognition library.
Anything other than StatusOK or StatusNoBarcodesFound denotes an error condition.
- (NSString *) m_value [read, write, assign] |
The decoded value of the recognized barcode, encoded as a string.
The decoded value of the recognized barcode.
- (NSData *) m_valueData [read, write, assign] |
The decoded value of the recognized barcode, saved as raw bytes.
- (NSNumber *) m_valueLength [read, write, assign] |
The length, in bytes, of the decoded value raw data.
The length, in bytes, of the decoded value.