asamasach commited on
Commit
21d0e75
ยท
verified ยท
1 Parent(s): 77d75ba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +123 -132
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: "Monitait Step-by-Step User Guide"
3
- subtitle: "Hardware (WatcherJET 3.0) & AI Training Platform"
4
- author: "Monitait.com"
5
- date: "2025-10-13"
6
  format:
7
  html:
8
  toc: true
@@ -18,170 +18,161 @@ format:
18
  toc: true
19
  keep-tex: true
20
  documentclass: scrreprt
21
- classoption: ["paper=a4", "twoside=false"]
 
 
 
 
 
 
 
 
22
  ---
23
 
24
- ::: {.callout-note}
25
- **Version:** 1.0 โ€ข **Date:** October 13, 2025
26
- **Powered by Monitait** โ€“ monitait.com
27
- :::
28
 
29
- # Chapter 1 โ€“ Hardware & WatcherJET 3.0
 
 
30
 
31
- ![WatcherJET 3.0 Overview](images/watcherjet-cover.png){width=80% fig-align=center}
 
 
 
32
 
33
- ## Table of Contents โ€“ Setup: Collecting Data
34
 
35
- - Step 1: Connect the sensors
36
- - External machine signal
37
- - Push button
38
- - Obstacle sensor
39
- - Encoder
40
- - RS485 protocol
41
- - Step 2: Connect the power supply
42
- - Step 3: Provide an access point
43
- - Step 4: Register at console.monitait.com
44
 
45
- ## Table of Contents โ€“ Setup: Taking Action
46
 
47
- - Step 1: Connect the high-current power supply
48
- - Step 2: Set up the emitters
49
- - Step 3: Connect the actuators
50
- - Controls and Signals (Keys & Indicators)
51
- - QC Machines & Wiring Schematics
52
 
53
  ### Step 1: Connect the Sensors
54
 
55
  #### External Machine Signal
56
- ![External Machine Signal](images/sensors-external.png){width=90%}
57
-
58
- - **Production Count**: Connect any 12โ€“24 V signal to OK inputs (3 & 4)
59
- - **Counting Defects**: Connect ejector/machine NG signal to NG inputs (5 & 6)
60
- โ†’ Bidirectional & opto-isolated
61
 
62
  #### Push Button
63
- ![Push Button Wiring](images/sensors-pushbutton.png){width=90%}
64
-
65
- **Production Count** โ†’ OK (4) + GND (1), bridge OK (3) โ†’ +V (2)
66
- **Defect Count** โ†’ same logic using NG (6 & 5)
67
 
68
  #### Obstacle Sensor
69
- ![Obstacle Sensor Wiring](images/sensors-obstacle.png){width=90%}
70
-
71
- Black โ†’ OK/NG input, Brown โ†’ +V (2), Blue โ†’ GND (1), bridge remaining OK/NG โ†’ +V (2)
72
-
73
- #### Encoder & RS485
74
- Encoder: White โ†’ NG (6), Black โ†’ OK (4), Brown โ†’ +V, Blue โ†’ GND
75
- RS485: A โ†’ (8), B โ†’ (7)
76
-
77
- ### Step 2: Connect the Power Supply
78
- **Specifications**
79
-
80
- | Parameter | Value |
81
- |------------------------|-----------------|
82
- | Input/Output Voltage | 12โ€“24 V DC |
83
- | Max Output Current | 2 A |
84
- | Operating Temperature | โ€“10 ยฐC to 50 ยฐC |
85
-
86
- ### Step 3: Provide an Access Point
87
- **Best Practice:** Wired LAN + firewall rule `*.monitait.com`
88
- **Temporary:** Mobile hotspot โ†’ Name: `Monitait`, Password: `p@ssword`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
- ### Step 4: Register at console.monitait.com
91
- Add Watcher โ†’ Enter Registration ID โ†’ Set station & advanced options (multiplication factor, timeout, etc.)
92
 
93
  # Chapter 2 โ€“ AI Training
94
 
95
- ![AI Training Cover](images/ai-training-cover.png){width=70% fig-align=center}
96
-
97
- ## Table of Contents
98
-
99
- - Step 1: AI Training Platform
100
- - Step 2: Administration (Create tasks & upload images)
101
- - Step 3: Evaluation
102
- - Step 4: Deploy trained weights
103
 
104
- ### Step 1: AI Training Platform
105
-
106
- ![Task List](images/ai-task-list.png){width=95%}
107
-
108
- #### Basic Tools โ€“ How to Annotate
109
- ![Basic Annotation](images/ai-basic-tools.png){width=95%}
110
 
 
111
  1. Confirm correct task
112
  2. Choose category
113
- 3. Draw bounding box
114
  4. Save โ†’ next image
115
 
116
- #### Advanced Tools
117
- ![Advanced Tools](images/ai-advanced-tools.png){width=95%}
118
-
119
- - Image ID display
120
- - Show/Hide panels
121
- - Pan & zoom (Ctrl + scroll)
122
- - Edit / delete boxes
123
 
124
- #### Tips & Hints
125
- ![Tips](images/ai-tips.png){width=90%}
 
 
126
 
127
- - Keyboard shortcuts: 1โ€“9, QWERTYUI for categories
128
- - Overlapping objects โ†’ draw elsewhere โ†’ drag, or hide with eye icon
129
- - Add metadata via โ€œ+โ€ in right panel
130
 
131
- ### Step 2: Administration โ€“ Create Tasks & Upload Images
132
-
133
- 1. Tasks โ†’ **+ NEW TASK**
134
- - Basic Info (name, quantity, type, dates, etc.)
135
- - Labels โ†’ define categories & colors
136
  2. After creation โ†’ โ‹ฎ โ†’ **Upload Images** (.jpg, .png, .jpeg)
137
 
138
  **Best Practices**
139
- - Use visually distinct categories
140
- - Always label main object (e.g., โ€œbottleโ€)
141
- - Use descriptive IDs (bottle-pk-100)
142
- - Monitait team handles training & augmentation
143
 
144
  ### Step 3: Evaluation
145
 
146
- #### What is Evaluation?
147
- Testing the model on unseen data โ†’ measures real-world performance.
148
-
149
- #### Key Metrics
150
- - **TP** โ€“ correctly detected defect
151
- - **FP** โ€“ false alarm
152
- - **FN** โ€“ missed defect
153
- - **TN** โ€“ correctly identified good item
154
-
155
- | Metric | Formula | Meaning |
156
- |----------|----------------------------------|------------------------------------------|
157
- | Precision| TP / (TP + FP) | How many detections were correct |
158
- | Recall | TP / (TP + FN) | How many real defects were found |
159
- | F1-Score | 2 ร— (P ร— R) / (P + R) | Balanced score |
160
- | mAP | Mean Average Precision (0โ€“1) | Overall model quality (higher = better) |
161
-
162
- #### Tips to Increase Accuracy & Recall
163
- - Diverse dataset (lighting, angles, backgrounds)
164
- - Tight, consistent bounding boxes
165
- - Multiple reviewers
166
- - Avoid similar/confusing categories
167
- - Consult Monitait team for optimal augmentations
168
 
169
  ### Step 4: Deploy Trained Model
170
 
171
- Each successful training creates:
172
- - `best.pt` (final weights)
173
- - Unique **Training ID** (record it!)
174
-
175
- **Deployment Steps**
176
- 1. Verify new `best.pt` performs better on sample images
177
- 2. Copy to machine:
178
- `/home/projects/inference/best.pt`
179
- 3. Restart the inference system
180
-
181
- The new model is now live.
182
-
183
- ---
184
 
185
- ::: {.callout-tip}
186
- For technical support or custom training strategies, contact the Monitait team at **monitait.com**
187
- :::
 
 
1
  ---
2
+ title: Monitait Step-by-Step User Guide
3
+ subtitle: Hardware (WatcherJET 3.0) & AI Training Platform
4
+ author: Monitait.com
5
+ date: '2025-10-13'
6
  format:
7
  html:
8
  toc: true
 
18
  toc: true
19
  keep-tex: true
20
  documentclass: scrreprt
21
+ classoption:
22
+ - paper=a4
23
+ - twoside=false
24
+ sdk: docker
25
+ emoji: ๐ŸŒ
26
+ colorFrom: purple
27
+ colorTo: indigo
28
+ pinned: true
29
+ short_description: Docs
30
  ---
31
 
32
+ # Monitait Step-by-Step User Guide
33
+ **WatcherJET 3.0 Hardware + AI Training Platform**
34
+ **Version:** 1.0 โ€“ **Date:** October 13, 2025
35
+ **Powered by Monitait** โ€“ [monitait.com](https://monitait.com)
36
 
37
+ ---
38
+
39
+ ## Download Full Illustrated Manuals (PDF)
40
 
41
+ | Document | Pages | Link |
42
+ |---------------------------------------------|-------|---------------------------------------------------------------------------------------|
43
+ | Chapter 1 โ€“ Hardware & WatcherJET 3.0 | 27 | [CHAP-1-AI-HARDWARE.pdf](CHAP-1-AI-HARDWARE.pdf) |
44
+ | Chapter 2 โ€“ AI Training | 15 | [CHAP-2-AI-TRAINING.pdf](CHAP-2-AI-TRAINING.pdf) |
45
 
46
+ All wiring diagrams, screenshots, and detailed illustrations are in these PDFs.
47
 
48
+ ---
 
 
 
 
 
 
 
 
49
 
50
+ # Chapter 1 โ€“ Hardware & WatcherJET 3.0
51
 
52
+ ### Quick Setup (4 Steps)
53
+ 1. **Connect the sensors**
54
+ 2. **Connect the power supply** (12โ€“24 V DC)
55
+ 3. **Provide an access point (AP)**
56
+ 4. **Register at** [console.monitait.com/factory/watchers](https://console.monitait.com/factory/watchers)
57
 
58
  ### Step 1: Connect the Sensors
59
 
60
  #### External Machine Signal
61
+ - Production Count โ†’ Connect any 12โ€“24 V signal to **OK inputs (3 & 4)**
62
+ - Defect Count โ†’ Connect ejector/NG signal to **NG inputs (5 & 6)**
63
+ โ†’ Bidirectional, opto-isolated
 
 
64
 
65
  #### Push Button
66
+ - Production: Button โ†’ OK (4) + GND (1); bridge OK (3) โ†’ +V (2)
67
+ - Defects: Same wiring using NG (5 & 6)
 
 
68
 
69
  #### Obstacle Sensor
70
+ - Black wire โ†’ OK or NG input
71
+ - Brown โ†’ +V (2)
72
+ - Blue โ†’ GND (1)
73
+ - Bridge remaining OK/NG โ†’ +V (2)
74
+
75
+ #### Encoder
76
+ White โ†’ NG (6) | Black โ†’ OK (4) | Brown โ†’ +V | Blue โ†’ GND
77
+ Bridge (3) & (5) โ†’ +V (2)
78
+
79
+ #### RS485 Protocol
80
+ A โ†’ terminal 8 | B โ†’ terminal 7
81
+
82
+ ### Step 2: Power Supply
83
+ - 12โ€“24 V DC, max 2 A
84
+ - Connect to terminals (1) & (2) โ†’ green power LED turns on
85
+
86
+ ### Step 3: Network Connection
87
+ - **Best:** Wired LAN (add firewall rule `*.monitait.com`)
88
+ - **Temporary:** Mobile hotspot โ†’ SSID: `Monitait`, Password: `p@ssword`
89
+
90
+ ### Step 4: Register the Watcher
91
+ 1. Go to console.monitait.com โ†’ Watchers โ†’ Add Watcher
92
+ 2. Enter Registration ID (shown on phone when connected to hotspot)
93
+ 3. Set station, multiplication factor, timeout, etc.
94
+ 4. Test: Trigger sensor โ†’ red heart LED must blink
95
+
96
+ ### High-Current Power, Emitters & Actuators
97
+ - High-current PSU โ‰ค 48 V โ†’ terminals (9 & 10)
98
+ - Emitters: Positive โ†’ PSU, Negative โ†’ U (12) or B (11) depending on alignment
99
+ - Ejector output (15), Warning output (16) โ†’ connect to PLC (opto-isolated NPN)
100
+
101
+ ### Keys & Indicators
102
+ - Key-1: Buzzer on/off
103
+ - Key-3: Enable camera
104
+ - Key-4: Enable scanner
105
+ - Green power, red heart (data), checkmark (OK), rejection (NG), thunder (PPS)
106
 
107
+ ---
 
108
 
109
  # Chapter 2 โ€“ AI Training
110
 
111
+ ### Table of Contents
112
+ - Step 1: AI Training Platform
113
+ - Step 2: Administration (Tasks & Images)
114
+ - Step 3: Evaluation
115
+ - Step 4: Deploy Weights
 
 
 
116
 
117
+ ### Step 1: AI Training Platform โ€“ Annotation
 
 
 
 
 
118
 
119
+ #### Basic Workflow
120
  1. Confirm correct task
121
  2. Choose category
122
+ 3. Draw bounding box (click โ†’ drag โ†’ click)
123
  4. Save โ†’ next image
124
 
125
+ #### Keyboard Shortcuts (fast annotation)
126
+ `1 2 3 4 Q W E R T Y U I` โ†’ select categories instantly
 
 
 
 
 
127
 
128
+ #### Tips
129
+ - Overlapping objects โ†’ draw elsewhere then drag, or hide with eye icon
130
+ - No images visible โ†’ all annotated; use < > buttons
131
+ - Add metadata (optional) via โ€œ+โ€ in right panel
132
 
133
+ ### Step 2: Administration โ€“ Create Task
 
 
134
 
135
+ 1. Tasks โ†’ **+ NEW TASK**
136
+ - Enter name (e.g., โ€œBottle Defect Detectionโ€)
137
+ - Set quantity, type (object detection, classification, etc.)
138
+ - Add labels/categories with colors
 
139
  2. After creation โ†’ โ‹ฎ โ†’ **Upload Images** (.jpg, .png, .jpeg)
140
 
141
  **Best Practices**
142
+ - Use visually distinct categories
143
+ - Always label the main object (e.g., โ€œbottleโ€)
144
+ - Use descriptive IDs (bottle-pk-100, pen-dp-105)
145
+ - Monitait team performs training and selects best augmentations
146
 
147
  ### Step 3: Evaluation
148
 
149
+ #### Key Concepts
150
+ - **TP** = correct detection
151
+ - **FP** = false alarm
152
+ - **FN** = missed defect
153
+ - **TN** = correctly identified good item
154
+
155
+ | Metric | Formula | Meaning |
156
+ |-----------|-----------------------------|--------------------------------------|
157
+ | Precision | TP / (TP + FP) | Accuracy of positive predictions |
158
+ | Recall | TP / (TP + FN) | How many real defects were found |
159
+ | F1-Score | 2 ร— (P ร— R) / (P + R) | Balance between precision & recall |
160
+ | mAP | Mean Average Precision | Overall model quality (higher = better) |
161
+
162
+ #### How to Improve Accuracy & Recall
163
+ - Diverse dataset (lighting, angles, backgrounds)
164
+ - Tight, consistent bounding boxes
165
+ - Multiple reviewers
166
+ - Avoid similar/confusing categories
167
+ - Consult Monitait team for optimal augmentation and training settings
 
 
 
168
 
169
  ### Step 4: Deploy Trained Model
170
 
171
+ Every successful training produces:
172
+ - `best.pt` (final weights)
173
+ - Unique **Training ID** โ†’ record it!
 
 
 
 
 
 
 
 
 
 
174
 
175
+ **Deployment on production machine:**
176
+ ```bash
177
+ cp best.pt /home/projects/inference/best.pt
178
+ # Restart inference service โ†’ new model is live