mirror of
https://github.com/NanjingForestryUniversity/supermachine-tobacco.git
synced 2025-11-08 22:33:54 +00:00
Merge remote-tracking branch 'originn/master'
This commit is contained in:
commit
9b544a38d4
@ -30,7 +30,7 @@ class Config:
|
||||
threshold_low, threshold_high = 10, 230
|
||||
threshold_s = 190 # 饱和度的最高允许值
|
||||
rgb_size_threshold = 4 # rgb的尺寸限制
|
||||
ai_path = 'weights/best.pt'
|
||||
ai_path = 'weights/best0823.pt'
|
||||
ai_conf_threshold = 0.5
|
||||
|
||||
# mask parameter
|
||||
|
||||
2
main.py
2
main.py
@ -122,7 +122,7 @@ def main(only_spec=False, only_color=False, if_merge=False, interval_time=None,
|
||||
if single_spec:
|
||||
output_fifos = [mask_fifo_path, ]
|
||||
elif single_color:
|
||||
output_fifos = [rgb_fifo_path, ]
|
||||
output_fifos = [rgb_mask_fifo_path, ]
|
||||
else:
|
||||
output_fifos = [mask_fifo_path, rgb_mask_fifo_path]
|
||||
for fifo, mask in zip(output_fifos, masks):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user