Skip to content

Commit

Permalink
Update README.md (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav274 authored Jun 1, 2022
1 parent 0b0ea5e commit 7aee654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ SELECT id, data FROM MyVideo WHERE id < 5;
## Example Queries
1. Search frames with a car
```mysql
SELECT id, frame FROM MyVideo WHERE ['car'] <@ FastRCNNObjectDetector(frame).labels;
SELECT id, data FROM MyVideo WHERE ['car'] <@ FastRCNNObjectDetector(data).labels;
```
![QueryResult](https://georgia-tech-db.github.io/eva/Img/car.gif)

2. Search frames with a pedestrian and a car
```mysql
SELECT id, frame FROM MyVideo WHERE ['pedestrian', 'car'] <@ FastRCNNObjectDetector(frame).labels;
SELECT id, data FROM MyVideo WHERE ['pedestrian', 'car'] <@ FastRCNNObjectDetector(data).labels;
```

2. Search frames containing greater than 3 cars
```mysql
SELECT id, frame FROM DETRAC WHERE array_count(FastRCNNObjectDetector(frame).labels, 'car') > 3;
SELECT id, data FROM DETRAC WHERE array_count(FastRCNNObjectDetector(data).labels, 'car') > 3;
```

## Documentation
Expand Down

0 comments on commit 7aee654

Please sign in to comment.