OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 14719|回复: 15

人脸识别程序,无法查找或打开 PDB 文件。

[复制链接]
发表于 2014-12-25 14:30:40 | 显示全部楼层 |阅读模式

我是直接用书附带的完整程序来运行,也有自己学着重新编一个,但都是这个问题,导致程序无法运行,相应的库文件都有配置,求大神解惑
程序是《深入理解OpenCV》里人脸识别教程的完整程序,我放在这个网址:http://pan.baidu.com/s/1i3y1krj,非常感谢

“faceDetector0.exe”(Win32): 已加载“G:\vcexercise\faceDetector0\Debug\faceDetector0.exe”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\ntdll.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\kernel32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\KernelBase.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_contrib249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_core249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msvcp110d.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msvcr110d.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_flann249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_imgproc249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_highgui249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\user32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\gdi32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\lpk.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\usp10.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msvcrt.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\advapi32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\sechost.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\rpcrt4.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\sspicli.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\cryptbase.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\ole32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\oleaut32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\comctl32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msvfw32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\winmm.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\shell32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\shlwapi.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\avifil32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msacm32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\avicap32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\version.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_features2d249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_calib3d249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_ml249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_video249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“D:\opencv\opencv\build\x86\vc11\bin\opencv_objdetect249d.dll”。无法查找或打开 PDB 文件。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\imm32.dll”。已加载符号。
“faceDetector0.exe”(Win32): 已加载“C:\Windows\SysWOW64\msctf.dll”。已加载符号。
程序“[8824] faceDetector0.exe”已退出,返回值为 1 (0x1)。

回复

使用道具 举报

发表于 2015-1-19 22:53:59 | 显示全部楼层
在那个调试里,选设置与调试,左边栏有个符号,里面有启用micosoft调试,勾上就行,还要改一个地方,其实无法打开pdb文件感觉并不影响什么,反而改过之后,程序会变慢好多。
回复 支持 1 反对 0

使用道具 举报

发表于 2015-1-10 21:32:31 | 显示全部楼层
openCV配置的问题吧?
回复 支持 反对

使用道具 举报

发表于 2015-1-19 14:19:25 | 显示全部楼层
楼主 你程序呢?发给我看看
回复 支持 反对

使用道具 举报

发表于 2015-1-19 22:54:34 | 显示全部楼层
估计你是什么地方没有读到数据,然后检查是否为空时直接返回了
回复 支持 反对

使用道具 举报

发表于 2015-9-28 22:36:26 | 显示全部楼层
luanrnaut 发表于 2015-1-19 22:54
估计你是什么地方没有读到数据,然后检查是否为空时直接返回了

你好,作为一个菜鸟,我也遇到相同问题,能发你代码,帮我看一下么,非常感谢!
回复 支持 反对

使用道具 举报

发表于 2015-9-29 15:11:42 | 显示全部楼层
薄荷 发表于 2015-9-28 22:36
你好,作为一个菜鸟,我也遇到相同问题,能发你代码,帮我看一下么,非常感谢! ...

直接贴上来,或者私信我
回复 支持 反对

使用道具 举报

发表于 2015-9-29 15:11:46 | 显示全部楼层
薄荷 发表于 2015-9-28 22:36
你好,作为一个菜鸟,我也遇到相同问题,能发你代码,帮我看一下么,非常感谢! ...

直接贴上来,或者私信我
回复 支持 反对

使用道具 举报

发表于 2015-9-29 18:14:07 | 显示全部楼层
luanrnaut 发表于 2015-9-29 15:11
直接贴上来,或者私信我

#include "StdAfx.h"
#include<iostream>
#include<opencv2/imgproc/imgproc.hpp>
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/objdetect/objdetect.hpp>
#include"cv.h"
#include"highgui.h"
#include<stdio.h>

using namespace cv;
using namespace std;

string face_cascade_name = "haarcascade_frontalface_alt2.xml";
CascadeClassifier face_cascade;
string window_name = "人脸识别";
void detectAndDisplay(Mat frame)
{
        std::vector<Rect>faces;
        Mat frame_gray;

        cvtColor(frame,frame_gray,CV_BGR2GRAY);
        equalizeHist(frame_gray,frame_gray);

        face_cascade.detectMultiScale(frame_gray,faces,1.1,2,0|CV_HAAR_SCALE_IMAGE,Size(30,30));

        for(int i = 0;i<faces.size();i++)
        {
                Point center(faces.x + faces.width*0.5,faces.y + faces.height*0.5);
                ellipse(frame,center,Size(faces.width*0.5,faces.height*0.5),0,0,360,Scalar(255,0,255),4,8,0);
        }
        imshow(window_name,frame);
}
int _tmain(int argc,_TCHAR*argv[])
{
        VideoCapture cap(0);
        if(!cap.isOpened())
                return -1;

        Mat edges;
        if(!face_cascade.load(face_cascade_name))
        {
                printf("[error]无法加载级联分类器文件!\n");
                return -1;
        }
        int nTick = 0;
        for(;;)
        {
                if(!cap.isOpened())
                {
                        continue;
                }
                Mat frame;
                nTick = getTickCount();
                cap>>frame;
                if(frame.data == NULL)
                {
                        continue;
                }
                cvtColor(frame,edges,CV_BGR2BGRA);
                detectAndDisplay(edges);
                if(waitKey(30)>=0)break;
        }
        return 0;
}
回复 支持 反对

使用道具 举报

发表于 2015-9-29 18:14:56 | 显示全部楼层
luanrnaut 发表于 2015-9-29 15:11
直接贴上来,或者私信我

运行结果就是
shiyan1.exe”: 已加载“C:\Users\Administrator\Desktop\shiyan1\Debug\shiyan1.exe”,已加载符号。
“shiyan1.exe”: 已加载“C:\Windows\System32\ntdll.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\kernel32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“D:\open CV\opencv\build\x86\vc10\bin\opencv_core248.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\msvcp100.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msvcr100.dll”,已加载符号。
“shiyan1.exe”: 已加载“D:\open CV\opencv\build\x86\vc10\bin\opencv_highgui248.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\user32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\gdi32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\lpk.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\usp10.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msvcrt.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ole32.dll”,已加载符号。
“shiyan1.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\oleaut32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\advapi32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\sechost.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\comctl32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\avifil32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\winmm.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msacm32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msvfw32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\shell32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\shlwapi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\avicap32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\version.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“D:\open CV\opencv\build\x86\vc10\bin\opencv_imgproc248.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“D:\open CV\opencv\build\x86\vc10\bin\opencv_objdetect248.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\msvcp100d.dll”,已加载符号。
“shiyan1.exe”: 已加载“C:\Windows\System32\msvcr100d.dll”,已加载符号。
“shiyan1.exe”: 已加载“C:\Windows\System32\apphelp.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\AppPatch\AcLayers.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\sspicli.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\userenv.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\profapi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\winspool.drv”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\mpr.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\imm32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msctf.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\cryptbase.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\uxtheme.dll”,已加载符号。
“shiyan1.exe”: 已加载“C:\Windows\System32\clbcatq.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\devenum.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\setupapi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\cfgmgr32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\devobj.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ntmarta.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\Wldap32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\wintrust.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\crypt32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msasn1.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\msdmo.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\qcap.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\quartz.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Users\Administrator\AppData\Roaming\TaobaoProtect\TaobaoProtectSE.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\psapi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\sfc.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\sfc_os.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\dwmapi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\SogouPY.ime”,Cannot find or open the PDB file
“shiyan1.exe”: 已卸载“C:\Windows\System32\SogouPY.ime”
“shiyan1.exe”: 已加载“C:\Windows\System32\SogouPY.ime”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\msimg32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ws2_32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\nsi.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\oleacc.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“D:\搜狗输入\SogouInput\Components\PicFace\1.0.0.1356\PicFace.dll”,Cannot find or open the PDB file
线程 'Win32 线程' (0x23c8) 已退出,返回值为 0 (0x0)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ksproxy.ax”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ksuser.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\d3d9.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\d3d8thk.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\vidcap.ax”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\Kswdmcap.ax”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\mfc42.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\odbc32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\odbcint.dll”,未使用调试信息生成二进制文件。
“shiyan1.exe”: 已加载“C:\Windows\System32\qedit.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\comdlg32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e853\GdiPlus.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\ddraw.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\dciman32.dll”,已加载符号(去除源信息)。
“shiyan1.exe”: 已加载“C:\Windows\System32\aticfx32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiu9pag.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\igdumd32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdag.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdva.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdva.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\igdumd32.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdag.dll”
“shiyan1.exe”: 已加载“C:\Windows\System32\igdumd32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdag.dll”,Cannot find or open the PDB file
线程 'Win32 线程' (0x1110) 已退出,返回值为 0 (0x0)。
“shiyan1.exe”: 已加载“C:\Windows\System32\d3dim700.dll”,已加载符号(去除源信息)。
线程 'Win32 线程' (0x16b4) 已退出,返回值为 0 (0x0)。
“shiyan1.exe”: 已卸载“C:\Windows\System32\igdumd32.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdag.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\aticfx32.dll”
“shiyan1.exe”: 已加载“C:\Windows\System32\aticfx32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\igdumd32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdag.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdva.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdva.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\igdumd32.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdag.dll”
“shiyan1.exe”: 已加载“C:\Windows\System32\igdumd32.dll”,Cannot find or open the PDB file
“shiyan1.exe”: 已加载“C:\Windows\System32\atiumdag.dll”,Cannot find or open the PDB file
线程 'Win32 线程' (0x24d0) 已退出,返回值为 0 (0x0)。
“shiyan1.exe”: 已卸载“C:\Windows\System32\igdumd32.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\atiumdag.dll”
“shiyan1.exe”: 已卸载“C:\Windows\System32\aticfx32.dll”
“shiyan1.exe”: 已加载“C:\Windows\System32\msyuv.dll”,已加载符号(去除源信息)。
线程 'Win32 线程' (0x212c) 已退出,返回值为 0 (0x0)。
“shiyan1.exe”: 已卸载“C:\Windows\System32\msyuv.dll”
线程 'Win32 线程' (0x698) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x2384) 已退出,返回值为 -1 (0xffffffff)。
线程 'Win32 线程' (0x23b8) 已退出,返回值为 -1 (0xffffffff)。
线程 'Win32 线程' (0x23d8) 已退出,返回值为 -1 (0xffffffff)。
线程 'Win32 线程' (0x2788) 已退出,返回值为 -1 (0xffffffff)。
程序“[5068] shiyan1.exe: 本机”已退出,返回值为 -1 (0xffffffff)。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-5-4 09:43 , Processed in 0.010209 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表