ZhengZZZ

Results 18 comments of ZhengZZZ

你与其看这个笔记,不如按照目录去问chatgpt。

> Did you put your own api key in the app? Yes.

![image](https://user-images.githubusercontent.com/107376080/216518976-63bcf55d-5a61-48f2-b0e3-bd05e7bf4d7d.png)

> Ah ok seems to be working for me anyone else getting this issue? Also is you api response coming back as successful? I can use my api in local....

Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:29:51) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print("1"==1)...

> 这根本就不是答案是`False`的问题,,他为什么要设置这样的问题?? 不懂Python的人就不配进群,不配用这套? 回答`false`也会被拒绝 这个项目是用python写的,python里就是首字母大写的False,False和false是不一样的,go里是全小写。虽然但是,我觉得它应该设置成回答正确自动通过而非人工审核,我申请了也没让通过,而且这是个三四年前的开源项目,现在不能用了吧

这个错误本质是你推流的时候一端在读,一端在写,你已经没有可以写的帧了还在往里写导致的。 本质是循环判断有毛病,前面的issue中也提到过我不知道官方为什么过一个版本了仍不修改。 摄像头检测很多时候都是空帧会导致queue消耗太快提前终止循环。 deploy/pipeline/pipeline.py里修改这一段: ``` framequeue = queue.Queue(10) thread = threading.Thread( target=self.capturevideo, args=(capture, framequeue)) thread.start() time.sleep(1) while (not framequeue.empty()): ``` 把这个not framequeue.empty去掉,可以换成一直启动,同时把queue改大一点或者干脆删掉这部分,我不明白queue在这里存在的意义是什么,缓存队列?但实际使用中并无需要吧。

same problem on Ubuntu 22.04