Closed THEMaxNorman closed 4 years ago
I have finally found a workaround, using foundation and Accelerate I used a resize pixel buffer function to crop and resize it. I am not sure of the performance hit this will create
var new_buffer = resizePixelBuffer(buffer, cropX: 640, cropY: 360, cropWidth: 1280, cropHeight: 720, scaleWidth: 1280, scaleHeight: 720)
Does anybody else still have this problem, and @THEMaxNorman what does your resizePixelBuffer function do? Could you post it?
My video output is downsized or something. It is is like the image surrounded by black space. The raw buffer is the right size but at some point the buffer ends with black bars around it.
Anyone else have any ideas about what the issue could be?
I am using an ARSceneKit