Skip to content

Repository files navigation

Chrome Extension Setup

1. Start the local detector server

From the project root, install the Python dependencies if needed:

python3 -m pip install torch torchvision pillow

Then run the server:

python3 Model_trainingfiles/deepfake_server.py

Keep this terminal open. The extension talks to the server at http://127.0.0.1:8765.

2. Load the Chrome extension

  1. Open Chrome and go to chrome://extensions.
  2. Turn on Developer mode.
  3. Click Load unpacked.
  4. Select the Chromeextension folder in this project.
  5. Pin Local AI Image Detector from the extensions menu if you want quick access.

3. Use it

Open a web page with images. The extension scans visible images and adds a small badge with the local model result. Use the popup's Rescan page button after the server starts or when a page changes.

To check that the server is reachable, open:

http://127.0.0.1:8765/health

About

My shot at AI deepfake detection using a chrome extension and local python server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages