Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Face Detection Sample Code

arrahul
Beginner
580 Views
Hai

I am facing an issue while I am trying to run the Face detection sample code under the Intel IPP Image processing section. I am trying to run in the Microsoft Visual Studio 2010 env with Intel parallel studio intergrated in. I am having no build errors. But even If i have given the administrator privilege, the code is not executing. It is giving the following error:

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\ntdll.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\kernel32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\KernelBase.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\mfc100d.dll', Symbols loaded.

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\msvcr100d.dll', Symbols loaded.

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\user32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\gdi32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\lpk.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\usp10.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\msvcrt.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\shlwapi.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\winsxs\\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16661_none_a44e1fc257f685f6\\comctl32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\advapi32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\sechost.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\rpcrt4.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\msimg32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ipps-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippcore-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\compiler\\libiomp5md.dll', Binary was not built with debug information.

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippi-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippcc-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippcv-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\imm32.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\msctf.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\uxtheme.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\dwmapi.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Windows\\System32\\mfc100enu.dll', Binary was not built with debug information.

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\mkl\\libimalloc.dll', Binary was not built with debug information.

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll', Binary was not built with debug information.

'Face_Detection.exe': Unloaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll'

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippsu8-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll', Binary was not built with debug information.

'Face_Detection.exe': Unloaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll'

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippiu8-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll', Binary was not built with debug information.

'Face_Detection.exe': Unloaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll'

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippccu8-7.0.dll', Cannot find or open the PDB file

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll', Binary was not built with debug information.

'Face_Detection.exe': Unloaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\1033\\ippmsg.dll'

'Face_Detection.exe': Loaded 'C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\intel64\\ipp\\ippcvu8-7.0.dll', Cannot find or open the PDB file

CFile exception: fileNotFound, File test.bmp, OS error information = 2.

First-chance exception at 0x000007fefd5daa7d in Face_Detection.exe: Microsoft C++ exception: CFileException * __ptr64 at memory location 0x0013f468..

Detected memory leaks!

Dumping objects ->

{280} normal block at 0x00000000004ECA90, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{279} normal block at 0x00000000004EC9F0, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{278} normal block at 0x00000000004EC950, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{277} normal block at 0x00000000004EC8B0, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{276} normal block at 0x00000000004EC810, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{275} normal block at 0x00000000004EC770, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{274} normal block at 0x00000000004EC6D0, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{273} normal block at 0x00000000004EC630, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

{272} normal block at 0x00000000004EC590, 48 bytes long.

Data: < ? > F0 DF F6 3F 01 00 00 00 00 00 00 00 00 00 00 00

Object dump complete.

The program '[4772] Face_Detection.exe: Native' has exited with code -1 (0xffffffff).




When I tried to debug the code, it is displaying as " Image file not readable". Could anyone give me a valid input image file for testing. I have been running into this issue for a long time. Please help.
0 Kudos
5 Replies
Naveen_G_Intel
Employee
580 Views
Hi,
Give .bmp as input file, it should work.

Regards,
Naveen Gv
0 Kudos
arrahul
Beginner
580 Views
Hai

I have tried different bmp files. I will add the files that i have tested with. I have tried with couple of other .bmp files. Here I have attached two of them. Could you please send me any files with which you have tested it. Ordid you test itwith the file which comes as a part of the installation?

Thanks
Rahul
0 Kudos
Naveen_G_Intel
Employee
580 Views

Hi Rahul,

I have used IPP (w_ipp-samples_p_7.0.4.054) face detection sample, input file as test.bmp which you sent. Result file is attached to this message.

Command to run face detection sample.

>Face_Detection.exe cascade=haar.txt input=test.bmp output=result.bmp

Regards,

Naveen Gv

0 Kudos
arrahul
Beginner
580 Views
Dear Naveen

Thanks for the support. I dint get the result file that you have sent. I tried this command line option in different cases. It is not giving a result. Still it is showing the same error. Is there anything like, I should set this command line option as a post build command line option.

Thanks
Rahul AR
0 Kudos
Naveen_G_Intel
Employee
580 Views

Hi Rahul,

Errors are looks like not from IPP configuration, is it possible to verify it on any other system?

Regards,

Naveen Gv

0 Kudos
Reply