← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #145268]: Image managment Load V dict and observer images from a DB or create a web server DB?

 

Question #145268 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/145268

    Status: Open => Answered

RaiMan proposed the following answer:
This is not possible based on the current design of Sikuli.

A pattern is not an entity, that could be loaded from the web.

It is the image, contained in a pattern object (which in turn holds the
targetOffset and similarity attributes), that can be loaded from the
web.

You might implement your own Pattern class, that adds all the needed
features (e.g. as a Sikuli extension).

To use as much as possible with the current Sikuli design, I would use
the DB only to store the image attributes and an image url and have the
images as real .png's somewhere in the cloud.

Using the DB-blob object, you would have to convert the .png's to blobs
and vice versa each time you use them. That is an unnecessary overhead
with little advantages.

The VDict in it's current implementation does not help.
(see https://answers.launchpad.net/sikuli/+question/144772)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.