- Python version >= 3.8
- pip install opencv-python numpy pyglet
- install ffmpeg
python player.py Queries/video3_1.mp4
.
├── CSCI576_features.pkl
├── Dataset // Source files
│ ├── video1.mp4
│ ├── video10.mp4
│ ├── video11.mp4
│ ├── video12.mp4
│ ├── video13.mp4
│ ├── video14.mp4
│ ├── video15.mp4
│ ├── video16.mp4
│ ├── video17.mp4
│ ├── video18.mp4
│ ├── video19.mp4
│ ├── video2.mp4
│ ├── video20.mp4
│ ├── video3.mp4
│ ├── video4.mp4
│ ├── video5.mp4
│ ├── video6.mp4
│ ├── video7.mp4
│ ├── video8.mp4
│ └── video9.mp4
├── Queries
│ ├── video10_1.mp4
│ ├── video11_1.mp4
│ ├── video1_1.mp4
│ ├── video2_1.mp4
│ ├── video3_1.mp4
│ ├── video4_1.mp4
│ ├── video5_1.mp4
│ ├── video6_1.mp4
│ ├── video6_2.mp4
│ ├── video7_1.mp4
│ ├── video8_1.mp4
│ └── video9_1.mp4
├── README.md
├── player.py // main function to run a single query
├── query_match.py // query match lib
└── run_queries.py // test the runtime of a series of queries
- More tests on exact match, play, pause, reset buttons and audio/video synchronization.
- Faster.
- When it finishes playing, start from the beginning.
- Reset button has bug
- Integrate, input retrieval video and output original video with exact frame index.
- Sometimes
player.py
runs with black video content.
https://github.com/pyglet/pyglet/blob/master/examples/media/media_player.py#L169