2011-12-21 9 views
2

「rcarlsen-Pocket-OCR-9912da9」のtesseractデモコードをダウンロードしました。https://github.com/rcarlsen/Pocket-OCR/downloads 今、私はit.Canで使用されているライブラリの問題に直面しています。tesseractにライブラリが見つかりませんか?

#import <UIKit/UIKit.h> 
#import <MessageUI/MessageUI.h> 

#import "ZoomableImage.h" 

// conditionally import or forward declare to contain objective-c++ code to here. 
#ifdef __cplusplus 
#import "baseapi.h" 
using namespace tesseract; 
#else 
@class TessBaseAPI; 
#endif 

@interface OCRDisplayViewController : UIViewController 
<UIActionSheetDelegate, UINavigationControllerDelegate, MFMailComposeViewControllerDelegate, UIImagePickerControllerDelegate> { 
TessBaseAPI *tess; 
UIImage *imageForOCR; 
NSString *outputString; 

UIActivityIndicatorView *activityView; 

IBOutlet UIBarButtonItem *cameraButton; 
IBOutlet UIBarButtonItem *actionButton; 

IBOutlet ZoomableImage *thumbImageView; 
IBOutlet UILabel  *statusLabel; 
IBOutlet UITextView *outputView; 
} 

@property(nonatomic,retain)NSString *outputString; 
@property(nonatomic,retain)IBOutlet UITextView *outputView; 
@property(nonatomic,retain)IBOutlet UIBarButtonItem *cameraButton; 
@property(nonatomic,retain)IBOutlet UIBarButtonItem *actionButton; 
@property(nonatomic,retain)IBOutlet ZoomableImage *thumbImageView; 
@property(nonatomic,retain)IBOutlet UILabel *statusLabel; 

@end 

enter image description here

+0

大きなスクリーンショットへのリンクを提供してください。現在のものは読めるほど小さすぎます。 – Nikolay

+2

を右クリックして、[新しいタブで画像を開く]を選択します:) –

答えて

-3

(それはCPPだから)私は

#import "baseapi.h" 

はこれを試してみて、手動でsemicollonsを入力ラインでmisstakeを考えます!

#include "baseapi.h" 

ファイルは赤色である必要があります。

関連する問題