README.md 882 B

About The Project

This is the official repo for the paper : "Reconstructing image composition features: leading lines computation"

Required libraries

python 3.11.3

numpy 1.24.3

scikit-image 0.20.0

pillow 9.4.0

argparse 1.1

Usage

Clone this repo

git clone https://gogs.univ-littoral.fr/jzhang/leading_lines.git

Cd to the directory

cd leading_lines 

Execute

python leadingLines.py YOUR_INPUT_PATH 

YOUR_INPUT_PATH can be an image (jpg or png) or a directory which contains images.

such as

python leadingLines.py ./an_image.jpg

or

python leadingLines.py ./image_directory/

Results will be placed in OUTPUT directory. The name of this output directory can be changed with -o option.