Consider compatibility
parent
5830e71c35
commit
93ef8a36b2
|
@ -281,21 +281,17 @@ class End2EndModel(BaseBackendModel):
|
||||||
win_name: str = '',
|
win_name: str = '',
|
||||||
show: bool = True,
|
show: bool = True,
|
||||||
score_thr: float = 0.3,
|
score_thr: float = 0.3,
|
||||||
bbox_color=(72, 101, 241),
|
out_file=None,
|
||||||
text_color=(72, 101, 241),
|
**kwargs):
|
||||||
mask_color=None,
|
|
||||||
out_file=None):
|
|
||||||
return BaseDetector.show_result(
|
return BaseDetector.show_result(
|
||||||
self,
|
self,
|
||||||
img=img,
|
img=img,
|
||||||
result=result,
|
result=result,
|
||||||
score_thr=score_thr,
|
score_thr=score_thr,
|
||||||
bbox_color=bbox_color,
|
|
||||||
text_color=text_color,
|
|
||||||
mask_color=mask_color,
|
|
||||||
show=show,
|
show=show,
|
||||||
win_name=win_name,
|
win_name=win_name,
|
||||||
out_file=out_file)
|
out_file=out_file,
|
||||||
|
**kwargs)
|
||||||
|
|
||||||
|
|
||||||
@__BACKEND_MODEL.register_module('single_stage')
|
@__BACKEND_MODEL.register_module('single_stage')
|
||||||
|
|
Loading…
Reference in New Issue