Fully Autonomous Quadcopter with Object Tracking , Optical Flow, WiFi Control , Expanding Features. FC + RPI 3 + Arduino
This program uses cv2.calcOpticalFlowFarneback() function to calculate optical flow and returns flow in x direction and flow in y direction The resolution is set to 320 x 240 for faster opreation in raspberry pi or Odroid.
This program tracks multiple objects with same color and can track upto two colors at the same time.