Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
face_detect
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiajunjie
face_detect
Commits
78ea90ee
Commit
78ea90ee
authored
Feb 04, 2021
by
huangzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubo_night-test vedio
parent
4f4789ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
darknet.cpython-35.pyc
examples/python/hatdet/__pycache__/darknet.cpython-35.pyc
+0
-0
test_darknet.py
examples/python/hatdet/test_darknet.py
+21
-1
ubo_night_test.mp4
examples/python/hatdet/ubo_night_test.mp4
+0
-0
No files found.
examples/python/hatdet/__pycache__/darknet.cpython-35.pyc
0 → 100644
View file @
78ea90ee
File added
examples/python/hatdet/test_darknet.py
View file @
78ea90ee
...
@@ -4,14 +4,34 @@ import darknet as interface
...
@@ -4,14 +4,34 @@ import darknet as interface
import
argparse
import
argparse
import
sys
import
sys
import
time
import
time
import
datetime
'''
#精确模型
configPath='hat-obj-test.cfg'
configPath='hat-obj-test.cfg'
weightPath='hat-obj_last.weights'
weightPath='hat-obj_last.weights'
metaPath='hat.names'
metaPath='hat.names'
thresh =0.9
thresh =0.9
#tiny模型
configPath='hat-obj-tiny-obj-test.cfg'
weightPath='hat-obj-tiny.weights'
metaPath='hat.names'
thresh =0.6 #识别精度
'''
#tiny模型
configPath
=
'hat-fastest-xl-hat.cfg'
weightPath
=
'hat-fastest-xl_final.weights'
metaPath
=
'hat.names'
thresh
=
0.9
#识别精度
yolo
=
interface
.
DarknetYolo
(
configPath
,
weightPath
,
metaPath
,
thresh
)
yolo
=
interface
.
DarknetYolo
(
configPath
,
weightPath
,
metaPath
,
thresh
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Object Detection using YOLO in OPENCV'
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Object Detection using YOLO in OPENCV'
)
...
...
examples/python/hatdet/ubo_night_test.mp4
0 → 100644
View file @
78ea90ee
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment