Skip to content
BCKM edited this page Sep 11, 2024 · 10 revisions

Create an instance of a Neosoco object


from neopia import *

n = Neosoco()

Face detection


fd = FaceDetection()
if fd.camera_open(0):
    while True:
        if fd.start_detection() > 0:
            print('Kimdir kirdi!!!')
            n.led_on()
            n.buzzer()
            n.led_off()
Clone this wiki locally