Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我通过神经网络进行目标分类,由于是高速移动状态,故误检率较高。且与单片机通信需要时间,我想在第一次检测到特征物体后,一直向单片机传输我需要给它的信息,例如0和1,因为存在误检。故传输信息可能像...0011101110100000...这样子,而我想要...0011111111111111100000....这样子
如果你要传输一样的数据,都没必要传输,传输一次延时2s完事了。
如果你要加过滤,那就是加一个全局变量,然后自己写逻辑,比如最近5次都识别到才变1,或者最近5次都没识别到才变0。