[606337]: / drunet / predict_volume.py

Download this file

9 lines (7 with data), 264 Bytes

1
2
3
4
5
6
7
8
import segment
if __name__ == '__main__':
Seg = segment.Segmentation()
# start predict
input_dir = r'' # Fill in the image path
save_dir = r'' # fill in save path
Seg.predict_blood_volume(input_dir, save_dir, dpi=96, thickness=0.45)