I am trying to integrate mediapipe into a flask server, basically I upload a photo and then it calculates the pose. It works perfectly the first time. However everytime I try to upload a new image It crashes.
Have you ever faced this error?:
class utils::PreconditionPanic in struct utils::JobSystem::ThreadState &__cdecl utils::JobSystem::getState(void) noexcept:228 reason: This thread has not been adopted.