import face_recognition as fr
import numpy as np
import cv2 as cv
img=fr.load_image_file(‘/home/tulut/Desktop/Programe_Py/.vscode/face_dett/faces/people1.jpg’)
faces_rect = fr.face_locations(frame)
img = cv.cvtColor(img,cv.COLOR_RGB2BGR)
for (t,r,b,l) in faces_rect:
cv.rectangle(frame, (l, t), (r, b), (0, 0, 255), 2)
cv.imshow(“color”,img)
if cv.waitKey(20) & 0xFF == ord(“d”):
cv.destroyAllWindows()
I am running this on a Jetson Nano 4GB and i am getting this “Segmentation fault(core dumped)”, i tried it with a video camera still the same message.
What does it mean and what can i do to solve it?