OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

詳細説明

Adience

データセットの読み込みを実装する:

"Adience": http://www.openu.ac.il/home/hassner/Adience/data.html

使用例:

  1. 上記のリンクから任意のデータセットファイルをダウンロードする: faces.tar.gz\aligned.tar.gz および分割ファイル: fold_0_data.txt-fold_4_data.txt, fold_frontal_0_data.txt-fold_frontal_4_data.txt。(顔認識タスク用には別の分割を作成する必要がある)
  2. データセットファイルを任意のフォルダに展開し、分割ファイルを同じフォルダに配置する。
  3. データを読み込むには次を実行する:
    ./opencv/build/bin/example_datasets_fr_adience -p=/home/user/path_to_created_folder/

Labeled Faces in the Wild

データセットの読み込みを実装する:

"Labeled Faces in the Wild": http://vis-www.cs.umass.edu/lfw/

使用例:

  1. 上記のリンクから任意のデータセットファイルをダウンロードする: lfw.tgz\lfwa.tar.gz\lfw-deepfunneled.tgz\lfw-funneled.tgz およびペアのファイル: 10個のテスト分割: pairs.txt と開発者用トレーニング分割: pairsDevTrain.txt
  2. データセットファイルを展開し、pairs.txtpairsDevTrain.txt を作成したフォルダに配置する。
  3. データを読み込むには次を実行する:
    ./opencv/build/bin/example_datasets_fr_lfw -p=/home/user/path_to_unpacked_folder/lfw2/

ベンチマーク

このデータセットには精度付きのベンチマークが実装された: 0.623833 +- 0.005223 (トレーニング分割: pairsDevTrain.txt, データセット: lfwa)

このベンチマークを実行するには次を実行する:

./opencv/build/bin/example_datasets_fr_lfw_benchmark -p=/home/user/path_to_unpacked_folder/lfw2/

クラス

class  cv::datasets::FR_adience
 
struct  cv::datasets::FR_adienceObj
 
class  cv::datasets::FR_lfw
 
struct  cv::datasets::FR_lfwObj
 

列挙型

enum  cv::datasets::genderType {
  cv::datasets::male = 0 ,
  cv::datasets::female ,
  cv::datasets::none
}
 

列挙型詳解

◆ genderType

#include <opencv2/datasets/fr_adience.hpp>

列挙値
male 
Python: cv.datasets.male
female 
Python: cv.datasets.female
none 
Python: cv.datasets.none