Code Monkey home page Code Monkey logo

aim_perception's Introduction

aim_perception

Aim Long Form Perception Exercise

Task 1

Usage: python task1.py --Grid Grid(str) --Orientations Orientations(str) --FoV FoV(str)

Sample Input (These values are also stored as default inputs):

python task1.py --Grid '[[0,0,0,0,0],[T,0,0,0,2],[0,0,0,0,0],[0,0,1,0,0],[0,0,0,0,0]]' --Orientations '[180,150]' --FoV '[60,60]'

Task 2

To Run the files:

  1. Include the images folder from the google drive folder shared or run the task2_extract.py file after creating images folder and copying ball_tracking_video.mp4 to task2 folder.
  2. Copy the weights file from weights in google drive folder to the yolov7 directory.
  3. To run track_yolo_kcf.py, run the file from the task2 folder, default parameters can be changed from command line.
  4. To run track_yolo_csrt.py, run the file from the task2 folder, default parameters can be changed from command line.
  5. To run yolov7/detect.py, copy ball_tracking_video.mp4 to yolov7 directory and run detect.py from yolov7 directory. If –save-txt variable is used while running, labels are generated and stored in runs/exps_num/labels/
  6. To run yolo_makecsv.py, I also have labels for one of the experiment runs, exp8 on the repo to run the files. But change the path to generate a different csv.
  7. If using for a different video, bad_frames need to be changed. I refined the detect.py , specifically to soccer_ball.py (which needs to be changed for other applications. )

Folder Link:

https://drive.google.com/drive/folders/1dVZAG0njpsa_eXTuF8SlT1iTLXTxqbbJ?usp=sharing

Yolo Reference:

https://github.com/WongKinYiu/yolov7

aim_perception's People

Contributors

sou0602 avatar

Watchers

 avatar

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.