{{$t('user.suspension_warning')}}
Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

ml5 Example: Feature Extractor Image Regression

{{$t('general.by')}}
1. With the slider on the middle and your face over the red square, click the 'Add Sample' button. Try adding around 15 images. 2. Move the slider all the way to the left and your head all the way to the left of your camera, click the 'Add Sample' button. Try adding around 15 images. 3. Move the slider all the way to the right and your head all the way to the right of your camera, click the 'Add Sample' button. Try adding around 15 images. 4. Click 'Train' and wait for the model to be trained 5. Click 'Start predicting!' and move your face left and right!
We recovered an unsaved version of this sketch. Please review your changes below.

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    {{liveCodeLink}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}