This is a listing of Services which can operate in MyRobotLab framework. You could think of these Services as being little software machines managing input, output and communicating to other systems.

WolframAlpha Service

javadoc

Examples:

[[service/WolframAlpha.py]]

TesseractOCR Service

javadoc

TesseractOCR will use optical character recognition on an image to read English words.

Currently limited to Linux 32/64 bit, and Windows 32 bit. It is possible to run on Windows 64 bit by download ing the Java 32 bit JRE, and then starting MRL in 32 bit Java.

There is currently one method to use,
public String OCR(SerializableImage image)
pass TesseractOCR an image, and it returns a String of text.

example: 
This example reads the upper left corner of the screen:
 
AWTRobot awt = (AWTRobot) Runtime.createAndStart("awt", "AWTRobot");
awt.setBounds(0, 0, 100, 100); 
TesseractOCR tess = (TesseractOCR) Runtime.createAndStart("tess",
"TesseractOCR");
tess.subscribe("publishDisplay", awt.getName(), "OCR");

Examples:

[[service/TesseractOCR.py]]

AWTRobot Service

javadoc

This service uses java.awt.Robot to provide a video stream of your screen, and to allow access to programmatically clicking the mouse and pressing keys.

Examples:

[[service/AWTRobot.py]]

Sphinx Service

javadoc

Sphinx is a speech recognition service (Speech To Text)

 

Examples:

[[service/Sphinx.py]]

WebServer Service

javadoc

A WebServer service - allows control through AJAX and web services

The WebServer service load the contenent of the MRL folder on : http://localhost:19191/

localhost is : 127.0.0.1 and the defaulf port is : 19191

Examples:

[[service/WebServer.py]]

AudioCapture Service

javadoc

A simple service to record using a microphone.  The recording line can be configured with a variety of settings.

Examples:

[[service/AudioCapture.py]]

Speech Service

javadoc

The speech service is a speech synthesis service.  It will take strings of characters and attempt to change them into audible speech.  There are two parts to the Speech service, a front end and a back end.  The front end simply accepts a string, but the back end can be switched from FreeTTS or Google.  

FreeTTS is an open source speech synthesis system.  

Examples:

[[service/Speech.py]]

Propeller Service

javadoc

 

Examples:

[[service/Propeller.py]]

Cortex Service

javadoc

Update 2013.05.
 

 

Here is the effect of fluorescent lighting, the waves I suspect are caused by the constructive/destructive 60 hz cycles.

Examples:

[[service/Cortex.py]]

Arm Service

javadoc

Arm needs development.  The proposal is to have a service where lengths, joints and limits can be specified and forward or inverse kinematics can be used to predict or plan spatial location.

Examples:

[[service/Arm.py]]