VNCScreen refresh and ADBScreen

Asked by Gerassimos

I am using SIkuli 1.1.4 @ Ubuntu 18.04.
I have two questions.
In 1.1.4 I do not seem to find ADBScreen any more.
Is it not implemented yet or will it not be implemented at all?
In order to over come that I am using scrcpy on a virtual screen.
I am able to connect capture images and control it. Though what I have seen is that the VNCScreen captures only one image at the initialization and nothing else.
for example the following code will return always the same image irrelevant of what is going on on the virtual screen

vnc = vncStart(port=5901")
wait(5)
while True:
vnc.capture().getFile("/path/to/folder/")
wait(5)

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
gautam (dpadhy) said :
#1

@Gerassimos

You will find this issue listed on github

https://github.com/RaiMan/SikuliX1/issues/34

An easier option is to use 1.1.3 with java 8

Revision history for this message
Gerassimos (gpeteinatos) said :
#2

@gautam.
thank you for the ADB information! I don't think that's an option due to OpenCV 3.x.
therefore the main problem remains which is why the vnc screen grabs only one image and does not refresh.
I will follow through the ADB bug.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.