Learn How to Create a Color-Changing Chameleon

Hi there! Today we are going to teach you how to use VIA Pixetto and our native Scratch coding platform, which we call Blocks, to create a cute color-changing chameleon.

Before we get started, make sure to download the ‘Chameleon.sb3’ file form http://cdn.viaembedded.com/Pixetto/Demo/Chameleon.sb3 . If not already available on your personal computer, please download VIA Pixetto Studio from www.pixetto.ai beforehand. (For more detailed instructions, please refer to out VIA Pixetto vision sensor video tutorial.)

Let’s do this!

Step 1

Connect your VIA Pixetto to your PC. (For more detailed instructions,
please refer to our ‘Introduction to VIA Pixetto Step-by-Step Guide‘.)

create a color changing chameleon

Open the Pixetto Utility application in Pixetto Studio.

Select the ‘Color Detection‘ function.

Select the colors you would like VIA Pixetto to detect and click ‘Apply‘.

Step 2

Aim VIA Pixetto’s camera at the objects and make sure the labels of the respective colors for each object appear.

color changing

Close Pixetto Utility once you have finished testing.

Step 3

Go to VIA Pixetto’s integrated online platform, www.pixetto.ai, and click
on the ‘Tools & Docs‘ tab in the upper right corner.

Once on the ‘Documentation & Software Download‘ webpage, scroll
down to the very bottom. Click the ‘Machine Learning Accelerator‘ icon
to access the Machine Learning Accelerator webpage.

Step 4

In the upper left-hand corner, select ‘File‘. Select ‘Upload from your computer‘ and then open the ‘Chameleon.sb3’ file that you had previously
downloaded.

color changing

Step 5

In the upper middle part of the Blocks page, select your ‘Connection‘ option. In the pop-up window, select ‘Connect‘ for the device you would like to connect, then click ‘Go to Editor‘.

color changing

color changing

Step 6

Aim your VIA Pixetto at different objects of the colors you have previously
selected in Pixetto Utility. The chameleon on screen will change to match
the color of the object shown!

color changing

We are finished! Again, we’ve worked step-by-step through how to create a
color changing chameleon with the help of our VIA Pixetto and some AI.

Now, you can also experiment with different color detection creations of
your own!

Remember to share your projects with us at #VIAPixetto!

Share this blog post!

Share on linkedin
Share on twitter
Share on facebook

Leave a Reply