/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>

NS_ASSUME_NONNULL_BEGIN

@interface DSQuadrilateral (Json)

+ (nullable DSQuadrilateral *)quadrilateralWithDictionary:(NSDictionary *)dictionary;

- (NSDictionary *)toJson;

@end

@interface DSCharacterResult (Json)

- (NSDictionary *)toJson;

@end

@interface DSSimplifiedCaptureVisionSettings (Json)

- (void)updateWithDicitionary:(NSDictionary *)dictionary;

- (NSObject *)toJson;

@end

@interface DSSimplifiedBarcodeReaderSettings (Json)

- (void)updateWithDicitionary:(NSDictionary *)dictionary;

- (NSObject *)toJson;

@end

@interface DSSimplifiedLabelRecognizerSettings (Json)

- (void)updateWithDicitionary:(NSDictionary *)dictionary;

- (NSObject *)toJson;

@end

@interface DSSimplifiedDocumentNormalizerSettings (Json)

- (void)updateWithDicitionary:(NSDictionary *)dictionary;

- (NSObject *)toJson;

@end

@interface DSCapturedResultItem (Json)

- (nullable NSDictionary *)toJson;

@end

@interface DSCapturedResult (Json)

- (NSObject *)toJson;

@end

@interface DSDecodedBarcodesResult (Json)

- (NSObject *)toJson;

@end

@interface DSProcessedDocumentResult (Json)

- (NSObject *)toJson;

@end

@interface DSRecognizedTextLinesResult (Json)

- (NSObject *)toJson;

@end

@interface DSParsedResult (Json)

- (NSObject *)toJson;

@end

void runOnMainThread(void (^block)(void));

NS_ASSUME_NONNULL_END
