0

When I try to check any UIImage, it doesn't show. I can see MTLTexture, but not UIImage. I can see images if I go to the older branch, but not the current branch that I am working on. How to fix this?

Xcode version: 16.2 macOS: 15.7.2

Code in the image:

guard let currentImage = self.currentImage else {return nil}

let yoloBoundingBox = hairManager.getWholeBodyBoundingBox(faceBoundingBox: boundingBox.getRect(of: currentImage.size), imageSize: currentImage.size)

let (_, rollValue) = hairManager.getBoundingBox(faceBoundingBox: boundingBox.getRect(of: currentImage.size))

let (humanMask, wbBoundingBox) = _getMask(using: boundingBox) ?? (currentImage.cropImageToRect(cropRect: yoloBoundingBox), yoloBoundingBox)
guard let humanMask = humanMask else {
    return nil
}

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.