“System.NullReferenceException ... [英] 'System.NullReferenceException...

查看:89
本文介绍了“System.NullReferenceException ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

单击botton时,单击识别它会显示错误,如下所示:CameraCapture.exe中出现未处理的System.NullReferenceException类型的异常附加信息:对象引用未设置为对象的实例



部分:name = recognizer.Recognize(ExtFaces [faceNo])ToString()。; stringOutput [faceNo] = name;



这里是代码部分的链接:C# - Emgu CV - 面部识别代码在EigenObjectRecognizer停止执行并退出而没有错误



请帮助我非常感谢

解决方案

如果你想修改,请发一次,编辑你的问题它:



eroor System.NullReferenceException:Object引用未设置为对象的实例。 [ ^ ]

hi when you click on botton Recognize it display a error as follows: An unhandled exception of type ''System.NullReferenceException'' occurred in CameraCapture.exe Additional information: Object reference not set to an instance of an object

in part: name = recognizer.Recognize (ExtFaces [faceNo]) ToString ().; stringOutput [faceNo] = name;

here is the link the code part: C# - Emgu CV - Face Recognition code stops execution at EigenObjectRecognizer and exit without error

please help me thank you very much

解决方案

Please just post once, edit your question if you want to modify it:

eroor System.NullReferenceException: Object reference not set to an instance of an object.[^]


这篇关于“System.NullReferenceException ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆