Skip to content
This repository was archived by the owner on Jan 8, 2023. It is now read-only.
This repository was archived by the owner on Jan 8, 2023. It is now read-only.

Incorrect specification of WINDOW_SCALE in labeler.py for vcxsrv users? #16

@ftctechnh

Description

@ftctechnh

I am using a Windows 10 machine with Ubuntu 18.04 LTS installed as a Linux subsystem on my windows machine.

I am using VcXsrv as the X Windows server on my laptop so I can view XWindows applications that are run on my Ubuntu subsystem.

This works well, but I had a problem with the window being too small to use when I launched labeler.py. I noticed that in the labeler.py script, the window scale is specified as ".75". I compared this to the scale specified in find_bb.py (which runs properly on my VcXsrv server). In the script find_bb.py it specifies the scale as "0.5".

I modified the labeler.py script (see below) and it works well now. The window is large and visible. It appears that for scale values < 1, the value must include a leading "0" in the script:

WINDOW = "Tracking"

# On VcXsrv servers, it seems the scale has to be specified with a leading zero for a value less than 1.
# Otherwise, the displayed window is very small.
#WINDOW_SCALE = .75
WINDOW_SCALE = 0.75

CACHE_SIZE = 150 # 5 seconds worth of frames

I am not sure if this is a problem unique to VcXsrv, but when I ran labeler.py on a Windows machine (natively, using Python3 for windows) I did not encounter this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions