OptiQuake Local
Experimental local optical vibration detection using an ordinary high-frame-rate webcam.
Languages: English · Español · Português · Français · Deutsch · Italiano · 简体中文 · 日本語 · 한국어 · العربية · हिन्दी · Русский
Author: Lic. Juan Esteban Ramírez
Origin: Dominican Republic, 27 September 2026
Version: 0.1.2-experimental
License: AGPL-3.0
OptiQuake Local turns a compatible webcam into an auxiliary vibration sensor by measuring frame-to-frame scene motion locally. It does not require earthquake feeds, catalogs, or cloud detection to trigger a vibration event.
Initial validation
A controlled Insta360 Link test at 60 fps produced three intentional mechanical events at approximately 0.62 s, 1.42 s and 2.17 s. Their visual peaks were about 19.8x, 34.1x and 23.5x the quiet-section mean.
This validates vibration observability, not earthquake classification, prediction, magnitude estimation, or guaranteed early warning.
Requirements
- Windows 10/11
- Python 3.10+
- FFmpeg in PATH
- UVC webcam; experimentally tested with Insta360 Link
No OpenCV or NumPy is required.
Install from PyPI
python -m pip install optiquake-local
optiquake-local --self-test
Published package: https://pypi.org/project/optiquake-local/
Citable archive: project DOI 10.5281/zenodo.23004638; Zenodo assigns a version DOI to each archived release.
Run
python src\optiquake.py --self-test
python src\optiquake.py --camera "Insta360 Link" --fps 60
Safety and scientific limits
OptiQuake Local is a research prototype, not a certified seismometer or life-safety system. A single sensor at the user's location cannot reliably warn before the first seismic waves reach that same sensor.
Local vibration can come from footsteps, doors, traffic, fans, camera motion, construction, or other non-seismic sources. Do not replace official emergency alerts or certified seismic systems with this software.
The project intentionally reports vibration events, not "earthquakes," until independent multi-sensor validation supports classification.
Privacy
The MVP processes frames locally and does not save video. It emits numeric vibration-event metadata to stdout.
Roadmap
- Collect labeled non-seismic disturbances.
- Compare against a calibrated accelerometer/seismometer.
- Add phone accelerometer/gyroscope correlation.
- Add optional low-frequency microphone features.
- Support multiple physically separated nodes.
- Publish false-positive/false-negative metrics before any earthquake-classification claim.
AI skill
The repository also includes skill/SKILL.md and skill/manifest.json so OptiQuake Local can be consumed as a reusable sensor skill by AI agents and automation projects.
The skill emits structured JSONL events and deliberately reports vibration, not earthquake, unless a separate corroboration layer confirms the event.
See docs/AI_SKILL_INTEGRATION.md for the integration contract.
Contributing
OptiQuake Local is designed to be improved by the community. See CONTRIBUTING.md, GOVERNANCE.md, and ROADMAP.md before submitting changes.
Developers can fork the repository, create focused branches, and propose pull requests. New hardware adapters and AI integrations should preserve the public JSON event contract whenever practical.
Experimental vibration events must not be presented as confirmed earthquakes or guaranteed early warnings without appropriate validation.
Plugin ecosystem
OptiQuake Local includes a versioned Plugin API v1 so community extensions can receive vibration events without modifying the detector core.
Plugins can be loaded from a local directory or discovered as installed Python packages through the optiquake.plugins entry-point group.
Example:
python src\optiquake.py --plugin-dir plugins --seconds 10
The repository includes:
src/plugin_api.py— stable event contract.src/plugin_loader.py— discovery and lifecycle isolation.plugins/example_console.py— minimal bundled example.examples/plugin-package/— independently installable plugin template.registry/plugins.json— community discovery registry.schemas/plugin-manifest.schema.json— manifest schema.
See docs/PLUGIN_DEVELOPMENT.md and docs/PLUGIN_REGISTRY.md.
Metadata
Release files for optiquake-local 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| optiquake_local-0.1.2.tar.gz | 19.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optiquake_local-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.9 kB
Release files / optiquake_local-0.1.2.tar.gz
| Download URL | optiquake_local-0.1.2.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
563e39dd35928ee445f1babe15803a7af0d43e030fb5ab4dd52987de242c2e10
|
|
BLAKE2b-256 checksum How to use checksums |
b17e1f9b21900d690d3e0b83a1bc584918b2f2889fc55d076ff5268524367ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logRelease files / optiquake_local-0.1.2-py3-none-any.whl
| Download URL | optiquake_local-0.1.2-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d787845b8d9ba4b8700bb777469d26a9311106a8855e9f4c1f0102137a5d90d6
|
|
BLAKE2b-256 checksum How to use checksums |
e9d0cf05897f687b579b0ded679a12d858e2e28d111ad4f0b2519cc20364af7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency log