how to call Python functions from my Node.js application to make use of face_recognition library of python, i am new to python environment. this is my python script
import face_recognition
A = face_recognition.load_image_file('C:/Users/shivam/Desktop/facenet/database/x.jpg')
A_face_encoding = face_recognition.face_encodings(A)[0]
B = face_recognition.load_image_file('C:/Users/shivam/Desktop/facenet/database/y.jpg')
B_face_encoding = face_recognition.face_encodings(B)[0]
# Compare faces
results = face_recognition.compare_faces([A_face_encoding], B_face_encoding)
if results[0]:
print('Verified')
else:
print('Unverified')
how to modify it to be a able to use in node.js "child process"