Skip to content

Commit 3891eb3

Browse files
authored
update for macOS
1 parent b357978 commit 3891eb3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

facewarp/facewarp/README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ mkdir build
2020
cd build
2121
cmake -G"<GENERATOR>" ..
2222
```
23-
On macOS, `<GENERATOR>` will be `Xcode`, while on Windows select one of the
23+
On Linux, you cam simply run `cmake ..`.
24+
25+
On macOS, youcan simply run `cmake ..`. If the compiler fails, try `<GENERATOR>` as `Xcode`.
26+
27+
On Windows select one of the
2428
Visual Studio flavors, e.g., `Visual Studio 15 2017 Win64`. You can also always
2529
run `cmake --help` to see the list of all available generators.
2630

@@ -30,7 +34,7 @@ cmake --build . --config Release
3034
```
3135

3236
## Running
33-
After building, the `bin/<Release>` directory should contain the command
37+
After building, the `bin` directory should contain the command
3438
line utility. Here's its help. You can also access it by running it with no
3539
arguments or by calling `facewarp --help`:
3640
```
@@ -47,7 +51,7 @@ OPTIONAL PARAMETERS:
4751
You can test the facewarp by our provided test example
4852
```
4953
cd test/output
50-
../../bin/facewarp ../image.png ../triangulation.txt ../reference_points.txt ../warped_points.txt ../background.png -dump
51-
ffmpeg -r 62.5 -f image2 -i %06d.tga ../test.mp4
54+
../../bin/facewarp ../image.png ../triangulation.txt ../reference_points.txt ../warped_points.txt ../background_white.png -dump
55+
ffmpeg -r 62.5 -f image2 -i %06d.tga -pix_fmt yuv420p ../test.mp4
5256
```
53-
If you can see the warped cartoon faces during the process and `.tga` image files in `test/output` folder and 'test/test.mp4', facewarp is then successfully built.
57+
If you can see the warped cartoon faces during the process and `.tga` image files in `test/output` folder and 'test/test.mp4', facewarp is then successfully built.

0 commit comments

Comments
 (0)