I am playing the Vision API -- Optical Flow. I found the default output of VNGenerateOpticalFlowRequestRevision1 and VNGenerateOpticalFlowRequestRevision2 looks very different. I suppose Revision2 will generate a better (similar at least ) optical flow visualization. But looks like the magnitude of x and y direction is only ~50% to 70% of that of revision1. Any idea what is going on?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi everyone, I need to add spatial video maker in my app which was wrote in objective-c. I found some reference code by swift, can you help me with converting the code to objective -c?
let left = CMTaggedBuffer(
tags: [.stereoView(.leftEye), .videoLayerID(leftEyeLayerIndex)], pixelBuffer: leftEyeBuffer)
let right = CMTaggedBuffer(
tags: [.stereoView(.rightEye), .videoLayerID(rightEyeLayerIndex)],
pixelBuffer: rightEyeBuffer)
let result = adaptor.appendTaggedBuffers(
[left, right], withPresentationTime: leftPresentationTs)