-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EPIC-4283]- Xamarin Document SDK 4.2.0 #126
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Updated the projects with latest SDK. Fixed the issues related to OverlayConfigurations.
- Turned off encryption by default.
[EPIC-4283] - Xamarin SDK Update to 4.2.0
Description: There is no provision to set this property in the Classic component for Android. Still the behaviour is same as iOS as handled in the example project.
…eeze Epic 3538 - Bug native renderer app freeze and BarcodeImageGenerationType for CapturedImage
iOS SDK 4.2.2 - Updated latest nugets
- Added Document Quality Analyser. Refactored the code for buttons clicks
[EPIC-4283]: Xamarin Document Quality Analyzer
- Button appearance - Color of button shows different in android compared to iOS
Xamarin Forms:
- DetectBarcodesOnImage: Added Accepted Barcode Formats to the example project - Added try catch for PerformOCR feature.
[EPIC-4594] Xamarin Forms - Perform OCR error handling
- Added Encryption check for accessing the Document
Xamarin Forms Acceptance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Notes
ScanbotSDK.Xamarin.Forms - Version 4.2.0
BarcodeFormats
enum for:USPSIntelligentMail
RoyalMail
JapanPost
RoyalTNTPost
AustraliaPost
GS1Composite
DatabarLimited
IScanbotOperations
interface andDocumentQuality
enum for usage.CheckStandard
.PDFPageSize
.PDFPageOrientation
.SBSDKDocumentQualityAnalyzer
,SBSDKOpticalCharacterRecognizer
,SBSDKOpticalCharacterRecognizerConfiguration
andSBSDKTextLayoutRecognizer
.TrackingOverlayController
property toSBSDKBarcodeScannerViewController
.MaximumRecommendedImageSize
toSBSDKDeviceInformation
.SetupDefaultLicenseFailureHandlerWithCompletion
method to theScanbotSDKGlobal
class.BACK_WIDEST
toCameraModule
enum.SetBarcodeFormatsFilter(barcodeFormat: List<BarcodeFormat>)
method inBatchBarcodeScannerConfiguration
class.forceCpu: Boolean
fromImageProcessor
methods.ScanbotCameraXView
.SetForceMaxSnappingSize(enabled: bool)
behavior in theScanbotCameraXView
.ScanbotCameraXView
.SetLifecycleOwner(lifecycleOwner: ILifecycleOwner)
method forViewController
inDocumentScannerView
andBarcodeScannerView
to improve compatibility with Compose UI.EnableCameraButtonTitle
andEnableCameraExplanationText
parameters on Batch and Barcode RTU UI screen configs.GenericTextRecognizer
on ARM v7 devices.OcrResolutionLimit
configuration inGenericTextRecognizer
.ViewFinderEnabled
was disabled inSBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
.SBSDKUICroppingViewController
didn't update on dark mode change, when set toUIColor.SystemBackground
.Gs1DecodingEnabled
of typebool
is replaced withGs1HandlingMode
of typeGS1Handling
enum inBarcodeScannerAdditionalParameters
.PerformOcrAsync(...)
method inIScanbotOperations
.Task<float?> EstimateBlurriness(ImageSource source);
withTask<DocumentQuality> DetectDocumentQualityAsync(ImageSource source);
inIScanbotOperations
.SetPictureSize(pictureSize: Size)
,SetCameraFrameSize(frameSize: Size)
orSetPreviewFrameSize(frameSize: Size)
, make sure input Size has the correct orientation (fits the view or display size).SetOpticalZoomRange()
->SetPhysicalZoomRange()
;SetOpticalZoomLevel()
->SetPhysicalZoomRatio()
inScanbotCameraXView
,DocumentScannerView
,BarcodeScanAndCountView
andBarcodeScannerView
.setPhysicalZoomRange()
andsetPhysicalZoomRatio()
accept possible zoom values from 0.5x up to 100x. NOTE: if the value sent to the camera is out of range for a specific device's capabilities, then the camera will try to set the max or min possible for that specific device. eg. Zoom 100x will only work on some high-end Samsung devices, whereas other devices will only have 12x-30x max. The same goes for minimum supported values, 0.5x is a wide-format camera module that does not exist on many Android devices.BlurEstimator
feature. UseDocumentQualityAnalyzer
instead.RenderDocumentFromImages()
andRenderDocumentFromPages()
methods -pageSize: PDFPageSize
was replaced with more detailedpdfConfig: PdfConfig
parameter.PerformOCR(AndroidNetUri[] images, string[] languages, AndroidNetUri pdfOutputFileUri = null)
with public static OcrResultPerformOCR(AndroidNetUri[] images, OcrConfigs configs = null, AndroidNetUri pdfOutputFileUri = null)
inSBSDK
.SBSDKImageMetricsAnalyzer
,SBSDKImageChannelMetrics
andUIImage+SBSDKMetricsAnalysis
.SBSDKOpticalTextRecognizer
andSBSDKTextOrientationRecognizer
.SBSDKPageOrientation
toSBSDKTextOrientation
.SBSDKPDFRenderer
andSBSDKUIPDFRenderer
.SBSDKPDFRendererPageSize
.public static void CreatePDF(NSUrl[] images, NSUrl pdfOutputURL, PDFPageSize pageSize)
withpublic static async Task CreatePDF(NSUrl[] images, NSUrl pdfOutputURL, PDFPageSize pageSize, PDFPageOrientation orientation = PDFPageOrientation.Auto)
.public static SBSDKOCRResult PerformOCR(NSUrl[] images, string[] languages, NSUrl pdfOutputFileURL = null)
withpublic static Task<SBSDKOCRResult> PerformOCR(NSUrl[] images, OcrConfigs configs = null, NSUrl pdfOutputFileURL = null)
.public static void CreatePDF(ImageStorage storage, NSUrl pdfOutputURL, PDFPageSize pageSize)
method to private visibility.SBSDKBlurrinessEstimator
has been removed and replaced by the far superiorSBSDKDocumentQualityAnalyzer
.SBSDKUIFinderDocumentScannerUIConfiguration
to DIN A4 portrait.UIImage
extension methods:Sbsdk_imageWarpedByPolygon
withImageWarpedByPolygon
Sbsdk_imageScaledToSize
withImageScaledToSize
GenericDocumentRecognizerViewControllerDidCancel(...)
toDidCancel(...)
)SBSDKUIHealthInsuranceCardScannerViewControllerDelegate
SBSDKUIGenericDocumentRecognizerViewControllerDelegate
SBSDKUITextDataScannerViewControllerDelegate