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.

FindHuman Service

javadoc

Attempts to find humans through OpenCV facedetect. Utilizes a pan / tilt kit and LKOptical track points to track human after detection.

 

 

So far you have to use Eclipse and change the FindHuman.java file in the service directory to set your Arduino pin and com port settings, etc. Then start it like you would any other MRL Service.

Examples:

[[service/FindHuman.py]]

Twitter Service

javadoc

References

[[Twitter.simpletweet.py]]

[[Twitter.uploadpicture.py]]

[[Twitter.uploadFromOpenCV.py]]

Examples:

[[service/Twitter.py]]

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]]