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
}
