Skip to content

在运行python apex.py之后的一些问题 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alies-linse opened this issue Jan 24, 2024 · 5 comments
Open

在运行python apex.py之后的一些问题 #33

alies-linse opened this issue Jan 24, 2024 · 5 comments

Comments

@alies-linse
Copy link

你好:
首先感谢大佬的的资源分享。其实我并没有学习过电脑这块的相关知识,在结合大佬在“Issues”中的解答与chatgpt的帮助我已经成功打开了
UGP0HP~J5VKZHUZ}8L K0RB
但是在点击“开启目标检测”时会报错

_ctypes.COMError: (-2005270524,’指定的设备接口或功能级别在此系统上不受支持。',”(None,None,None,0,None))Exception ignored in: 〈compiled_function DXCamera.del at 0x0000028C3A5EC5EO>

AttributeError: 'DXCamera’object has no attribute 'is_capturing
这两个问题,我已询问过chatgpt但并不能解决,请问您可以给予帮助吗?十分感谢

@EthanH3514
Copy link
Owner

这个似乎是dxcam的问题,dxcam是我在实现这个项目所用的一个高速截屏的库,这个问题之前也有人提到过,但因为我在本地无法复现这个问题所以也没有解决。

我在dxcam下找到了类似的issue,可以看一下他们是怎么解决的 _ctypes.COMError: (-2005270524, 'The specified device interface or feature level is not supported on this system.', (None, None, None, 0, None)) (might be a Windows 11 error?) #38

@T-Atlas
Copy link
Contributor

T-Atlas commented Apr 7, 2024

目前有解决方案了吗,链接里尝试过了好像没用

@EthanH3514
Copy link
Owner

目前有解决方案了吗,链接里尝试过了好像没用

还没有。

其实可以不依赖dxshot截图,用python的mss库,修改对应 Capture.py 内的源码即可

@T-Atlas
Copy link
Contributor

T-Atlas commented Apr 10, 2024

目前有解决方案了吗,链接里尝试过了好像没用

还没有。

其实可以不依赖dxshot截图,用python的mss库,修改对应 Capture.py 内的源码即可

好像无边框就行,可以试试

@786674917
Copy link

我这边也遇到了同样的问题,之前有个老哥提到dxcam无法用于非独显直连的笔记本电脑。所以在 nvvida控制面板里面调整为独显直连模式 ,可以解决整个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants