Giter VIP home page Giter VIP logo

auto's Introduction

AUTO (an "A"utonomous "U"av that "T"racks "O"bject)

Dynamic Object Tracking on Autonomous UAV System for Surveillance Applications

This project is based upon the state-of-the-art YOLO series, Tiny and the famous Kalman Filter. With both camera and object moving, our system is able to track the target robustly in a 3D world. The UAV would then try to maneuver with the dynamic object once it detects the movement from the target. The link to this journal paper could be seen here.

Abstract

The ever-burgeoning growth of autonomous unmanned aerial vehicles (UAVs) has demonstrated a promising platform for utilization in real-world applications. In particular, UAV equipped with a vision system could be leveraged for surveillance applications. This paper proposes a learning-based UAV system for achieving autonomous surveillance, in which the UAV can be of assistance in autonomously detecting, tracking, and following a target object without human intervention. Specifically, we adopted the YOLOv4-Tiny algorithm for semantic object detection and then consolidated it with a 3D object pose estimation method and Kalman Filter to enhance the perception performance. In addition, a back-end UAV path planning for surveillance maneuver is integrated to complete the fully autonomous system. The perception module is assessed on a quadrotor UAV, while the whole system is validated through flight experiments. The experiment results verified the robustness, effectiveness, and reliability of the autonomous object tracking UAV system in performing surveillance tasks. The source code is released to the research community for future reference.

Video

IMAGE ALT TEXT HERE

Requirements

Dataset Establishment and Training

  • YOLO Darknet here: Darknet
  • Suggested dataset scale: 2000 images per class && corresponding 500 for validation, and 2000 background images without object in the FoV
  • Labelling tool: labelimg && labelimg repo

Clone our work! (on ubuntu)

  1. 2023 update

    To save you some time, if you are only looking for YOLO IN ROS, please go directly to this repo.

  2. clone our repository into working space

cd ~/xx_ws/src
git clone https://github.com/PAIR-Lab/AUTO.git
  1. Modify
    Go to here if Cuda Available
//uncomment the below if CUDA available
    //this->mydnn.setPreferableBackend(cv::dnn::DNN_BACKEND_CUDA);
    //this->mydnn.setPreferableTarget(cv::dnn::DNN_TARGET_CUDA);

       and here

//change yolo custom weight file location, as well as the cfg file and name file
  1. Compile
cd ~/xx_ws
catkin_make
  1. Run
rosrun offb camera && rosrun offb track
#or can just write a launch file

Cite Us

@article{lo2021dynamic,
  title={Dynamic Object Tracking on Autonomous UAV System for Surveillance Applications},
  author={Lo, Li-Yu and Yiu, Chi Hao and Tang, Yu and Yang, An-Shik and Li, Boyang and Wen, Chih-Yung},
  journal={Sensors},
  volume={21},
  number={23},
  pages={7888},
  year={2021},
  publisher={MDPI}
}

Maintainer

Patrick Li-yu LO: [email protected]
Summer Chi Hao Yiu: [email protected] 
Bryant Yu Tang: [email protected]

auto's People

Contributors

pattylo avatar rockyjbl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

auto's Issues

找不到offb/obj.h

/home/nvidia/AUTO/src/AUTO-master/offb/src/camera.cpp:14:10: fatal error: offb/obj.h: 没有那个文件或目录
#include "offb/obj.h"
^~~~~~~~~~~~
compilation terminated.
AUTO-master/offb/CMakeFiles/camera.dir/build.make:62: recipe for target 'AUTO-master/offb/CMakeFiles/camera.dir/src/camera.cpp.o' failed
make[2]: *** [AUTO-master/offb/CMakeFiles/camera.dir/src/camera.cpp.o] Error 1
CMakeFiles/Makefile2:1874: recipe for target 'AUTO-master/offb/CMakeFiles/camera.dir/all' failed
make[1]: *** [AUTO-master/offb/CMakeFiles/camera.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....

Could NOT find Boost (missing: python) (found version "1.71.0")

When I execute this line of code catkin_make, an error occurs:

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find Boost (missing: python) (found version "1.71.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393  #(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
  AUTO/cv_bridge/CMakeLists.txt:16 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/nvidia/Liuwf/C-tracking/workspace/build/CMakeFiles/CMakeOutput.log".
See also "/home/nvidia/Liuwf/C-tracking/workspace/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

How to solve the error: (-215:Assertion failed) src.channels() == 1 && src.dims == 2 in function 'findNonZero'`

Hi there, when I try to run those command below
rosrun offb camera && rosrun offb track
the system throw out the exception like this in run_yolo.cpp line 166 cv::findNonZero(ROIframe, nonzeros);

360 x 640 time:0 fps: inf call findNonZero OpenCV(4.6.0-dev) /home/pisces/opencv/modules/core/src/count_non_zero.dispatch.cpp:160: error: (-215:Assertion failed) src.channels() == 1 && src.dims == 2 in function 'findNonZero'

and I don't know what to do. Did you meet this problem when you make coding before?

Well, I guess it maybe caused by the camera type, but I'm not very sure. By the way,I run this code on simulation environment(XTDrone, gazebo).

So I hope you can help me to solve the problem.

thanks~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.