Skip to content

Commit

Permalink
Add duration to Demo Response (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leslie-Wong-H authored Aug 13, 2023
2 parents 3172057 + 04b5363 commit c8c0666
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/GET_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Restart `shotit-worker-watcher`, in case it doesn't catch the change of your fil
docker restart shotit-worker-watcher
```

When `shotit-worker-watcher` detects the existence of video files in the incoming folder, it would start uploading the videos to object-storage powered `shotit-media`. After the upload, the videos would be eliminated, then `shotit-worker-hasher` creates hash and `shotit-worker-loader` loads the hash to vector database. Use the following command to see whether the index process has been completed:
When `shotit-worker-watcher` detects the existence of video files in the incoming folder, it would start uploading the videos to object-storage powered `shotit-media`. After the upload, the videos would be eliminated, then `shotit-worker-hasher` creates hash and `shotit-worker-loader` loads the hash to vector database. Use the following command to see whether the index process has been completed:

```
docker logs -f -n 100 shotit-worker-loader
```
Expand All @@ -87,6 +88,7 @@ Response:
"imdb": "tt1254207",
"filename": "Big_Buck_Bunny.mp4",
"episode": null,
"duration": 596.4169921875,
"from": 473.75,
"to": 479.17,
"similarity": 0.9992420673370361,
Expand All @@ -99,4 +101,4 @@ Response:

**Congratulations!** You have successfully deployed your `shotit` search engine.

Notice: the first time of api call should be longer since shotit has to load hash completely into RAM first.
Notice: the first time of api call should be longer since shotit has to load hash completely into RAM first.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Response:
"imdb": "tt1254207",
"filename": "Big_Buck_Bunny.mp4",
"episode": null,
"duration": 596.4169921875,
"from": 473.75,
"to": 479.17,
"similarity": 0.9992420673370361,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Response:
"imdb": "tt1254207",
"filename": "Big_Buck_Bunny.mp4",
"episode": null,
"duration": 596.4169921875,
"from": 473.75,
"to": 479.17,
"similarity": 0.9992420673370361,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Response:
"imdb": "tt1254207",
"filename": "Big_Buck_Bunny.mp4",
"episode": null,
"duration": 596.4169921875,
"from": 473.75,
"to": 479.17,
"similarity": 0.9992420673370361,
Expand Down

0 comments on commit c8c0666

Please sign in to comment.