How can i calibrate my mavic for Lens Distortion Calibration

已完成

评论

9 条评论

  • DJI Developer Support
    Mavic 2 Pro/Zoom has lens distortion correction enabled by default. However, if the `isLensDistortionCalibrationNeeded` returns true, you will need to comment out the `exclude module: 'library-anti-distortion'` when relying on the SDK.
    1
    评论操作 固定链接
  • Abbas

    Ok so if i include anti distortion library will videodataListner's callback work ?

    0
    评论操作 固定链接
  • DJI Developer Support
    After configuring the anti-distortion library, `isLensDistortionCalibrationNeeded` should be false, and the data from the videodataListner will also take effect.
    1
    评论操作 固定链接
  • Abbas

    Thanks i will try it :)

    0
    评论操作 固定链接
  • DJI Developer Support
    I hope this is helpful to you.
    0
    评论操作 固定链接
  • Abbas

    it works for this separate repo (specifically when custom decoder is selected) mentioned in docs.

    But when i try to just include  anti-distortion library (By commenting out exclude command in gradle file ) in my existing project then it does not work maybe i am not doing it correctly but anyhow i will try to find issue otherwise will try to build upon said library :)

    0
    评论操作 固定链接
  • DJI Developer Support
    which interface you are using to retrieve the videoFeed? If you are currently using getPrimaryVideoFeed, I suggest trying to replace it with provideTranscodedVideoFeed.
    1
    评论操作 固定链接
  • Abbas

    Yes i was using getPrimaryVideoFeed i will try to use provideTranscodedVideoFeed

    Thanks

    0
    评论操作 固定链接
  • DJI Developer Support
    I hope this is helpful to you.
    0
    评论操作 固定链接

请先登录再写评论。