biomag-lab / hypocotyl-UNet

MIT License
11 stars 2 forks source link

Remove the numbers from visualize output #8

Open darvida opened 4 years ago

darvida commented 4 years ago

Hello, i would only like to get an output of the bitmaps from the model, do you know how to remove them from the output?

cosmic-cortex commented 4 years ago

Hi!

Does --visualize Falsework? Is this what you had in mind?

darvida commented 4 years ago

No i meant the number and the measurement and the number "N.1","N.2" i would like to get the raw image output prediction from the Unet model. Something like this Example

cosmic-cortex commented 4 years ago

Ok, I see. Unfortunately I don't have time to properly implement such a functionality now, but a quick hack would be to comment out these lines: https://github.com/biomag-lab/hypocotyl-UNet/blob/3b89961954e35761d10b3ceec6119a17a55a354c/src/unet/rprops.py#L224-L229

If you set --Visualize True, it won't display the boxes or numbers. Let me know if it didn't work!

darvida commented 4 years ago

Okey, i will try it out. Thanks :)