Перейти к содержимому
Compvision.ru

LoGin

Пользователи
  • Количество публикаций

    3
  • Зарегистрирован

  • Посещение

Репутация

0 Новичек

О LoGin

  • Звание
    Новичок

Profile Information

  • Пол
    Мужской
  1. Тренировка каскадов Хаара

    Есть рабочий каскад. Пытаюсь оценить его работоспособность в процентном соотношении. Не могу разобраться с синтаксисом утилиты performance. C:\Users\Login>D:\OpenCV2.1\bin\opencv_performance.exe -data D:\img\den2000.xml -info D:\img\den2000.vec -ni +================================+======+======+======+ | File Name | Hits |Missed| False| +================================+======+======+======+ | Total| 0| 0| 0| +================================+======+======+======+ Number of stages: 12 Number of weak classifiers: 61 Total time: 0.000000 12 0 0 -1.#IND00 -1.#IND00 0 0 -1.#IND00 -1.#IND00 0 0 -1.#IND00 -1.#IND00 0 0 -1.#IND00 -1.#IND00 ....................................................... 0 0 -1.#IND00 -1.#IND00 префиксом -info D:\img\den2000.vec я даю адрес выходного файла, который был получен createsamples.
  2. А разве она определяет что прошло? Вроде как только сам факт что движущийся объект пересек линию.
  3. Тренировка каскадов Хаара

    В чем была проблема? Вылетает с такой же ошибкой. Значения minhitrate и -maxfalsealarm оставил по умолчанию C:\Users\Login>D:\OpenCV2.1\bin\opencv_haartraining.exe -data D:\img\ -vec D:\im g\sat.vec -bg D:\bg.txt -npos 500 -nneg 5 -nstages 20 -nsplits 2 -mem 500 -nonsym -w 60 -h 60 Data dir name: D:\img\ Vec file name: D:\img\sat.vec BG file name: D:\bg.txt, is a vecfile: no Num pos: 100 Num neg: 5 Num stages: 20 Num splits: 2 (tree as weak classifier) Mem: 1500 MB Symmetric: FALSE Min hit rate: 0.995000 Max false alarm rate: 0.500000 Weight trimming: 0.950000 Equal weights: FALSE Mode: BASIC Width: 60 Height: 60 Applied boosting algorithm: GAB Error (valid only for Discrete and Real AdaBoost): misclass Max number of splits in tree cascade: 0 Min number of positive samples per cluster: 500 Required leaf false alarm rate: 9.53674e-007 Tree Classifier Stage +---+ | 0| +---+ OpenCV Error: Insufficient memory (Failed to allocate 926983220 bytes) in unknow n function, file ..\..\..\..\ocv\opencv\src\cxcore\cxalloc.cpp, line 52 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Добавлено: Ошибка была в bg.txt хотя createsamples и не ругался
×