Skip to content

Commit a7b9943

Browse files
authored
Update README.md
Will add my example processor once functional with teensy too
1 parent d7eda98 commit a7b9943

1 file changed

Lines changed: 29 additions & 4 deletions

File tree

README.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ dlclivegui
2929
- **Init Camera**
3030

3131
<p align="center">
32-
<img src= https://bc3-production-blob-previews-us-east-2.s3.us-east-2.amazonaws.com/04b78c1a-c2b7-11ea-a1bf-a0369f6bea8a?response-content-disposition=inline%3B%20filename%3D%22preview-lightbox-image.png%22%3B%20filename%2A%3DUTF-8%27%27preview-lightbox-image.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS5PME4CT5QW2PJJU%2F20200710%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20200710T140950Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=62ebe4865a99d4a90ac3a66d0b898e6b3e3e2cdce1fbc63d97bca4f306bb60b2>
33-
<img src= https://bc3-production-blob-previews-us-east-2.s3.us-east-2.amazonaws.com/b55cf2da-c2b7-11ea-8d78-c81f66d3f0a2?response-content-disposition=inline%3B%20filename%3D%22preview-lightbox-image.png%22%3B%20filename%2A%3DUTF-8%27%27preview-lightbox-image.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS5PME4CT5QW2PJJU%2F20200710%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20200710T141446Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=cf3ba83bfc5af64e9b510722a25b210a71402c170adaaa4c0028d585c6252613>
32+
<img src= https://imagizer.imageshack.com/img923/2419/QQKyMH.png>
33+
<img src= https://imagizer.imageshack.com/img924/626/acJhWD.png>
3434
</p>
3535

36-
- **Processor settings**: TODO
36+
- **Processor settings**:
37+
- Chose your processor directory using **Processor Dir**
38+
- Pick the processor class your wrote (see appendix 1)
39+
- **Edit** or **Set Proc**
40+
3741
- **DeepLabCut**:
3842
- From scroll down menu: **Add DLC** or chose your model, these settings can be modified using **Edit DLC Settings**
3943
- Specify Name, browse to extracted DLC model folder
@@ -42,10 +46,31 @@ dlclivegui
4246
- **Display DLC Keypoints**, keypoints can be edited but need to be 'undisplayed' first to have an effect.
4347

4448
<p align="center">
45-
<img src= https://bc3-production-blob-previews-us-east-2.s3.us-east-2.amazonaws.com/3ffebfc2-c2b8-11ea-b280-a0369f6bed60?response-content-disposition=inline%3B%20filename%3D%22preview-lightbox-image.png%22%3B%20filename%2A%3DUTF-8%27%27preview-lightbox-image.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS5PME4CT5QW2PJJU%2F20200710%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20200710T141839Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=dacc90e60f6dab4f282e25f4b468a42bc3e79ed9529c3fa99915df0440c47420>
49+
<img src= https://imagizer.imageshack.com/img923/9730/MNzr1J.png>
4650
</p>
4751

4852
## Record Session
4953

5054
- **Record**:
5155
- **Set Up Session -> Ready -> On -> Off -> Save Video**
56+
57+
# Apendices
58+
1. **Processor**:
59+
Use the processor folder as a template to create your own processor
60+
The default processor should contain:
61+
- init
62+
- process: takes in a pose, performs operations, and returns a pose
63+
- save: saves any internal data generated by the processor (such as timestamps for commands to external hardware)
64+
65+
```python
66+
class Processor(object):
67+
68+
def __init__(self, **kwargs):
69+
pass
70+
71+
def process(self, pose, **kwargs):
72+
return pose
73+
74+
def save(self, file=''):
75+
return 0
76+
```

0 commit comments

Comments
 (0)