I opened the server and put one image and one video in the "/" url and ran it.
However, the following error occurs.
[2022-10-18 16:03:41,016] ERROR in app: Exception on /api/upload [POST]
Traceback (most recent call last):
File "/home/user/anaconda3/envs/face-match/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/home/user/anaconda3/envs/face-match/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/user/anaconda3/envs/face-match/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/home/user/anaconda3/envs/face-match/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/user/programing/dob/face-similarity/Face-Matching/app.py", line 170, in upload_image_video
return compare_face(known_filename_path,
File "/home/user/programing/dob/face-similarity/Face-Matching/src/face_processing.py", line 66, in compare_face
extract_frames_from_video(video_path, request_frames_folder_path)
File "/home/user/programing/dob/face-similarity/Face-Matching/src/orientation_processing.py", line 51, in extract_frames_from_video
rotate_code = check_rotation(video_path)
File "/home/user/programing/dob/face-similarity/Face-Matching/src/orientation_processing.py", line 17, in check_rotation
meta_dict = ffmpeg.probe(path_video_file)
File "/home/user/anaconda3/envs/face-match/lib/python3.8/site-packages/ffmpeg/_probe.py", line 20, in probe
p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/home/user/anaconda3/envs/face-match/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/user/anaconda3/envs/face-match/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'