文檔
聯絡我們
-
學生
-
老師
-
編程
-
-
-
-
- 將文字轉換為 DateTimeOffset 格式
- 以不同單位創建 DateTimeOffset
- 以 Unix 時間創建 DateTimeOffset
- 使用當前時間創建DateTimeOffset
- 將 DateTimeOffset 與新的協調世界時偏移量合併
- 設定協調世界時偏移量
- 將 DateTimeOffset 變更成字串格式
- 轉換DateTimeOffset為字串
- 將間距加到dateTimeOffset
- 計算兩個DateTimeOffsets之間的間距
- 檢查兩個DateTimeOffsets是否相同
- 以毫秒顯示DateTimeOffset
- 以其他格式顯示時間
- 檢查DateTimeOffset是否在正確的數據類型
-
Print
計算多少人是男性/女性
FaceDetectionResult數 的人數
{"blocks":"Gender.M faceDetectionResult "}
這積木是用作計算多少人是男性/女性。
參數:
- 人工智能結果(Azure人臉辨識)
顯示設定:男性(預設)/女性
輸出:人工智能結果
示例代碼:
{"blocks":"mainLayout mainScreen image result gender dateTimeOffset mainLayout 0 mainScreen 0 Main mainLayout image 0 https://images.theconversation.com/files/134086/original/image-20160815-15261-te69mp.jpg?ixlib=rb-1.1.0&q=45&auto=format&w=926&fit=clip result 0 image gender 0 Gender.M result mainLayout gender mainLayout result image "}
當設為男性時的輸出結果:
當設為女性時的輸出結果: