16 #import <UIKit/UIKit.h>
17 #import <AVFoundation/AVFoundation.h>
18 #import "BXDemoAppDelegate.h"
58 @property (nonatomic, strong) AVCaptureVideoPreviewLayer *previewLayer;
60 @property (nonatomic, strong) IBOutlet UIImageView *cameraImage;
62 @property (nonatomic, strong) UIView *cameraPreview;
64 @property (nonatomic, strong) IBOutlet UIImageView *hashImage;
66 @property (nonatomic, strong) IBOutlet UIImageView *laserImage;
68 @property (nonatomic, strong) IBOutlet UIImageView *thumbnailImage;
70 @property (nonatomic, strong) IBOutlet UITextView *resultText;
72 @property (nonatomic, strong) IBOutlet UILabel *processLabel;
74 @property (nonatomic, strong) IBOutlet UIButton *backButton;
76 @property (nonatomic, strong) IBOutlet UIButton *bxIcon;
78 @property (nonatomic, strong) IBOutlet UIScrollView *scrollView;
111 -(UIImage *)drawBarcodeBorder :(UIImage *)image :(
BXResult*)result;
120 -(IBAction)onClickBackButton:(
id)sender;
128 -(IBAction)onClickAccusoft:(
id)sender;
135 -(const
char *)reportVersion;
142 -(void)setBarcodeTypesUsingSettings;
149 - (void) setCameraPreviewTransform:(UIInterfaceOrientation)toInterfaceOrientation;
155 -(UIImageOrientation)getImageOrientationFromUIOrientation :(UIInterfaceOrientation) orientation;
Performs application delegation responsibilies for BXDemo.
Definition: BXDemoAppDelegate.h:22
UIImageView * laserImage
Laser-like line across center of the viewfinder.
Definition: BXDemoViewController.h:38
UIView * cameraPreview
Preview imagery from the camera.
Definition: BXDemoViewController.h:34
UIImageView * cameraImage
Image from camera, optionally displays images before they are sent for decoding.
Definition: BXDemoViewController.h:32
UIImageView * thumbnailImage
Image inside of which a barcode was decoded.
Definition: BXDemoViewController.h:40
UIImageView * hashImage
Semi-opaque viewfinder overlay.
Definition: BXDemoViewController.h:36
Controls and Displays the view presented to the user for BXDemo.
Definition: BXDemoViewController.h:26
BXInterface * barcodeXpress
A reference to the Recognition Library.
Definition: BXDemoViewController.h:52
AVCaptureVideoPreviewLayer * previewLayer
Preview Layer, where all camera images are displayed.
Definition: BXDemoViewController.h:30
Manages access to the camera, executes callbacks, and executes Barcode Xpress library functions to pe...
Definition: BarcodeXpressIOS.h:274
UIScrollView * scrollView
Scrollview that contains thumbnailImage and resultText.
Definition: BXDemoViewController.h:50
UIButton * bxIcon
Accusoft icon.
Definition: BXDemoViewController.h:48
UITextView * resultText
The value decoded from the barcode.
Definition: BXDemoViewController.h:42
Defines a barcode result returned by the iOS Barcode Xpress SDK.
Definition: BarcodeXpressIOS.h:150
BXDemoAppDelegate * appDel
AppDelegate.
Definition: BXDemoViewController.h:28
UILabel * processLabel
The "Processing.." text that moves once for each frame that is sent for decoding. ...
Definition: BXDemoViewController.h:44
UIButton * backButton
Button that restarts scanning and closes the results Views.
Definition: BXDemoViewController.h:46