ageitgey/face_recognition

Import gets stuck while using it inside a myfunctions module

Dapi033 opened this issue · 0 comments

  • face_recognition version: '1.2.3'
  • Python version: 3.11
  • Operating System: Windows

Description

For organization purposes i have my functions inside a myfunctionsfolder/module so i can import them from there. But somehow when importing the library it just gets stuck and doesnt raise an exception even. Other functions in the module do work and when i comment out the import for face_recognition the module starts working again. When i copy the exact function script to my main folder so out of the module it works again just fine. Even more weird is that it somehow does work for like one or two face_locations as an example before getting stuck.

What I Did

I have tried eveything i could think of before realising it is because of the import. And since i have tried preloading it in my main script but i just cant think of other possible resolutions