mBlock v3.4.1 Microsoft Cognitive Services Extension User Guide

This guide explains how to use the Microsoft Cognitive Services extension in mBlock v3.4.1 for face, emotion, text, and speech recognition.


mBlock v3.4.1 Microsoft Cognitive Services Extension User Guide - cover page
Brand
mBlock
Category
Other software
Document type
User Manual
Language
Chinese
Pages
8
File format
PDF
File size
1.8 MB
Published
12 October, 2026
Updated
12 October, 2026
MD5 checksum
9490170672163E7F8F240AC28D1AD2DE

About this manual

This document introduces the Microsoft Cognitive Services extension available in mBlock version 3.4.1. It details how to access and utilize the extension's blocks for face recognition, emotion recognition, text recognition, and speech-to-text conversion via API keys.

The guide covers the specific function blocks for starting and stopping these recognition processes, as well as blocks for receiving and interpreting results such as face positions, detected emotions, and recognized text. It also provides programming examples demonstrating real-time face detection, age estimation, emotion detection, and speech recognition. This manual is written in Chinese.

What's inside

  • Function Block Introduction
  • Result Judgment Function Block
  • Function Stop Block
  • Result Feedback Function Block
  • Programming Example: Real-time Face Detection
  • Programming Example: Face Age Detection
  • Programming Example: Emotion Detection
  • Programming Example: Text Recognition
  • Programming Example: Speech Recognition

Frequently asked questions

What API is required to enable face recognition in mBlock v3.4.1?

The Microsoft Cognitive Services Face API is used to detect faces and their locations in video.

How many emotions can the Emotion API identify?

The Emotion API can identify eight common expressions including anger, contempt, neutral, fear, disgust, happiness, sadness, and surprise.

What setting improves the visibility of face detection boxes in video?

The video transparency must be set to 50% because the Scratch brush color is too pale.

Download PDF (1.8 MB)