Fixed conflicts

This commit is contained in:
charlesbvll 2021-05-06 16:12:31 +02:00
commit b891ca6765

View File

@ -104,27 +104,25 @@ The default focal length is 5.7mm and this parameter can be modified using the a
## Webcam ## Webcam
You can use the webcam as input by using the `--webcam` argument. By default the `--z_max` is set to 10 while using the webcam and the `--long-edge` is set to 144. If multiple webcams are plugged in you can choose between them using `--camera`, for instance to use the second camera you can add `--camera 1`. You can use the webcam as input by using the `--webcam` argument. By default the `--z_max` is set to 10 while using the webcam and the `--long_edge` is set to 144. If multiple webcams are plugged in you can choose between them using `--camera`, for instance to use the second camera you can add `--camera 1`.
For example, the following command : we can see a few examples below, obtained we the following commands :
For the first and last visualization:
``` ```
python -m monoloco.run predict \ python -m monoloco.run predict \
--webcam \ --webcam \
--activities raise_hand --activities raise_hand
``` ```
Yields the following result : For the second one :
![webcam](docs/webcam.gif)
With `social_distance` in `--activities`, only the keypoints will be shown, allowing total anonimity.
For instance, using :
``` ```
python -m monoloco.run predict \ python -m monoloco.run predict \
--webcam \ --webcam \
--activities social_distance --activities raise_hand social_distance
``` ```
We have :
![webcam](docs/webcam_social.png) ![webcam](docs/webcam.gif)
With `social_distance` in `--activities`, only the keypoints will be shown, with no image, allowing total anonimity.
## A) 3D Localization ## A) 3D Localization