Cloud APIs

1

Agree to terms of use

Visit RICOH Developer Connection Management Console and click the [Log in with RICOH Account] button if you agree to terms of RICOH Cloud API.

2

Register account

On the Web page that appears after you click the [Subscribe] button, enter the information required to register for the RICOH account service.
After entering the information, you will receive an email informing you that an account has been created. Click the link in the email body to complete account registration. (Use the same Web browser you used when you clicked the [Subscribe] button to access the URL in the email body.)

3

Open the management console

After step 2, you will be automatically redirected to the Management Console and click the [Create Client] button.

4

Create an API client and add products

After you see the Client ID and Client Secret, click the [Add product] button.
Select the product(the combination of [Name] and [Plan]) of RICOH Cloud API and click [Add] button to enable the API on the Client ID.

5

Use Cloud APIs

For RICOH Visual Recognition API

Install SDK and Setup

$ git clone https://github.com/ricohapi/ricoh-cloud-sdk-python.git
$ cd ricoh-cloud-sdk-python
$ pip install .
$ pip install pillow

Rename template.config.json to config.json and set your credentials.
Run to Use Visual Recognition API
Put photos to be recognized in the directory.

# FaceDetection Sample
$ python face_detection.py -f ./sample_1.jpg
# HumanDetection Sample
$ python human_detection.py -f ./sample_2.jpg
# FaceRecognition Sample
$ python face_recognition.py -s ./sample_3a.jpg -t ./sample_3b.jpg

For RICOH Live Streaming API

Install SDK and Setup

$ git clone https://github.com/ricohapi/ricoh-cloud-sdk-js.git
$ cd ricoh-cloud-sdk-js/samples/sfu-server/
$ export RDC_CLIENT_ID=<your client id>
$ export RDC_CLIENT_SECRET=<your client secert>

Run web server with port:3000

$ yarn
$ yarn start

You can access to broadcasting page sample by http://localhost:3000/broadcast.html . Push the broadcast button, you can start stream.
You can access to watching page sample by http://localhost:3000/watch.html . Push the list button, you can start listing rooms.

For RICOH Peer-to-Peer Communication API

Set your app’s RTCPeerConnection configuration
The following example demonstrates how to set your app’s RTCPeerConnection configuration to use both STUN Service and TURN Service:

const configuration = {
  iceServers: [{
    urls: "stun:stun.api.ricoh:3478"
  }, {
  urls: "turn:turn.api.ricoh:3478?transport=udp",
    username: "<sub in ID Token>",
    credential: "<Access Token>"
  }]
};
const pc = new RTCPeerConnection(configuration);

Camera SDKs

1

Agree to terms of use

Visit RICOH Developer Connection Management Console and click the [Log in with RICOH Account] button if you agree to terms of RICOH Cloud API.

2

Register account

On the Web page that appears after you click the [Subscribe] button, enter the information required to register for the RICOH account service.
After entering the information, you will receive an email informing you that an account has been created. Click the link in the email body to complete account registration. (Use the same Web browser you used when you clicked the [Subscribe] button to access the URL in the email body.)

3

Open the management console

After step 2, you will be automatically redirected to the Management Console. Click [Camera SDKs] and you can download RICOH Camera SDKs.

THETA Plug-in

1

Go to THETA Plug-in Partner Program page

Visit RICOH THETA Plug-in Partner Program and click [Register now] .

2

Input registration form

Input your email address to the form and a link to full registraton form will be sent to you.