Can I point Sikuli to look at a video feed from an Axis camera rether than the screen?

Asked by Jason Bassett on 2020-11-08


I have used Sikuli for some for software automation tasks but now have an idea for a game I would like to put together using it.

I would like if possible to get Sikuli to look not at the screen but a feed from an Axis (or other) IP camera. The idea being that I will set players a task of using objects to recreate a given scene.

At the most basic level, when Sikuli detects each object has been placed in the scene it can fire off encouragement to players and when all required objects are recognised as being present and in the correct location, announce winner.

Would it be possible to add a 'video feed input' option so a stream of jpg files from a camera feed act as the screen instead of the actual screen? When running in such a mode, I envision that the Sikuli interface should also not be hidden as that debug output can be seen easily.



Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

RaiMan (raimund-hocke) said : #1

generally you can find some image in another image, which can be either the screen or just an image, you got from somewhere else (usually from a file).


To see debug output, start the IDE or run the script from a commandline.

To handle the video stream you would need some suitable subprocess, that on request creates an image to look at.

Can you help with this problem?

Provide an answer of your own, or ask Jason Bassett for more information if necessary.

To post a message you must log in.