{"id":13574150,"url":"https://github.com/cabelo/oneapi-antispoofing","last_synced_at":"2026-04-05T20:06:21.452Z","repository":{"id":97479181,"uuid":"308787974","full_name":"cabelo/oneapi-antispoofing","owner":"cabelo","description":"Certiface AntiSpoofing use oneAPI for fast decode video for perform liveness detection with inference.","archived":false,"fork":false,"pushed_at":"2023-12-01T18:06:59.000Z","size":14654,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-05T09:43:57.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cabelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-10-31T02:27:36.000Z","updated_at":"2023-03-06T19:57:49.000Z","dependencies_parsed_at":"2023-04-20T15:03:46.207Z","dependency_job_id":null,"html_url":"https://github.com/cabelo/oneapi-antispoofing","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cabelo%2Foneapi-antispoofing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cabelo%2Foneapi-antispoofing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cabelo%2Foneapi-antispoofing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cabelo%2Foneapi-antispoofing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cabelo","download_url":"https://codeload.github.com/cabelo/oneapi-antispoofing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247194188,"owners_count":20899440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:00:47.201Z","updated_at":"2026-04-05T20:06:21.433Z","avatar_url":"https://github.com/cabelo.png","language":"C++","funding_links":[],"categories":["Table of Contents","Visual"],"sub_categories":["AI - Computer Vision","Others"],"readme":"# oneapi-antispoofing\n\n***Certiface AntiSpoofing*** use oneAPI for fast decode video for perform liveness detection with inference. The system is capable of spotting fake faces and performing anti-face spoofing in face recognition systems.  The user could try to hold up a your photo. Maybe they even have a photo or video on their smartphone (obtained in facebook, for example)\n\nThis project/solution use harness heterogeneous computing architecture including CPUs and GPUs from servers to notebooks. The software tools such as oneVPL, computer vision techniques with openCV and Deep Learning technologies based on Intel features.​\n​\n## Methodology / Approach\n\nUsing deep learning for detect photo with fast decoder h264/h265 format video. Technologies Used:\n- oneAPI\n- openCV\n- openVINO\n\nTechnologies Used:  oneAPI and openCV\n\n## Installation instructions:\n\n***Under construction***\n\nBelow, a quick description of how to manually install the ***oneapi-antispoofing*** project.\n\n### Prepare ambient\n\nInstall the openCV and oneVPL library, set up the oneapi development environment as in the example below.\n\n``` bash\n$ source /opt/intel/oneapi/setvars.sh \n:: initializing oneAPI environment ...\n:: dnnl -- latest\n:: advisor -- latest\n:: dpcpp-ct -- latest\n:: dev-utilities -- latest\n:: ipp -- latest\n:: ccl -- latest\n:: compiler -- latest\n:: ippcp -- latest\n:: daal -- latest\n:: debugger -- latest\n:: mpi -- latest\n:: intelpython -- latest\n:: tbb -- latest\n:: vpl -- latest\n:: vtune -- latest\n:: mkl -- latest\n:: oneAPI environment initialized ::\n\n```\n\n### Clone and build the project\n\nClone the repository at desired location:\n\n``` bash\n$ git clone https://github.com/cabelo/oneapi-antispoofing\n$ cd oneapi-antispoofing\n$ mkdir build\n$ cd build\n$ cmake ..\n$ make\n\n```\n\n### Run the example\n\nBelow, how to run the project. Enter in build folder and execute the commands:\n\n``` bash\n$ wget https://service.assuntonerd.com.br/downloads/antispoofing.weights\n$ wget https://service.assuntonerd.com.br/downloads/antispoofing.cfg\n$ make run\n\n```\nOr to test fraud, use the command below:\n\n``` bash\n$ ./antispoofing ../content/fraud-video.h265 y\n\n```\n\nTo test real case, use the command below:\n\n``` bash\n$ ./antispoofing ../content/real-video.h265 y\n\n```\n\n### To Do\n- [x] First version\n- [x] Publish in github\n- [x] Teste and port (if necessary) to oneAPI Beta10\n- [x] Teste and port (if necessary) to oneAPI 2023\n- [x] Teste and port to oneVPL 2023\n- [ ] Create webserver REST\n\n## The final result\n\nBellow an example running in my machine with Linux OpenSUSE Leap 15.2, 15.3 and 15.4.\n\ncontact : Alessandro de Oliveira Faria (A.K.A.CABELO) cabelo@opensuse.org\n\nThank you Sujata Tibewala and Emma Mai.\n\n![](img/fraud.gif)\n\n![](img/ok.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcabelo%2Foneapi-antispoofing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcabelo%2Foneapi-antispoofing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcabelo%2Foneapi-antispoofing/lists"}