openrtist icon indicating copy to clipboard operation
openrtist copied to clipboard

Setting a fixed order of paintings

Open stefanronn opened this issue 1 year ago • 3 comments

In some cases, we would like to have a predictable order of which paintings are used for the video processing, in order to compare different backends side by side (local edge vs cloud, for example). There is a setting in the config.py file to set the initial painting, but it does not seem to work. Any ideas of how to make the painting order predictable?

stefanronn avatar Aug 29 '23 14:08 stefanronn

If you disable the automatic iteration in settings, you can select a specific style with a pull down menu and it will stay at that style, which makes it easier to do side-by-side comparisons.

jaharkes avatar Aug 29 '23 14:08 jaharkes

Thanks. Will try that.

stefanronn avatar Aug 29 '23 14:08 stefanronn

The config.py file (used for Ubuntu client, not Android) looks like this: PORT = 9099 STYLE_DISPLAY_INTERVAL = 300 # Number of frames CAM_FPS = 15 IMG_WIDTH = 640 IMG_HEIGHT = 480 START_STYLE_STRING = "udnie" SOURCE_NAME = "openrtist"

I suppose the STYLE_DISPLAY_INTERVAL could be set to some very large number, so the style does not change, but we still have the case where START_STYLE_STRING does not seem to fix the initial style used, so our 2 demo screens starts with different painting / styles. The "automatic iteration" setting seems to be for the Android client version.

stefanronn avatar Aug 29 '23 14:08 stefanronn