|
@@ -1,7 +1,7 @@
|
|
|
<!-- ABOUT THE PROJECT -->
|
|
|
## About The Project
|
|
|
This is the official repo for the paper :
|
|
|
-"Reconstructing image composition features: leading lines computation"
|
|
|
+["Reconstructing image composition features: leading lines computation"](https://www.mdpi.com/2313-433X/10/1/5)
|
|
|
|
|
|
<!-- GETTING STARTED -->
|
|
|
## Required libraries
|
|
@@ -11,7 +11,7 @@ numpy 1.24.3
|
|
|
|
|
|
scikit-image 0.20.0
|
|
|
|
|
|
-PIL 9.4.0
|
|
|
+pillow 9.4.0
|
|
|
|
|
|
argparse 1.1
|
|
|
|
|
@@ -30,10 +30,17 @@ cd leading_lines
|
|
|
|
|
|
#### Execute
|
|
|
```sh
|
|
|
-python LigneForce.py YOUR_INPUT_PATH
|
|
|
+python leadingLines.py YOUR_INPUT_PATH
|
|
|
```
|
|
|
+YOUR_INPUT_PATH can be an image or a directory which contains images.
|
|
|
+
|
|
|
such as
|
|
|
```sh
|
|
|
-python LigneForce.py ./testData
|
|
|
+python leadingLines.py ./an_image.jpg
|
|
|
+```
|
|
|
+or
|
|
|
+```sh
|
|
|
+python leadingLines.py ./image_directory/
|
|
|
```
|
|
|
|
|
|
+Results will be placed in OUTPUT directory. The name of this output directory can be changed with -o option.
|