Skip to content

Commit

Permalink
SE-2715 changed README
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-martin committed Feb 21, 2024
1 parent 5f2bdb8 commit 43c5757
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions keypoints/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,22 @@ The Python script shows how to programmatically enable chunk data transmission f

Change the following demo parameters to your desired settings in the ```demo.py``` file.

| ***Parameter*** | ***Description*** |
|-------------------------------|-------------------------------------------------|
| ```max_fast_features``` | Maximum number of keypoints to transmit. |
| ```fast_threshold``` | Threshold for the Fast9 algorithm. |
| ```use_non_max_suppression``` | Whether to use non-maximum suppression. |
| ***Parameter*** | ***Description*** |
|----------------------|------------------------------------------------------------------------------------------------|
| ```--mac``` | (optional) The MAC address of the camera. Assumes the first available camera if not specified. |
| `--corner_type` | (optional) One of the feature point detector [FAST, GFTT]. Default=FAST |
| `--gftt_detector` | (optional) Underlying detector for GFTT. One of [Harris, MinEigenValue]. Default=Harris |
| ```--max_features``` | (optional) Maximum number of keypoints to transmit. Default = 1000 |
| `--quality_level` | (optional) Quality level for GFTT. Default = 500 |
| `--min_distance` | (optional) Minimum distance between detected points with GFTT. Default = 15 |
| `--paramk` | (optional) Free parameter `k` for GFTT. Default = 0 |
| ```--threshold``` | (optional) Threshold for the FAST algorithm. Default=20 |
| ```--nms``` | (optional) Set to use non-maximum suppression with FAST. Default=false |

## Usage

```bash
python demo.py ?MAC
# MAC - (optional) mac address of Bottlenose to connect to or first one
python demo.py <parameters>
```

----
Expand Down
2 changes: 1 addition & 1 deletion keypoints/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def parse_args():

parser.add_argument("-k", "--paramk", type=float, default=0,
help="free parameter K for Harris corner")
parser.add_argument("--threshold", type=int, default=100, help="set threshold for FAST")
parser.add_argument("--threshold", type=int, default=20, help="set threshold for FAST")
parser.add_argument("--nms", action='store_true', help="use nms for FAST")

return parser.parse_args()
Expand Down

0 comments on commit 43c5757

Please sign in to comment.