updated readme

This commit is contained in:
ori agranat
2019-08-28 21:08:51 +03:00
parent 67c6931b6a
commit b88964d31e
2 changed files with 6 additions and 2 deletions

View File

@@ -50,7 +50,11 @@ if backed gets suck or no camera are recognized after a crash do:
```
sudo pkill -9 python3
```
#### compiling:
in order to compile the program for runtime run:
```
python3 -m nuitka --follow-imports Main.py
```
#### for the frontend
1. sudo apt-get install nodejs npm
2. cd chameleon-client

View File

@@ -19,7 +19,7 @@ class VisionHandler():
def find_contours(self, binary_img: numpy.ndarray):
contours, _ = cv2.findContours(binary_img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_TC89_L1)
_,contours, _ = cv2.findContours(binary_img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_TC89_L1)
return contours
class Filter_Contours: