| DetectScene プロシージャー | |
画像が示す状況 (都市、ビーチ、砂漠など) を特定します。
次の表に、この AI タスクを使用する際に設定する必要があるプロパティ (アクセスに必要な資格情報) を示します。
ProviderType
PropertyKey
|
Id |
Key |
SecretKey |
Alibaba |
- |
用户AccessKey |
用户AccessKey |
Amazon |
- |
Rekognition |
Rekognition |
Baidu |
视觉技术 |
视觉技术 |
视觉技术 |
Google |
- |
Cloud Vision API |
- |
IBM |
- |
- |
- |
Microsoft |
- |
Computer Vision |
- |
MLKit |
ML Kit API |
ML Kit API |
- |
SAP |
- |
- |
- |
Tencent |
场景识别 |
场景识别 |
- |
下記の表に、次の画像を入力とした場合に行われる状況認識 (JSON 構造として) とその処理の所要時間をプロバイダー別に示します。
|
プロバイダー |
出力 |
ベンチマーク |
Alibaba |
[ {
"label": "建筑",
"confidence": 0.930
}, {
"label": "广场",
"confidence": 0.190
}, {
"label": "人物",
"confidence": 0.140
}, {
"label": "户外",
"confidence": 0.110
}, {
"label": "室外",
"confidence": 0.110 } ]
|
4106ms |
Amazon |
[ {
"label": "Vacation",
"confidence": 0.997
}, {
"label": "Tourist",
"confidence": 0.976
}, {
"label": "Architecture",
"confidence": 0.924
}, {
"label": "Building",
"confidence": 0.924
}, {
"label": "Dome",
"confidence": 0.787
}, {
"label": "Clothing",
"confidence": 0.715
}, {
"label": "Monument",
"confidence": 0.675
}, {
"label": "People",
"confidence": 0.610 } ]
|
2818ms |
Baidu |
[ {
"label": "泰姬陵",
"confidence": 1.000 } ]
|
6742ms |
Google |
[ {
"label": "Taj Mahal",
"confidence": 0.72149533 } ]
|
10426ms |
IBM |
N/A |
N/A |
Microsoft |
[ {
"label": "outdoor, Taj Mahal", "confidence": 0.985146582126618
}, {
"label": "people", "confidence": 0.64453125 } ]
|
4125ms |
MLKit |
[ ]
|
1322ms |
SAP |
N/A |
N/A |
Tencent |
[ {
"label": "GXAI_TCN_SCENE_193",
"confidence": 0.974
}, {
"label": "GXAI_TCN_SCENE_210",
"confidence": 0.004
}, {
"label": "GXAI_TCN_SCENE_92",
"confidence": 0.004
}, {
"label": "GXAI_TCN_SCENE_223",
"confidence": 0.003
}, {
"label": "GXAI_TCN_SCENE_65",
"confidence": 0.002 } ]
|
11409ms |
- オブジェクトに割り当てられるラベルは、使用するプロバイダーによって異なります。
- 画像ファイルサイズの上限は 10 MB です。
- Tencent AI はラベルを GXAI_TCN_SCENE_{id} タグとして返します。{id} は Tencent が提供する数値クラスです。Language オブジェクトを使用して、ほかのプロバイダーと同じように、各タグを文字列ラベルとマッピングできます。簡体字中国語の Language オブジェクトが正式なマッピングとともに含まれている xpz をダウンロードできます。この xpz には、機械翻訳を使用した英語のマッピング (不正確な可能性もあります) も含まれています。たとえば、使用する環境の [ Translation Type ] プロパティを実行時の値に設定した場合、この xpz をインポートすると、サンプルセクションの GXAI_TCN_SCENE_193 ラベルが「清真寺外面」(英語では outside the mosque) に翻訳されます。
- ML Kit を使用するには、Google の Vision が有効になっている必要があり、クラウド上で動作します (推論はデバイス上では行われない)。
プラットフォーム |
Web (.NET、.NET Core、Java)、スマートデバイス (Android、iOS) |
接続 |
オンライン |
このプロシージャーは、GeneXus 16 以降で利用できます。
|
|
|
|
|