Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get started read Getting started with a robot

There are plenty of demo’s on how to use various components in https://bitbucket.org/socialroboticshub/framework/src/master/sic_framework/tests/, so check them out!

...

Overview of framework structure

...

Do face recognition on a nao’s camera stream

...

Hypothetical

Code Block
:

...

titleSetters

languagepy
image = None
def set_image_variable(img):
  image = img

bbox = None
def set_bbox_variable(box):
  bbox = box

...


...

 

...

 

...


...

languagepy

nao = Nao(ip="192.168.0.181")
face_recognition = FaceRecognition(ip="127.0.0.1")

nao.top_camera.register_callback(set_image_variable)

face_recognition.connect(nao.top_camera)
face_recognition.register_callback(set_bbox_variable)

while True:
  image.draw(bbox)
  display(image)

Do a single face recognition

...