Skip to content

Commit 2fd3458

Browse files
authored
Merge pull request theICTlab#18 from osherratt12/patch-3
Added Alexander example
2 parents 781ebe6 + a5c18c8 commit 2fd3458

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ options:
6868
-?, --help print this message
6969

7070
```
71-
The configuration files are `xml` files generated by OpenCV calibration tool, including intrinsic and extrinsic parameters.
71+
The configuration files are `xml` files generated by OpenCV calibration tool, including intrinsic and extrinsic parameters.
72+
73+
Note: --output is the name and location of the output file (either ply ot obj) e.g ./output/output.ply
7274

7375
### Grab the output
7476
Most of the outputs are written to the log file named `SLS.log`. To track the outputs while running the binary, run `tail -f sls.log` in another terminal of the same directory.
@@ -77,14 +79,29 @@ Most of the outputs are written to the log file named `SLS.log`. To track the ou
7779

7880
This project also provides libraries that can be easily integrated into other projects. Here's a quick start code for using the libraries. An example of [CPU](https://github.com/theICTlab/3DUNDERWORLD-SLS-GPU_CPU/blob/dev/src/app/App.cpp) and [GPU](https://github.com/theICTlab/3DUNDERWORLD-SLS-GPU_CPU/blob/dev/src/app/App_CUDA.cu) applications are included in the repository.
7981

82+
### Run library on demo data
83+
Run the library using the included example images
84+
85+
```bash
86+
cd 3DUNDERWORLD-SLS-GPU_CPU
87+
mkdir test
88+
cd test
89+
mkdir Output
90+
cp -R ../data/alexander/leftCam ./
91+
cp -R ../data/alexander/rightCam ./
92+
cmake ..
93+
make
94+
./bin/SLS --leftcam=./leftCam/dataset1 --rightcam=./rightCam/dataset1 --leftconfig=./leftCam/calib/output/calib.xml --rightconfig=./rightCam/calib/output/calib.xml --output=./Output/output.ply --format=jpg --width=1024 --height=768
95+
96+
```
8097

8198
## Known issues
8299

83100
Since there's no good API for cameras, the camera acquisition is not implemented. However, interfaces are provided.
84101
We welcome you to implement your camera class and make a pull request to this project.
85102

86103
Also please note that since the example data files are currently included in the repository, the size of repository is 300MB. It may take while to clone.
87-
clone
104+
88105
## Version Information
89106

90107
### [v4]

0 commit comments

Comments
 (0)