spmallick / learnopencv

Learn OpenCV : C++ and Python Examples
https://www.learnopencv.com/
20.66k stars 11.52k forks source link

Potential performance issue in Face-Recognition-with-ArcFace: plotting slow in matplotlib == 3.3.0 #896

Open HarryCollins2 opened 3 months ago

HarryCollins2 commented 3 months ago

Description

Hello. I have discovered a performance degradation in the plot function of matplotlib version 3.3.0. And I notice the research project, Face-Recognition-with-ArcFace, depends on pandas 3.3.0 in requirements.txt. I am not sure whether this performance problem in matplotlib will affect this repository. I found some discussions on matplotlib GitHub related to this issue, including https://github.com/matplotlib/matplotlib/issues/18743.

Suggestion

I would recommend considering an version change to matplotlib >= 3.3.3 or <3.3.0(e.g. 3.2.2) or exploring other solutions to optimize the performance of plotting. Any other workarounds or solutions would be greatly appreciated. Thank you!