Skip to content

Commit

Permalink
Merge branch 'main' into observers
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk authored Aug 13, 2023
2 parents 6fa2427 + 77578f5 commit dee581d
Show file tree
Hide file tree
Showing 38 changed files with 20,174 additions and 317,517 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
rm -rf ./build
mkdir ./build
cp ./README.md ./build/
mkdir -p ./build/data/assets
cp ./data/assets/* ./build/data/assets/
- name: Publish Website
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ jobs:
with:
name: video-processor-coverage
path: ./coverage.xml

# - name: Commit formatted changes
# run: ./scripts/commit-and-push.sh "[CI] update test"

test-engine-and-interface:
name: Test Engine and Interface
Expand Down
39 changes: 19 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<h1 align="center">Spatialyze: A Geospatial Video Analytic System<br/>with Spatial-Aware Optimizations</h1>
<br/>
<p align="center"><img width=60% src="./data/assets/spatialyze.png"></p>

<h2 align="center">A Geospatial Video Analytic System with Spatial-Aware Optimizations</h2>
<p align="center">
<a href="https://github.com/apperception-db/spatialyze/actions/workflows/test.yml"><img
alt="Github Actions Test Status"
Expand Down Expand Up @@ -42,17 +45,13 @@ while maintaining up to 97.1% accuracy compared to unoptimized execution.

## Requirement
```
python >= 3.10
- python >= 3.10 (Prefer Conda/Mamba)
- docker
- cuda >= 11.7 (If you want to use GPU)
```

## How to Setup Spatialyze Repo
### Install dependencies:
#### Debian based Linux
```bash
apt-get update && apt-get install -y python3-opencv
```
### Clone the Spatialyze repo
For ssh:
```bash
git clone --recurse-submodules git@github.com:apperception-db/spatialyze.git
cd spatialyze
Expand Down Expand Up @@ -84,11 +83,11 @@ pip install lap # a bug in lap/poetry/conda that lap needs to be installed usin
### Start Spatialyze Geospatial Metadata Store [MobilityDB](https://github.com/MobilityDB/MobilityDB)
```bash
docker volume create spatialyze-gs-store-data
docker run --name "spatialyze-gs-store" \
-d \
-p 25432:5432 \
-v spatialyze-gs-store-data:/var/lib/postgresql \
mobilitydb/mobilitydb
docker run --name "spatialyze-gs-store" \
--detach \
--publish 25432:5432 \
--volume spatialyze-gs-store-data:/var/lib/postgresql \
mobilitydb/mobilitydb
```
Setup the MobilityDB with customized functions
```bash
Expand All @@ -101,7 +100,7 @@ To run MobilityDB every system restart
docker update --restart unless-stopped spatialyze-gs-store
```

### Try the demo.
### Try the demo (WIP 🚧)
In spatialyze repo:
```sh
jupyter-lab
Expand All @@ -113,11 +112,11 @@ The demo notebook first constructs the world. Then it queries for the trajectory
This paper is currently under review for [VLDB](https://vldb.org/2024/).
```bib
@misc{kittivorawong2023spatialyze,
title={Spatialyze: A Geospatial Video Analytics System with Spatial-Aware Optimizations},
author={Chanwut Kittivorawong and Yongming Ge and Yousef Helal and Alvin Cheung},
year={2023},
eprint={2308.03276},
archivePrefix={arXiv},
primaryClass={cs.DB}
title={Spatialyze: A Geospatial Video Analytics System with Spatial-Aware Optimizations},
author={Chanwut Kittivorawong and Yongming Ge and Yousef Helal and Alvin Cheung},
year={2023},
eprint={2308.03276},
archivePrefix={arXiv},
primaryClass={cs.DB}
}
```
Binary file removed data/amber_videos/traffic-overhead.mp4
Binary file not shown.
Binary file removed data/amber_videos/traffic-scene-mini.mp4
Binary file not shown.
Binary file removed data/amber_videos/traffic-scene-shorter.mp4
Binary file not shown.
Binary file removed data/amber_videos/traffic-scene.mp4
Binary file not shown.
Binary file added data/assets/spatialyze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/h264_videos/BirdsInCage_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/CrowdRun_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/ElFuente1_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/ElFuente2_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/OldTownCross_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/Seeking_h264.mp4
Binary file not shown.
Binary file removed data/h264_videos/Tennis_h264.mp4
Binary file not shown.
Loading

0 comments on commit dee581d

Please sign in to comment.