I have a tensor to read the images in my database, my problem is that I wanted to use dlib to detect the landmarks of my images but dlib doesn't accept a tensor as an imput. what's the solution? I'm really blocked since several days, thanks in advance

I have a tensor to read the images in my database, my problem is that I wanted to use dlib to detect the landmarks of my images but dlib doesn’t accept a tensor as an imput. what’s the solution? I’m really blocked since several days, thanks in advance.