docs: Update install instruction for qr code scan

This commit is contained in:
Arthur Golubtsov
2020-04-07 17:25:11 +03:00
parent 6cbbb5580e
commit f1539177eb
2 changed files with 4 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ The obtained images can be viewed using [web_video_server](web_video_server.md).
To program actions of the copter upon detection of [QR codes](https://en.wikipedia.org/wiki/QR_code) you can use the [pyZBar](https://pypi.org/project/pyzbar/). It should be installed using pip:
```bash
sudo apt update
sudo apt install libzbar0
sudo pip install pyzbar
```

View File

@@ -101,6 +101,8 @@ image_pub.publish(bridge.cv2_to_imgmsg(cv_image, 'bgr8'))
Для программирования различных действий коптера при детектировании нужных [QR-кодов](https://ru.wikipedia.org/wiki/QR-код) можно использовать библиотеку [pyZBar](https://pypi.org/project/pyzbar/). Ее нужно установить в помощью pip:
```bash
sudo apt update
sudo apt install libzbar0
sudo pip install pyzbar
```