Skip to content

Conv Net for identifying GUI componenets from screenshots using Tensorflow

License

Notifications You must be signed in to change notification settings

thomasdeanwhite/GUIdance

Repository files navigation

GuiWidgets

A technique to identify widgets in screenshots of GUIs.

Installation

  • git clone git@github.com:thomasdeanwhite/GUIdance.git
  • Fetch weights using GitLFS: git lfs pull or download them from this repo
  • unzip weights zip file
  • Copy gui-tester/src/main/python/gui_interaction/config.py.BACK to config.py
  • Install dependencies
    • pip3 install -r requirements.txt
  • Change gui-tester/src/main/python/gui_interaction/config.py
    • data_dir and output_dir to directory of training input data and desired output directory

Running

To visualise bounding boxes, model_plot.py can be used:

gui-tester/src/main/python/gui_interaction/model_plot.py [path to image]

e.g.

python gui-tester/src/main/python/gui_interaction/model_plot.py /home/user/img.png

Annotated App

Ensure that the model weights are in the folder weights in the directory you are running the python script from.

If struggling with Git LFS, the weights file can be found here: https://github.com/thomasdeanwhite/GUIdance/blob/master/weights.zip

About

Conv Net for identifying GUI componenets from screenshots using Tensorflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published