regulaforensics / DocumentReader-Android

Android Framework for reading and validation of identification documents
62 stars 26 forks source link

[EN] Camera frame corner radius gap #52

Closed RuiSantosVB closed 1 month ago

RuiSantosVB commented 5 months ago

Bug Description There's a gap on the corners between the frame line and the mask whenever you use the Corner camera frame shape.

Steps To Reproduce On the Document Reader with a Custom Camera frame -> Custom shape with the following customizations: Instance().customization().edit().apply { setCameraFrameShapeType(FrameShapeType.CORNER) setCameraFrameLineLength(40) setCameraFrameCornerRadius(0F) setCameraFrameBorderWidth(16) apply() } The bigger the setCameraFrameBorderWidth is, the more noticeable is the gap. It starts to be noticeable at setCameraFrameBorderWidth(6), on a certain combination of frameborder/cornerradius the gap is reduced and can eventually go away.

Expected behavior Background mask and custom shape should not have gaps in between(?)

Screenshots gap

Environment:

vyakimchik commented 2 months ago

Hi @RuiSantosVB,

Your issue has been submitted to our developers, and they will research it to do everything possible to fix it. Thank you for bringing this to our attention.

vyakimchik commented 1 month ago

Hi @RuiSantosVB,

The issue has been fixed and the new version - 7.3 - has been published. Please update.