この論文の著者によるLatSVMのMATLAB実装には、pascal
という列車スクリプトがあります。その使い方を説明するのtarballとREADMEがあります。詳細については
Using the learning code
=======================
1. Download and install the 2006-2011 PASCAL VOC devkit and dataset.
(you should set VOCopts.testset='test' in VOCinit.m)
2. Modify 'voc_config.m' according to your configuration.
3. Start matlab.
4. Run the 'compile' function to compile the helper functions.
(you may need to edit compile.m to use a different convolution
routine depending on your system)
5. Use the 'pascal' script to train and evaluate a model.
example:
>> pascal('bicycle', 3); % train and evaluate a 6 component bicycle model
The learning code saves a number of intermediate models in a model cache
directory defined in 'voc_config.m'.
、authors websiteをご覧ください。このページには、この方法の論文も含まれています。
あなたがやろうとしていることに応じて、OpenCV(機械学習ライブラリ)のより一般的なSVMの実装がうまく機能することがあります。たとえば、単純なHoGの場合、SVMオブジェクトを作成し、HoGを計算し、SVM :: train_auto()を使用してそれをSVMに送ります。 – Bee
@山根子私はあなたが言いましたが、couldnのMATLABコードの助けを借りて多くのモデルを訓練しましたこれらのモデルを.xml形式に変換する方法を見つけて、OpenCVコードでも使用できるようにします。 – 3yanlis1bos