Search code examples
pythonopencvobjectdetection

How to detect new objects that were not there using OpenCV python?


I want to make a drone that can detect objects from up. I found examples of Background Subtraction but it detects things and then considers new image as background object. I want the drone to come to it's way point and see if something new is detected. Drone will fly by itself and the image processing will be done using Opencv on Raspberry pi. How do I write the code in python for this? I can code in python. Please tell me what should I follow.

Thanks in advance.


Solution

  • Background subtraction don't works on drones, a stabilized camera don't help. It need to search a homography matrix between frames with subpixel quality and create custom background subtraction algorithm. This work is not work Raspberry and Python.

    If you know anything about objects then try to use neural networks for detection. MobileNet v3 can work on Raspberry.

    For training do you can use datasets:

    1. http://aiskyeye.com/

    2. https://gdo152.llnl.gov/cowc/

    3. http://cvgl.stanford.edu/projects/uav_data/

    4. https://github.com/gjy3035/Awesome-Crowd-Counting#datasets