Consider compatibility

pull/999/head
whhuang 2022-09-05 12:03:04 +08:00
parent 5830e71c35
commit 93ef8a36b2
1 changed files with 4 additions and 8 deletions

View File

@ -281,21 +281,17 @@ class End2EndModel(BaseBackendModel):
win_name: str = '',
show: bool = True,
score_thr: float = 0.3,
bbox_color=(72, 101, 241),
text_color=(72, 101, 241),
mask_color=None,
out_file=None):
out_file=None,
**kwargs):
return BaseDetector.show_result(
self,
img=img,
result=result,
score_thr=score_thr,
bbox_color=bbox_color,
text_color=text_color,
mask_color=mask_color,
show=show,
win_name=win_name,
out_file=out_file)
out_file=out_file,
**kwargs)
@__BACKEND_MODEL.register_module('single_stage')