Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Passing arguments to train_HOG.cpp

How do I pass these (http://answers.opencv.org/question/96925/how-to-use-train_hogcpp/) arguments to train_HOG.cpp?

After compiling this https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp in VS2017 I get this output:

'Project1.exe' (Win32): Loaded 'C:\Users\sephr\source\repos\Project1\x64\Release\Project1.exe'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded. 'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll' 'Project1.exe' (Win32): Loaded 'C:\opencv\build\x64\vc14\bin\opencv_world340.dll'. Cannot find or open the PDB file. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.16299.192_none_887f70824ab5b0de\comctl32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded. 'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll' 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded. 'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll' 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded. 'Project1.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded. The thread 0x3284 has exited with code 1 (0x1). The thread 0x2d68 has exited with code 1 (0x1). The thread 0xfcc has exited with code 1 (0x1). The program '[2476] Project1.exe' has exited with code 1 (0x1).

Passing arguments to train_HOG.cpp

How do I pass these (http://answers.opencv.org/question/96925/how-to-use-train_hogcpp/) arguments to train_HOG.cpp?

After compiling this https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp in VS2017 I get this output:

'Project1.exe' (Win32): Loaded 'C:\Users\sephr\source\repos\Project1\x64\Release\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll'
'Project1.exe' (Win32): Loaded 'C:\opencv\build\x64\vc14\bin\opencv_world340.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.16299.192_none_887f70824ab5b0de\comctl32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
The thread 0x3284 has exited with code 1 (0x1).
The thread 0x2d68 has exited with code 1 (0x1).
The thread 0xfcc has exited with code 1 (0x1).
The program '[2476] Project1.exe' has exited with code 1 (0x1).

(0x1).

Passing arguments to train_HOG.cpp

How do I pass these (http://answers.opencv.org/question/96925/how-to-use-train_hogcpp/) arguments to train_HOG.cpp?

After compiling this https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp in VS2017 I get this output:

'Project1.exe' (Win32): Loaded 'C:\Users\sephr\source\repos\Project1\x64\Release\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll'
'Project1.exe' (Win32): Loaded 'C:\opencv\build\x64\vc14\bin\opencv_world340.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.16299.192_none_887f70824ab5b0de\comctl32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
The thread 0x3284 has exited with code 1 (0x1).
The thread 0x2d68 has exited with code 1 (0x1).
The thread 0xfcc has exited with code 1 (0x1).
The program '[2476] Project1.exe' has exited with code 1 (0x1).

Passing arguments to train_HOG.cpp

How do I pass these (http://answers.opencv.org/question/96925/how-to-use-train_hogcpp/) arguments to train_HOG.cpp?

After compiling this https://github.com/opencv/opencv/blob/master/samples/cpp/train_HOG.cpp in VS2017 I get this output:

'Project1.exe' (Win32): Loaded 'C:\Users\sephr\source\repos\Project1\x64\Release\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll'
'Project1.exe' (Win32): Loaded 'C:\opencv\build\x64\vc14\bin\opencv_world340.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.16299.192_none_887f70824ab5b0de\comctl32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmm.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
The thread 0x3284 has exited with code 1 (0x1).
The thread 0x2d68 has exited with code 1 (0x1).
The thread 0xfcc has exited with code 1 (0x1).
The program '[2476] Project1.exe' has exited with code 1 (0x1).