This folder contains the code for user attention models presented in the paper:

Directing User Attention via Visual Flow on Web Designs
Xufang Pang*, Ying Cao*, Rynson W.H. Lau and Antoni B. Chan (*Joint first authors)
ACM Trans. on Graphics (Proc. ACM SIGGRAPH Asia 2016), Dec. 2016

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This folder contains following subfolders:

external: external libraries
func: functions to compute features and make prediction
models: trained attention models
plots: functions for visualization

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The code is tested on Windows and can be run by the following steps:
1. Run "install.m" to install all paths 
2. Run "demo.m" to run user attention models on a test webpage

