title_body: Implementing object detection in DJI Mavic 2 pro in real time
upvoted_answer: That's a fascinating project, but I'm not sure it's possible on a DJI drone. The firmware is closed source and not designed for easy modification.
  I don't know if it's possible to replace the DJI firmware with an open source project like iNav or if you would need to build a new drone from scratch around an iNav capable flight controller.
  You might also find that you need a more powerful processor to run real-time image analysis.