8000 Change of RGB values during testing · codinghead/simple-neural-network@8d033d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d033d5

Browse files
committed
Change of RGB values during testing
1 parent d0f6828 commit 8d033d5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

trafficlight/tlight_detect/tlight_detect.pde

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ void setup() {
5151
network.turnLearningOn();
5252
println("Neural network is learning...");
5353

54-
for (int loop = 0; loop < 30000; ++loop) {
54+
for (int loop = 0; loop < 90000; ++loop) {
5555

56-
teachRed(159, 65, 37);
57-
teachAmber(213, 141, 40);
58-
teachGreen(128, 152, 130);
56+
teachRed(220, 56, 8);
57+
teachAmber(216, 130, 11);
58+
teachGreen(123, 150, 128);
5959

60-
teachOther(47, 46, 24);
61-
teachOther(147, 160, 155);
62-
teachOther(192, 184, 132);
63-
teachOther(129, 151, 154);
60+
//teachOther(163, 160, 121);
61+
teachOther(76, 72, 35);
62+
teachOther(175, 167, 138);
63+
teachOther(152, 167, 161);
6464

6565
}
6666

0 commit comments

Comments
 (0)
0