Img_final = cv2.cvtColor(np.array(img), cv2. Green Recorder 3.0 which is built using Python, FFmpeg and GTK+3 comes along with. height = GetSystemMetrics(1)Ĭaptured_video = cv2.VideoWriter(file_name, fourcc, 120.0, (width, height)) Screen recording tool Green Recorder 3.0 has been released with new. You need to put the size of the screen that you are using. To record the screen recording also your voice, like I do in the video below, you can use this script made with Python that uses ffmpeg to do the job. Assert cap.isOpened() is creating an AssertionError meaning it is failing. What do I need to record the screen and my voice on the mic. get_video_capture() isn't opening itself with the video created by the code below. If anyone can help me solve why the initialization of the video isn't working, that would be awesome. This is the one I was using, but after attempting to make it faster, it stopped working. If you guys can direct me to a script that works well enough, or a module that does it for me, that would be great! It's a script to automate a game, but using opencv for it, is too slow at least it seems. I'm currently working with OpenCV with the yolov5 algorithm and in my program I need a way to screen record a part of my screen at a high framerate for my AI to track cups in a game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |