You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90f0df6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,13 +100,20 @@ curl -X POST "http://localhost:18011/api/v1/jobs/" \
100
100
101
101
### 3. Visualize Results
102
102
103
-
No extra install needed — VideoAnnotator bundles [Video Annotation Viewer](https://github.com/InfantLab/video-annotation-viewer) and serves it directly:
103
+
No extra install needed — VideoAnnotator bundles [Video Annotation Viewer](https://github.com/InfantLab/video-annotation-viewer) and serves it directly. `setup-db` (and `generate-token`) print a one-click link that logs the viewer in for you:
104
104
105
105
```
106
-
Open http://localhost:18011/viewer
106
+
Connect the viewer with one click: http://localhost:18011/viewer-connect?token=...
107
107
```
108
108
109
-
It's pre-configured to talk to this server, so your job results are one click away. Set `VIDEOANNOTATOR_ENABLE_VIEWER=false` if you'd rather not serve it.
109
+
Open that link (not `/viewer` directly) the first time — it stores your API key where the viewer expects it and
110
+
redirects you there. After that, `http://localhost:18011/viewer` remembers you.
111
+
112
+
Without it, the viewer falls back to a built-in demo token that won't authenticate against your server, and the
113
+
job list will show 401s — if that happens, open the viewer's **Settings** panel and paste in the key printed by
114
+
`setup-db`/`generate-token` by hand instead.
115
+
116
+
Set `VIDEOANNOTATOR_ENABLE_VIEWER=false` if you'd rather not serve it.
110
117
111
118
**🎉 That's it!** You now have both automated video processing and interactive visualization.
0 commit comments