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

Usage #2

Open
yoloboy2500 opened this issue Aug 20, 2018 · 1 comment
Open

Usage #2

yoloboy2500 opened this issue Aug 20, 2018 · 1 comment

Comments

@yoloboy2500
Copy link

Hi,

To use this, do we need to completely install this version of darknet, or can we simply add a few of the classes included here?

Thanks.

@xueeinstein
Copy link
Owner

@yoloboy2500 There are two methods to use this version of darknet.

  1. CLI API. Build this version of darknet and add visualization=1 to net config, like
    visualization=1

    Then you can use original darknet CLI API to detect your own image.
  2. Python API. Please see this example
    res = yolo.detect_v(img, outfile="yolo_det")

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

No branches or pull requests

2 participants