VNCScreen refresh and ADBScreen

Asked by Gerassimos on 2018-10-09

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")
while True:

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
gautam (dpadhy) said : #1


You will find this issue listed on github

An easier option is to use 1.1.3 with java 8

Gerassimos (gpeteinatos) said : #2

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.

Launchpad Janitor (janitor) said : #3

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