mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 05:29:32 +00:00
docs: Update install instruction for qr code scan
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user