evatestdb-0.0.56
توضیحات
EVA is a visual data management system (think MySQL for videos).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | evatestdb-0.0.56 |
| نام | evatestdb |
| نسخه کتابخانه | 0.0.56 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Georgia Tech Database Group |
| ایمیل نویسنده | arulraj@gatech.edu |
| آدرس صفحه اصلی | https://github.com/georgia-tech-db/eva |
| آدرس اینترنتی | https://pypi.org/project/evatestdb/ |
| مجوز | - |
# EVA (Exploratory Video Analytics)
[](https://travis-ci.com/georgia-tech-db/eva)
[](https://coveralls.io/github/georgia-tech-db/eva?branch=master)
[](https://opensource.org/licenses/Apache-2.0)
[](https://evagatech.readthedocs.io/en/latest/index.html) [](https://gitter.im/georgia-tech-db/eva?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## What is EVA?
EVA is a visual data management system (think MySQL for videos). It supports a declarative language similar to SQL and a wide range of commonly used computer vision models.
## What does EVA do?
* EVA **enables querying of visual data** in user facing applications by providing a simple SQL-like interface for a wide range of commonly used computer vision models.
* EVA **improves throughput** by introducing sampling, filtering, and caching techniques.
* EVA **improves accuracy** by introducing state-of-the-art model specialization and selection algorithms.
## Quick Links
* [Demo](https://ada-00.cc.gatech.edu/eva/playground)
* [Website](https://georgia-tech-db.github.io/eva/index.html)
* [Documentation](https://evagatech.readthedocs.io/en/latest/)
* [Tutorials](https://github.com/georgia-tech-db/eva/tree/master/tutorials)
* [Forum](https://gitter.im/georgia-tech-db/eva)
## Installation
### Dependency
EVA requires Python 3.8 or later and JAVA 8. On Ubuntu, you can install the JAVA by `sudo -E apt install -y openjdk-8-jdk openjdk-8-jre`.
### Recommended
To install EVA, we recommend using virtual environment and pip:
```shell
python3 -m venv env38
. env38/bin/activate
pip install --upgrade pip
pip install evatestdb
```
<details><summary>Install from source </summary>
<p>
```bash
git clone https://github.com/georgia-tech-db/eva.git && cd eva
python3 -m venv env38
. env38/bin/activate
pip install --upgrade pip
sh script/antlr4/generate_parser.sh
pip install .
```
</p>
</details>
<details><summary> QuickStart </summary>
<p>
1. Set up the server and client
- Activate the virtual environment: `. env37/bin/activate`
- Launch EVA database Server: `eva_server`
- Launch CLI: `eva_client`
2. Run the `UPLOAD` command in the client terminal (use the [ua_detrac.mp4](data/ua_detrac/ua_detrac.mp4) as an example):
```mysql
UPLOAD INFILE 'data/ua_detrac/ua_detrac.mp4' PATH 'test_video.mp4';
```
3. Run the `LOAD` command in the client terminal:
```mysql
LOAD DATA INFILE 'test_video.mp4' INTO MyVideo;
```
4. Below is a basic query that should work on the client
```mysql
SELECT id, data FROM MyVideo WHERE id < 5;
```
</p>
</details>
## Example Queries
1. Search frames with a car
```mysql
SELECT id, frame FROM MyVideo WHERE ['car'] <@ FastRCNNObjectDetector(frame).labels;
```

2. Search frames with a pedestrian and a car
```mysql
SELECT id, frame FROM MyVideo WHERE ['pedestrian', 'car'] <@ FastRCNNObjectDetector(frame).labels;
```
2. Search frames containing greater than 3 cars
```mysql
SELECT id, frame FROM DETRAC WHERE array_count(FastRCNNObjectDetector(frame).labels, 'car') > 3;
```
## Documentation
You can find documentation for EVA [here](https://evagatech.readthedocs.io/).
## Contributing
To file a bug or request a feature, please file a GitHub issue. Pull requests are welcome.
For information on installing from source and contributing to EVA, see our
[contributing guidelines](./CONTRIBUTING.md).
## Contributors
See the [people page](https://github.com/georgia-tech-db/eva/graphs/contributors) for the full listing of contributors.
## License
Copyright (c) 2018-2022 [Georgia Tech Database Group](http://db.cc.gatech.edu/)
Licensed under [Apache License](LICENSE).
نیازمندی
| مقدار | نام |
|---|---|
| ==1.20.1 | numpy |
| ==4.5.1.48 | opencv-python |
| ==1.2.3 | pandas |
| ==1.7.1 | torch |
| ==0.8.2 | torchvision |
| ==8.1.2 | Pillow |
| ==1.3.20 | sqlalchemy |
| ==0.10.1 | pymysql |
| ==0.36.6 | sqlalchemy-utils |
| ==3.0.2 | pyspark |
| ==0.9.8 | petastorm |
| ==4.8 | antlr4-python3-runtime |
| ==5.1 | pyyaml |
نحوه نصب
نصب پکیج whl evatestdb-0.0.56:
pip install evatestdb-0.0.56.whl
نصب پکیج tar.gz evatestdb-0.0.56:
pip install evatestdb-0.0.56.tar.gz