Integrating Mini 2 with CoreML
CompletedI am developing an app that uses Mobile SDK to pull video from a Mini 2, run it through a Core ML model, and display an object classification.
I am basing it off the sample DJI FPV app to pull video (https://riis.com/blog/dji-mobile-sdk-tutorials-ios-fpvdemo-swift/) and this iOS demo app (https://betterprogramming.pub/how-to-build-a-yolov5-object-detection-app-on-ios-39c8c77dfe58).
It works but as soon as there is motion on the camera, the video blurs and no longer accurately provides an object classification. Is looks like a video buffer issue occurring when I call the CoreML model but I cannot get the issue to stop. I am using VideoProcesFrame and CreatePixelBuffer.
Is there anything you can recommend?
Please sign in to leave a comment.
Comments
1 comment