-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
141 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## Camera skill | ||
|
||
[shared camera](https://github.com/NeonGeckoCom/shared_camera) for OpenVoiceOS | ||
|
||
|
||
TODO | ||
|
||
- PHAL plugin for the actual shared camera implementation | ||
- skill becomes a VUI + UI specifically for taking pictures | ||
- new ovos_workshop skill class for VisionSkill, exposing a live feed (numpy array) property | ||
|
||
## Description | ||
|
||
take pictures, share a camera stream across OpenVoiceOS | ||
|
||
- local | ||
- zmq | ||
- redis | ||
|
||
## Examples | ||
|
||
* "take a picture" | ||
|
||
|
||
## Using webcam in other skills | ||
|
||
if you want to get a file path for the latest picture you can use the | ||
messagebus to get a file path | ||
|
||
|
||
def initialize(self): | ||
self.add_event("webcam.picture", self.get_the_feed) | ||
self.bus.emit(Message("webcam.request")) | ||
|
||
|
||
def get_the_feed(self, message): | ||
file_path = message.data.get("path") | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.