thomasgalliker / CameraScanner.Maui

Camera preview and barcode scanner for .NET MAUI apps
MIT License
26 stars 3 forks source link

[Enhancement] Return CornerPoints of barcode in BarcodeResult #16

Closed thomasgalliker closed 3 months ago

thomasgalliker commented 3 months ago

Summary

Read corner points from each detected barcode result and translate them to MAUI Points.

API Changes

Extend BarcodeResult with following property.

public Point[] CornerPoints { get; set; }

Extend platform-specific handlers to provide corner point values in barcode results.

Intended Use Case

Draw polygon line around detected barcode(s) in camera preview.