简体   繁体   English

Aforge.net消耗大量CPU能力

[英]Aforge.net consuming lot of CPU power

I'm running Aforge.net's provided two camera test samples on my Dual Core 2.0 GHz laptop with 2 GB RAM. 我正在运行Aforge.net,它在具有2 GB RAM的双核2.0 GHz笔记本电脑上提供了两个相机测试样本。 Right now I'm seeing a lot of CPU usage as the application starts displaying visuals from 2 cameras. 现在,随着该应用程序开始显示2台摄像机的图像,我看到了很多CPU使用率。 It's currently consuming 60% to 70% of the entire CPU power. 目前,它消耗了整个CPU功率的60%至70%。 Can anyone tell me why it's consuming that much CPU and how can I avoid it as I have to build a similar application which would require 2 camera vision and I would be using C#. 谁能告诉我为什么它要消耗这么多的CPU,以及如何避免使用它,因为我必须构建一个需要2个摄像机视野并且要使用C#的类似应用程序。

Could be a lot of things. 可能有很多事情。 Turn on a profiler and find out where the time is spent. 打开分析器,找出时间在哪里。 Then adjust your question! 然后调整您的问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM