First of all, thank you for your work
When I used the following code
from pyskl.apis import inference_recognizer, init_recognizer
source = "276985.mp4"
cap = cv2.VideoCapture(source)
while cap.isOpened():
# Read a frame from the video
success, frame = cap.read()
if success:
print("yes")
cv2.imshow("Ytest", frame)
# Break the loop if 'q' is pressed
if cv2.waitKey(1) & 0xFF == ord("q"):
break
I found that cv2. imshow() could not be executed. In pychar, it prompted "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)"and commented out#from pyskl. apis import conferenceRecognizer, init'recognizer to display it normally. I debugged the conference_ Recognizer/init_ The recognizer function did not detect any issues. May I ask what may be causing this problem and how should I make the necessary changes.
First of all, thank you for your work When I used the following code
I found that cv2. imshow() could not be executed. In pychar, it prompted
"Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)"
and commented out#from pyskl. apis import conferenceRecognizer, init'recognizer
to display it normally. I debugged theconference_ Recognizer/init_ The recognizer
function did not detect any issues. May I ask what may be causing this problem and how should I make the necessary changes.