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
Low text quality #7
Comments
Please check Document. |
I am setting the max width to something beside 0, I've tried (1, 1920, 2560, and 3840). I also tried changing the bit rate to 16M, 32M, 64M, and 128M. I seems to have no effect though. |
You can check the numpy nd.array, it's size should be equal to the resolution. By the way, can you add a code snippet? So that I can test on my devices. |
I think I have found it. In core.py: |
I found that you set max_size to |
No, I use a tablet. When I run scrcpy the Initial texture is 2560x1600. Using this I am getting something else though which is fine. I just needed to increase the size because the text was pixelated and its hard to read. |
You should change your width to 2560. Could you upload a screenshot from your tablet and a screenshot from py-scrcpy? |
I believe you can see the text clearly in 2560, is that correct? My suggestion is to add a factor to the py-scrcpy-client/scrcpy_ui/main.py Line 147 in a822252
self.resize(self.client.resolution[0]*0.5, self.client.resolution[1]*0.5) # 2560 to 1280 After modifying this, while it still consumes 2560 video from your tablet, it shows 1280 on your PC's screen. |
Yes you are correct. I made the change you suggested, but no difference is seen. Still displaying at 2560. It was showing a float error so I casted to int(see below). That had no effect either.
Also trying self.resize(1280, 800) has no effect |
Sorry, I should use |
If it still doesn't work after casting, you can use OpenCV |
So I was able to go back to default setting and change this setting: Now the screen displays at 2560, but still won't resize with self.resize(self.client.resolution[0]//2, self.client.resolution[1]//2) Not too sure on how to use click is there a way to remove this option all together? |
My idea is that you can py-scrcpy-client/scrcpy_ui/main.py Line 138 in a822252
Then, you can use self.resize(self.client.resolution[0]//2, self.client.resolution[1]//2) It should fit your screen. Using self.resize independently doesn't work is probably caused by the QT's design, since QImage is larger than the window, the window must be resized to large enough to contain this QImage. So we need to make the original image smaller.
|
Thank you for everything! Closing the issue. |
Is there a way to increase the quality of the screen? I am have trouble reading some of the text. Maybe increasing the resolution? How could I go about doing that?
Thank you
The text was updated successfully, but these errors were encountered: