Coder Social home page Coder Social logo

seq-nms's Introduction

Seq-NMS for Video Object Detection

This project provides a python implementation of [Seq-NMS] (https://arxiv.org/abs/1602.08465) post-processing algorithm for video object detection.

Setup Details

This repository is developed and tested with python 3.7.3. Setup requires and is tested with cython (0.29.20) and numpy (1.18.5)

Run the following command to build and compile the cython file compute_overlap.pyx:

python setup.py build_ext --inplace

seq-nms's People

Contributors

tmoopenn 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

Watchers

 avatar  avatar

seq-nms's Issues

Output Interpretation

Hi,

I can't understand the output of this script. So I have a sequence of 22 frames and 4 bboxes for each frame with different scores.
and here's the output of the script:

BOX GRAPH SHAPE (21, 4)
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 18.8158267611
[1] 0.996027112

what does this mean?

box_graph shape

box_graph is list of shape (num_frames - 1, num_boxes, k). What is the meaning of k? Could you provide a example boxes and scores for boxes = np.load('/path/to/boxes') and cores = np.load('/path/to/scores')#(num_frames, num_boxes). Thank you.

Questions on the result

Thank you for excellent codes, but I want to ask you something about the outputs. I have the result:
BOX GRAPH SHAPE (463, 300)
[240, 248, 246, ...] 65.35569
[204, 202, ...] 4.000431
[249] 0.19185601
Of course the length of the first list is 464... My question is, isn't the first list enough to be an output? I can draw bboxes on every frames with it, no need to suppress the best_sequence to length 1. Or if it is not, how can I make use of the last list [249] to calculate mAP of this video clip?

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.