Change source of screen captures?

Asked by James Connolly

I have been messing around with Sikuli and it is awesome!

Hoping to use Sikuli to observe an external video source for counting the appearance of certain 2D (presumably) identifiable images.

How difficult would it be to modify Sikuli to use some other "ScreenGrab" method that provides a grab from this external video source? I'm just looking for recognition of images, not clicking on them or anything like that of course.

I've downloaded the source and am researching this on my own, but I thought I would throw this question out there.

Apologies if this question is too broad for this forum.

Thanks a lot!.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Does "external video source" mean, that there is a video stream, that is not made visible on the screen?

Sikuli currently can only search for images, that are visible on the screen.

Even if they are visible, then it might be impossible with the currently used technique to identify certain image objects, especially fast moving or changing things, since Sikuli will capture the screen or a region on the screen at random times, not synchronised with the frames of the video.
Rather static (at least for some time of at least one second) images should work depending on how exact the probe fits to the image in the video.

Principally it would be possible, to implement the Sikuli features on video streams, since the internally used OpenCV has extended video support, so one could access and analyse the frames.
... but yes, much effort and currently not on the list.

Can you help with this problem?

Provide an answer of your own, or ask James Connolly for more information if necessary.

To post a message you must log in.