Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Refactor, add webcam demo...lots of stuff #70

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Code Refactor, add webcam demo...lots of stuff #70

wants to merge 16 commits into from

Conversation

clement10601
Copy link
Contributor

first of all, plz ignore my bad commit and coding style...m(_ _)m

  1. yolo3_one_file_to_detect_them_all.py modifed and add a new script yolo3_cam.py which can use webcam as source and send every frame to yolo3 prediction (pretty slow on mac book pro, less than 1 fps)

  2. add model module
    from model.yolo3 import make_yolov3_model
    I am working on something like:
    class yolo3(nn.Modules)
    and make importable by folling command
    from model import yolo3

  3. change demo script import functions

from utils.bbox import BoundBox
from utils.tools import preprocess_input, decode_netout
from utils.tools import correct_yolo_boxes, do_nms, draw_boxes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant