当我使用C ++解码条形码图像时,它有时会返回两次条形码值。它可以解决吗? [英] When I decode the barcode image using C++ at that time it returns the barcode value twice sometimes..how it can be resolved?

查看:74
本文介绍了当我使用C ++解码条形码图像时,它有时会返回两次条形码值。它可以解决吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我解码条形码图像时,它会有时显示两次解码值..它会两次显示相同的值..



我是什么尝试过:



我不知道如何解决这个问题因为这个错误有时只发生在我不知道怎么解决那个

When i decode the barcode image it will display the decoding value twice in sometimes..it will displaying the same value twice..

What I have tried:

I have no idea about how to resolve that problem because this error occur at sometimes only i dont know how to resolve that

推荐答案

这是您实施中的错误。因为你没有显示代码,我猜你会双重发布结果。与计时器或完成处理程序一样。



使用调试器或进行一些调试输出......
It is a bug in your implementation. Because you havent shown the code I guess that you double post the results. Like with a timer or completion handler.

Use the debugger or make some debug output...


这篇关于当我使用C ++解码条形码图像时,它有时会返回两次条形码值。它可以解决吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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