docs: describe live protocol and evaluation limits
This commit is contained in:
parent
934615b593
commit
1794640f9d
2 changed files with 13 additions and 17 deletions
|
|
@ -377,12 +377,9 @@ The protocol is capture-source agnostic; an iPad/phone client needs no server ch
|
|||
## Tests
|
||||
|
||||
```bash
|
||||
cd recognization/code
|
||||
YOLO_OFFLINE=1 ../.venv/bin/python -m unittest test_observe test_engine test_tracking test_live test_api -v
|
||||
DORAYAKI_REAL_MODEL=1 YOLO_OFFLINE=1 ../.venv/bin/python -m unittest test_real_model -v
|
||||
cd .. && YOLO_OFFLINE=1 .venv/bin/python code/test_suite.py # the original CLI suite
|
||||
cd recognization
|
||||
YOLO_OFFLINE=1 YOLO_AUTOINSTALL=false python -m unittest discover -s code -p 'test_*.py' -v
|
||||
```
|
||||
|
||||
Run tests with an explicit module list: `unittest discover` would import
|
||||
`test.py`/`fast_test.py`, which are scratch scripts with hardcoded paths from another
|
||||
machine and a blocking OpenCV window.
|
||||
`test_real_model` is discovered and skipped unless `DORAYAKI_REAL_MODEL=1`.
|
||||
CI installs `requirements.lock` and runs the same command.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue