Git Product home page Git Product logo

face-matching's Introduction

Hello ๐Ÿ‘‹

Visits Badge Linkedin Badge Gmail Badge 1x Engineer

Hi! I'm Kha Shing, a software engineer who builds Android apps. I focus on modern Android development and learning machine learning on the side.

You can find more about me at https://limkhashing.github.io, or check out my pinned repositories below. Thanks! ๐Ÿ˜

face-matching's People

Contributors

limkhashing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

face-matching's Issues

How to Run?

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'

How to run this api ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.