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
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -65,11 +65,11 @@ import videodb
65
65
conn = videodb.connect(api_key="YOUR_API_KEY")
66
66
```
67
67
68
-
## Working with a single Video
68
+
## Working with a Single Video
69
69
70
70
---
71
71
72
-
β¬οΈ **Uploading a Video**
72
+
### β¬οΈ Uploading a Video
73
73
74
74
Now that you have established a connection to VideoDB, you can upload your videos using `conn.upload()`.
75
75
You can directly upload from `youtube`, `any public url`, `S3 bucket` or a `local file path`. A default collection is created when you create your first connection.
To search bits inside a video, you have to `index` the video first. This can be done by a simple command.
113
113
_P.S. Indexing may take some time for longer videos._
@@ -127,9 +127,9 @@ In the future you'll be able to index videos using:
127
127
2.**Faces**.
128
128
3.**Specific domain Index** like Football, Baseball, Drone footage, Cricket etc.
129
129
130
-
### Viewing Search Results :
130
+
### Viewing Search Results
131
131
132
-
`video.search()`will return a `SearchResults` object, which contains the sections or as we call them, `shots` of videos which semantically match your search query.
132
+
`video.search()`returns a `SearchResults` object, which contains the sections or as we call them, `shots` of videos which semantically match your search query.
133
133
134
134
-`result.get_shots()` Returns a list of Shot(s) that matched the search query.
135
135
-`result.play()` Returns a playable url for the video (similar to video.play()) you can open this link in the browser, or embed it into your website using an iframe.
@@ -140,7 +140,7 @@ In the future you'll be able to index videos using:
140
140
141
141
`VideoDB` can store and search inside multiple videos with ease. By default, videos are uploaded to your default collection.
142
142
143
-
### π Using Collection to upload multiple Videos
143
+
### π Using Collection to Upload Multiple Videos
0 commit comments