79177c2fd04b57ef73dd80d836d39e17876f9012,luminoth/vis.py,,draw_label,#Any#Any#Any#Any#Any#Any#,91
Before Change
// Attempt to get a native TTF font. If not, use the default bitmap font.
global SYSTEM_FONT
if SYSTEM_FONT:
label_font = SYSTEM_FONT.font_variant(size=round(16 * scale) )
prob_font = SYSTEM_FONT.font_variant(size=round(12 * scale))
else:
label_font = ImageFont.load_default()
After Change
// Attempt to get a native TTF font. If not, use the default bitmap font.
global SYSTEM_FONT
if SYSTEM_FONT:
label_font = SYSTEM_FONT.font_variant(size=int(round(16 * scale)) )
prob_font = SYSTEM_FONT.font_variant(size=int(round(12 * scale)))
else:
label_font = ImageFont.load_default()
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 3
Instances Project Name: tryolabs/luminoth
Commit Name: 79177c2fd04b57ef73dd80d836d39e17876f9012
Time: 2018-11-12
Author: dekked@gmail.com
File Name: luminoth/vis.py
Class Name:
Method Name: draw_label
Project Name: OpenNMT/OpenNMT-py
Commit Name: 093926ae1af99e4577052fca6b581c3f886afba2
Time: 2016-10-03
Author: soumith@fb.com
File Name: imagenet/transforms.py
Class Name: Scale
Method Name: __call__
Project Name: OpenNMT/OpenNMT-py
Commit Name: 80aee3009674d3316fe3a67f0ee2f3ccae6cb88d
Time: 2016-10-31
Author: ngimelshein@nvidia.com
File Name: imagenet/transforms.py
Class Name: RandomSizedCrop
Method Name: __call__
Project Name: tryolabs/luminoth
Commit Name: 79177c2fd04b57ef73dd80d836d39e17876f9012
Time: 2018-11-12
Author: dekked@gmail.com
File Name: luminoth/utils/predicting.py
Class Name: PredictorNetwork
Method Name: predict_image
Project Name: OpenNMT/OpenNMT-py
Commit Name: 80aee3009674d3316fe3a67f0ee2f3ccae6cb88d
Time: 2016-10-31
Author: ngimelshein@nvidia.com
File Name: imagenet/transforms.py
Class Name: CenterCrop
Method Name: __call__
Project Name: tryolabs/luminoth
Commit Name: 79177c2fd04b57ef73dd80d836d39e17876f9012
Time: 2018-11-12
Author: dekked@gmail.com
File Name: luminoth/vis.py
Class Name:
Method Name: vis_objects
Project Name: NifTK/NiftyNet
Commit Name: e2a6b11582a9379afac0d7bcd7acc426e1e6119d
Time: 2018-02-21
Author: eli.gibson@gmail.com
File Name: niftynet/network/simple_gan.py
Class Name: ImageGenerator
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: 6da0d3cd3b28bb85c2766a90fc205ab80b932eb0
Time: 2017-08-17
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageGenerator
Method Name: layer_op