最近用tkinter写界面,一个界面一个按钮,打开电脑连接的两个相机,相机的原图以及经过onnx推理的结果,都显示在界面的四个框内,但是新加的放大按钮,在取这个框内图像时,新建个界面放大显示这个图,总报错,报错如下:
_tkinter.TclError: image "pyimage1" doesn't exist
内部的数字还一直变动,百度了很多帖子,都没找到解决原因。
起初是以为线程内相机的图,放在框内,已经资源被占用,导致无法资源无法被二次利用,但我都把图存到本地,再读取,都有问题。
后来看了这个帖子:
https://blog.youkuaiyun.com/Cat7102/article/details/79177489
原因是:
在一个程序中只能存在一个根窗口,也就是说只能存在一个Tk(),其他的窗口只能以顶层窗口(Toplevel())的形式存在。
我就把我代码里起的第二个窗口,tk改成Toplevel(),就好用了。
The pink entries in this table are the papers on semantic edge detection that we reviewed. The reason HED, RCF, and other algorithms appear in the table is that the authors modified these common edge detection algorithms to adapt them to the four types of edge classification.
8.请调查一下Semantic Edge Detection(语义边缘检测)和Semantice Segmentation(语义分割)之间的区别,包括它们的性能差异。
9.如果下游任务是边缘检测的语义分割,相比常规语义分割的优点和采用理由的调研
11.显著性检测相关论文的阅读,并判断显著性检测和边缘检测的关系是什么。