Methods and systems for multiple access to a single hardware data stream
First Claim
Patent Images
1. A method comprising:
- initializing, by a first application, a camera that generates an image stream that includes a plurality of images;
establishing, by the first application, exclusive control of the camera, wherein;
the exclusive control of the camera comprise controlling settings of the camera; and
a second application cannot control the settings of the camera;
receiving, from the camera, the image stream at the first application;
establishing, by the first application, an application programming interface (API);
advertising, by the first application, the API;
receiving, at the API, a request from the second application to access the image stream;
sending, by the API, the image stream to the first application and the second application, wherein;
the image stream is a single image stream received from the camera; and
the image stream is the single image stream provided to both the first application and the second application at the same point in time;
analyzing, by the first application, the image stream to determine gesture information from a user;
analyzing, by the second application, the image stream to generate an augmented reality object to overlay onto the image stream;
executing, by the first application, an instruction based on the gesture information; and
overlaying, by the second application, the augmented reality object onto the image stream.
5 Assignments
0 Petitions
Accused Products
Abstract
Methods for providing simultaneous access to a hardware data stream to multiple applications are disclosed. The first application to access a hardware device is responsible for providing and publishing an application programming interface (API) that provides access to the hardware device'"'"'s data stream, which other applications can then call to gain access to the data stream. In some examples, the first application may be a server process or daemon dedicated to managing the hardware device data stream and publishing the API. In some further examples, the first application may instead may carry out user functionality unrelated to managing the hardware device.
-
Citations
16 Claims
-
1. A method comprising:
-
initializing, by a first application, a camera that generates an image stream that includes a plurality of images; establishing, by the first application, exclusive control of the camera, wherein; the exclusive control of the camera comprise controlling settings of the camera; and a second application cannot control the settings of the camera; receiving, from the camera, the image stream at the first application; establishing, by the first application, an application programming interface (API); advertising, by the first application, the API; receiving, at the API, a request from the second application to access the image stream; sending, by the API, the image stream to the first application and the second application, wherein; the image stream is a single image stream received from the camera; and the image stream is the single image stream provided to both the first application and the second application at the same point in time; analyzing, by the first application, the image stream to determine gesture information from a user; analyzing, by the second application, the image stream to generate an augmented reality object to overlay onto the image stream; executing, by the first application, an instruction based on the gesture information; and overlaying, by the second application, the augmented reality object onto the image stream. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a data storage device to store instructions; a processor coupled to the data storage device, the processor operable to execute the instructions; and a camera coupled to the processor, the camera to generate an image stream, wherein the processor is to; establish a first application with exclusive control of the camera, wherein; the exclusive control of the camera comprise controlling the settings of the camera; and a second application cannot control the settings of the camera; receive, at the first application, the image stream from the camera; establish, by the first application, an application programming interface (API); advertise, by the first application, the API receive, at the API, a request from the second application to access the image stream at the API; send, by the API, the image stream to the first application and the second application, wherein; the image stream is a single image stream received from the camera; and the image stream is the single image stream provided to both the first application and the second application at the same point in time; analyze, by the first application, the image stream to determine gesture information from a user; analyze, by the second application, the image stream to generate an augmented reality object to overlay onto the image stream; execute, by the first application, an instruction based on the gesture information; and overlay, by the second application, the augmented reality object onto the image stream. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium to store a set of instructions that when executed by a processor, cause the processor to:
-
initialize a hardware device; receive a data stream from the hardware device; establish a first application with exclusive control of the hardware device, wherein; the exclusive control of the hardware device comprise controlling the settings of the hardware device; and a second application cannot control the settings of the hardware device; receive the data stream at the first application; establish an application programming interface (API); advertise the API to the second application; receive a request from the second application to access the data stream; send the data stream to the second application, wherein; the data stream is a single data stream received from the hardware device; and the data stream is the single data stream provided to both the first application and the second application at the same point in time; analyze, by the first application, the data stream to determine gesture information from a user; analyze, by the second application, the data stream to generate an augmented reality object to integrate into the data stream; execute, by the first application, an instruction of the set of instructions based on the gesture information; and integrate, by the second application, the augmented reality object into the data stream. - View Dependent Claims (14, 15, 16)
-
Specification