Table of Contents

is () detected?

Description

The is () detected? block checks whether the selected class has been detected or not. If the class is detected, then the block returns true; else, false.

Example

A waste management system that will differentiate the waste based on its type. If it detects biodegradable waste, the LEDs Quarky’s matrix will turn green. If it’s non-biodegradable waste, the LEDs will turn blue.

Script

Output

Read More
All articles loaded
No more articles to load