mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
updated readme
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user