Skip to content

Commit

Permalink
Adding range detector
Browse files Browse the repository at this point in the history
  • Loading branch information
garland committed Apr 22, 2024
1 parent 57837d5 commit 1e98761
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pickleball/wall-ball-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ if you want to execute the script using your webcam rather than the supplied vid
switch:
```
python ball_tracking.py
```
```


# RGB Ball color range detector

https://github.com/PyImageSearch/imutils/blob/master/bin/range-detector

1 change: 1 addition & 0 deletions pickleball/wall-ball-app/ball_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
# define the lower and upper boundaries of the "green"
# ball in the HSV color space, then initialize the
# list of tracked points
# https://github.com/PyImageSearch/imutils/blob/master/bin/range-detector
greenLower = (29, 86, 6)
greenUpper = (64, 255, 255)
pts = deque(maxlen=args["buffer"])
Expand Down

0 comments on commit 1e98761

Please sign in to comment.