ra1nty / DXcam

A Python high-performance screen capture library for Windows using Desktop Duplication API
MIT License
457 stars 67 forks source link

DXCAM does not respond #93

Open babymonie opened 2 months ago

babymonie commented 2 months ago

i was testing dxcam with cv2 with this code

import dxcam
import cv2
camera = dxcam.create()

camera.start(target_fps=175)
for i in range(100):
    image = camera.get_latest_frame()  # Will block until new frame available

    # Display the image
    cv2.imshow("Image", image)
camera.stop()

and when i the screen pops up its grey and tells me that its not responding

it tells me that the fps was 40 image