facebookresearch / SlowFast

PySlowFast: video understanding codebase from FAIR for reproducing state-of-the-art video models.
Apache License 2.0
6.51k stars 1.2k forks source link

Prediction result fonts are too small #393

Open SamiurRahman1 opened 3 years ago

SamiurRahman1 commented 3 years ago

Hello, i am running demo using x3d models on custom videos. The prediction results on the top left corner are too small. is there any way i can enlarge the fonts?

Thanks

nicholasguimaraes commented 3 years ago

Yes, I am pretty sure it is in slowfast/visualization/video_visualizer.py

Function draw_text , line 64.

def draw_text( self, text, position, *, font_size=None, color="w", horizontal_alignment="center", vertical_alignment="bottom", box_facecolor="black", alpha=0.5, ):