Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
ede22043
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
ede22043
编写于
8月 30, 2022
作者:
Z
zhiboniu
提交者:
GitHub
8月 30, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update demo&fix mtmct vis; fix=document_fix (#6806)
上级
f5c48604
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
8 deletion
+5
-8
demo/car.jpg
demo/car.jpg
+0
-0
deploy/pipeline/config/examples/infer_cfg_illegal_parking.yml
...oy/pipeline/config/examples/infer_cfg_illegal_parking.yml
+1
-1
deploy/pipeline/config/examples/infer_cfg_vehicle_plate.yml
deploy/pipeline/config/examples/infer_cfg_vehicle_plate.yml
+1
-1
deploy/pipeline/config/infer_cfg_ppvehicle.yml
deploy/pipeline/config/infer_cfg_ppvehicle.yml
+1
-1
deploy/pipeline/pphuman/mtmct.py
deploy/pipeline/pphuman/mtmct.py
+2
-5
未找到文件。
demo/car.jpg
查看替换文件 @
f5c48604
浏览文件 @
ede22043
370.1 KB
|
W:
|
H:
2.2 MB
|
W:
|
H:
2-up
Swipe
Onion skin
deploy/pipeline/config/examples/infer_cfg_illegal_parking.yml
浏览文件 @
ede22043
...
@@ -11,7 +11,7 @@ MOT:
...
@@ -11,7 +11,7 @@ MOT:
VEHICLE_PLATE
:
VEHICLE_PLATE
:
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_limit_side_len
:
736
det_limit_side_len
:
736
det_limit_type
:
"
m
ax
"
det_limit_type
:
"
m
in
"
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_image_shape
:
[
3
,
48
,
320
]
rec_image_shape
:
[
3
,
48
,
320
]
rec_batch_num
:
6
rec_batch_num
:
6
...
...
deploy/pipeline/config/examples/infer_cfg_vehicle_plate.yml
浏览文件 @
ede22043
...
@@ -15,7 +15,7 @@ MOT:
...
@@ -15,7 +15,7 @@ MOT:
VEHICLE_PLATE
:
VEHICLE_PLATE
:
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_limit_side_len
:
736
det_limit_side_len
:
736
det_limit_type
:
"
m
ax
"
det_limit_type
:
"
m
in
"
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_image_shape
:
[
3
,
48
,
320
]
rec_image_shape
:
[
3
,
48
,
320
]
rec_batch_num
:
6
rec_batch_num
:
6
...
...
deploy/pipeline/config/infer_cfg_ppvehicle.yml
浏览文件 @
ede22043
...
@@ -16,7 +16,7 @@ MOT:
...
@@ -16,7 +16,7 @@ MOT:
VEHICLE_PLATE
:
VEHICLE_PLATE
:
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
det_limit_side_len
:
736
det_limit_side_len
:
736
det_limit_type
:
"
m
ax
"
det_limit_type
:
"
m
in
"
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_model_dir
:
https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
rec_image_shape
:
[
3
,
48
,
320
]
rec_image_shape
:
[
3
,
48
,
320
]
rec_batch_num
:
6
rec_batch_num
:
6
...
...
deploy/pipeline/pphuman/mtmct.py
浏览文件 @
ede22043
...
@@ -128,7 +128,7 @@ def save_mtmct_vis_results(camera_results, captures, output_dir,
...
@@ -128,7 +128,7 @@ def save_mtmct_vis_results(camera_results, captures, output_dir,
height
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FRAME_HEIGHT
))
height
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FRAME_HEIGHT
))
fps
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FPS
))
fps
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FPS
))
frame_count
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FRAME_COUNT
))
frame_count
=
int
(
capture
.
get
(
cv2
.
CAP_PROP_FRAME_COUNT
))
fourcc
=
cv2
.
VideoWriter_fourcc
(
*
'mp4v'
)
fourcc
=
cv2
.
VideoWriter_fourcc
(
*
'mp4v'
)
writer
=
cv2
.
VideoWriter
(
out_path
,
fourcc
,
fps
,
(
width
,
height
))
writer
=
cv2
.
VideoWriter
(
out_path
,
fourcc
,
fps
,
(
width
,
height
))
frame_id
=
0
frame_id
=
0
while
(
1
):
while
(
1
):
...
@@ -148,10 +148,7 @@ def save_mtmct_vis_results(camera_results, captures, output_dir,
...
@@ -148,10 +148,7 @@ def save_mtmct_vis_results(camera_results, captures, output_dir,
# add attr vis
# add attr vis
if
multi_res
:
if
multi_res
:
tid_list
=
[
tid_list
=
multi_res
.
keys
()
# c0_t1, c0_t2...
'c'
+
str
(
idx
)
+
'_'
+
't'
+
str
(
int
(
j
))
for
j
in
range
(
1
,
len
(
ids
)
+
1
)
]
# c0_t1, c0_t2...
all_attr_result
=
[
multi_res
[
i
][
"attrs"
]
all_attr_result
=
[
multi_res
[
i
][
"attrs"
]
for
i
in
tid_list
]
# all cid_tid result
for
i
in
tid_list
]
# all cid_tid result
if
any
(
if
any
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录