DoveDB 🕊️ is a database for intelligent video data management and analysis. Drawing inspiration from the world's most advanced vision AI methods, DoveDB represents a significant leap forward in open-source research and development in the field of video data handling.
Here is a video to introduce our DoveDB system.
To get started with DoveDB and experience its core features, you can use the MVP version of DoveDB available in This repository.
- Clone the repository
git clone https://github.com/dovedb/DoveDB_MVP.git- Ensure either
OpenGaussorPostgreSQLis installed.
You have two options for installing the database management system as the engine of index storage: OpenGauss or PostgreSQL. Choose the one that best suits your needs.
- Option1:
OpenGauss
To install OpenGauss, please follow the installation instructions provided in the official documentation.
- Option2:
PostgreSQL
Alternatively, you can install PostgreSQL by following the steps outlined in the official PostgreSQL documentation. You can find the installation guide here.
- Install the necessary dependencies provided in the requirements.txt.
cd src && pip install -r requirements.txt - Download the provided ETL (Extract, Transform, Load) data which will be used for demonstration purposes.
Once downloaded, move the file to the src/data directory.
- Launch DoveDB Server
Navigate to the
srcdirectory and start the server:
cd src
python run_server.py --load_etl_data data/parsed.json- Launch DoveDB Client In another terminal instance, initiate the client:
cd src
python client.py- Aggregation Query:
Count Cars in the First 120 Seconds:
SELECT COUNT(DISTINCT track_id) FROM cars WHERE timestamp < 120 AND confidence > 0.7;Calculate Stay Duration of a Specific Car:
SELECT MAX(timestamp) - MIN(timestamp) as stay_duration FROM cars WHERE track_id = 20;- Selection Query:
Top Frames with Most Cars:
SELECT frameid, COUNT(track_id) as car_count FROM cars GROUP BY frameid ORDER BY car_count DESC LIMIT 5;-
Co-movement Pattern Mining from Videos. VLDB 2024 [pdf] [cite]
-
DoveDB: A Declarative and Low-Latency Video Database. VLDB 2023 demo. [pdf] [cite]
-
Towards One-Size-Fits-Many: Multi-Context Attention Network for Diversity of Entity Resolution Tasks. TKDE 2022. [pdf] [cite]
We greatly value your contributions and are committed to making your involvement with DoveDB as straightforward and transparent as possible.
Apache-2.0 License: Our open-source software is made available under the Apache-2.0 license, which is approved by the Open Source Initiative (OSI). This open-source license encourages collaboration and knowledge sharing and is particularly suitable for students and enthusiasts who want to contribute and utilize our software.
Have questions, suggestions, bug reports? Reach the project community via these emails:


