使用手册
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
检查积木是否包含蒙面属性
Face有蒙面属性
{"blocks":"face "}
这积木是用作检查积木是否包含蒙面属性。
参数:人工智能结果(Azure蒙面人脸检测)
输出:布林值(True/False)
示例代码:
这程式使用了一个if-else条件式来检查它是否有蒙面属性。
{"blocks":"TRUE result 0 checkMaskAttribute It has mask attribute. checkMaskAttribute It doesn't have mask attribute. "}
{"blocks":"mainLayout mainScreen image result checkMaskAttribute face mainLayout 0 mainScreen 0 Main mainLayout image 0 https://assets.entrepreneur.com/content/3x2/2000/20190502194704-ent19-june-editorsnote.jpeg result 0 image checkMaskAttribute 0 TRUE result 0 checkMaskAttribute It has mask attribute. checkMaskAttribute It doesn't have mask attribute. mainLayout checkMaskAttribute "}
当它包含「检测图像中的蒙面人脸」,它应该有蒙面属性:
当它包含「检测图像中的人脸」,它应该没有蒙面属性: