Skip to content

Conversation

@eugeniobaglieri
Copy link

FIx a bug that cause misaligned overlay, if the preview layer has not the screen size.
I think that also ImageCapturer.swift at line 51 should be modified in the same way, maybe adding a sourceSize parameter in the function.

let processed: CIImage
    if let feature = feature {
        let normalized = feature.normalized(source: UIScreen.main.bounds.size, 
                                            target: image.extent.size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant