Start recording your experiences.

class experience_recorder.recorder.recorder.Recorder(global_configuration, task_configuration)

Allows the procceses to run according to the configured senses, it also handles the keyboard and mouse listeners in order to generate the experience dataset.

Parameters:
  • global_configuration (dict) – Previously loaded .yaml file for system configuration

  • task_configuration (dict) – Previously loaded .yaml file for task configuration.

start()

Method that launches mouse and keyboard listeners, if configured, that calls to the store_experience method.

start_senses()

A method that starts sensing processes in parallel.

store_experience(key_info)

Used on listeners, it stores the experience after using the skills on the state immediately prior to having pressed the key, or the mouse.

Files can be written in two formats, ‘.txt’ for OCR processes and ‘.png’ for images depending upon the skills.

Parameters:

key_info (list) – Key pressed, or mouse location depending on the sense that triggered the method.