Open waqarws opened 6 years ago
Please, can you post your OS and Python versions? I couldn't reproduce the error.
You might be having connectivity issues with the backend. In order to confirm this, can you please execute this script from scratch and print here the result?
from vrpwrp.wrappers.face_detection import FaceDetection
import requests
detector = FaceDetection()
image = requests.get("https://raw.githubusercontent.com/ipazc/mtcnn/master/ivan.jpg").content
print(detector.analyze_bytes(image))
Running this piece of code:
Gives the following error (JSONDecodeError: Expecting value: line 1 column 1 (char 0)):
It used to work just fine earlier. Also it works alright on another system but throws this error on mine. Tried uninstalling and reinstalling the wrapper but to no effect.