Deepfake
Project description
Deepfake
author: Zhuoran Yu
Description
Deepfake techniques, which present realistic AI-generated videos of people doing and saying fictional things, have the potential to have a significant impact on how people determine the legitimacy of information presented online.
This operator predicts the probability of a fake video for a given video.This is an adaptation from DeepfakeDetection.
Code Example
Load videos from path '/home/test_video' and use deepfake operator to predict the probabilities of fake videos.
import towhee
(
towhee.glob['path']('/home/test_video')
.deepfake['path', 'scores']()
.select['path', 'scores']()
.show()
)
[0.9893, 0.9097]
Interface
A deepfake operator takes videos' paths as input. It predicts the probabilities of fake videos.The higher the score, the higher the probability of it being a fake video.(It can be considered to be a fake video with score higher than 0.5)
Parameters:
filepath: str
Absolute address of the test videos.
Returns: list
The probabilities of videos being fake ones.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file towhee-deepfake-0.0.3.tar.gz.
File metadata
- Download URL: towhee-deepfake-0.0.3.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af3063cc3debe83a049271d5599eb4154ebb57dc21123b73d9d32676a0a4d11
|
|
| MD5 |
326e648f56317c2215b475a94bd96f40
|
|
| BLAKE2b-256 |
12c687bdff58c5d3c7789b0642c38aaed4d0204f6f39d1fd0f589c2aedb2bd10
|
File details
Details for the file towhee_deepfake-0.0.3-py3-none-any.whl.
File metadata
- Download URL: towhee_deepfake-0.0.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22ad352c97a252a1c8c21e3c1334ca1b8d0e2ecb8a4987268ccb275e4db32447
|
|
| MD5 |
7573309aed125c1429ea13f44019a4a1
|
|
| BLAKE2b-256 |
cd5d29afa1130ae3ba290e4210cbd5a12c7df5ab05acd101793f5993359a6592
|