YI Open API provides mobile SDKs and reference designs for software developers and hardware makers to build cool apps and products with YI 4K Action Cameras
YI Open API provides mobile SDKs and reference designs for software developers and hardware makers to build cool apps and products with YI 4K Action Camera.
This repository contains the libraries, samples and documentation for using the SDKs; it also contains the design diagrams, firmwares, references specs for building hardware systems.
The following is the tree structure of this repository:
The SDKs provide APIs to support the following 4 areas
If you have a VR/360 rig or a multi-cameras system, you can have the cameras connected to a Wi-Fi network or a hotspot, and then control the cameras from your application (built using the YI Open API SDK), by following the steps below:
update firmware (/sdk/bin/{country code}/firmware.bin)
setup config file (/sdk/bin/{country code}/sta.conf)
turn on Wi-Fi on camera
tryout YI360Demo sample (/sdk/{java, swift}/samples/YI360Demo)
Interested in doing live video in your application using your YI 4K Action Camera? Try out our API for live video support. This is how it works:
update firmware (see above for details).
call buildLiveVideoQRCode to generate an binary array and save it as an image. the information needed would include ssid, password, resolution, bitrate, duration, rtmpurl, and the size of the QR code image in pixels.
start your YI 4K Action Camera and choose Live mode (at the bottom of the shooting mode selection screen), you will be prompted to provide the QR code to scan.
scan the QR code image using the camera. few seconds later, your live video stream from the camera will be pushed to the rtmp url that you provided.
YI 4K action cameras are perfect building blocks for VR camera. Its video capturing/encoding spec, image quality, battery life and geometry are all great for VR camera. That’s why Google chose to work with YI to use YI 4K Action Camera to build their next version of JUMP VR camera.
Now we have a reference design for you as well. And the following is all what you need:
introduction. please refer to the doc below:
design. please find the CAD design diagrams here:
https://github.com/YITechnology/YIOpenAPI/tree/master/vr/design
firmwares. to be able to control the 6 cameras on the rig and get them working together using a controller camera, you need update the cameras with the firmwares found here:
https://github.com/YITechnology/YIOpenAPI/tree/master/vr/bin
synchronization cable. for the cable that could be used for doing hardware synchronization of all cameras on the rig, please find its reference spec here:
https://github.com/YITechnology/YIOpenAPI/blob/master/spec/Multi-endpoint Micro USB Cable.pdf
The YI Open API SDKs are licensed as described in LICENSE. To download and use YI Open API SDKs, you hearby agree YI Technologies, Inc. End User License Agreement (EULA) as described in EULA.