script get killed when encoding process

Hi, i want to minimize my face recognition system from PC to Jetson nano board.

i use this example code:
https://github.com/ageitgey/face_recognition/blob/master/examples/facerec_from_webcam_faster.py

i change the code to can read from multiple images folder and some set up to work in jetson nano

my system works fine on the PC. on a jetson nano, when encoding images from my dataset is done the process get killed before the webcam show up

does anyone know how to solve this problem? thanks in advance!

Hi,
Please share more detail about your usecase. It looks to be pure OpenCV application from the webpages. In this case, no hardware encoder/decoder is used. Please clarify which step in your application triggers the failure.