-
Notifications
You must be signed in to change notification settings - Fork 362
/
fruits_definition.h
2247 lines (1946 loc) · 73.7 KB
/
fruits_definition.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#pragma once
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
#include <iostream>
using namespace std;
using namespace cv;
// Rect(int x, int y, int width, int height) - OpenCV definition
// (x, y) is the top corner of the subimage boxing the fruit
// x + width <= image width
// y + height <= image heigth
#define SAVE_IMAGES_TO_DISK
//#define DISPLAY_ONLY
string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\golden_1_2017 02 28 10 16 25";
Rect r_box(770, 280, 420, 420);
#define motor_shaft_height 16
#define motor_shaft_height_original 78
#define color_distance 4
#define shaft_left 190
#define shaft_right 240
#define frame_start_index 0
//eggplant_rotated_2019 07 07 09 27 45.avi
/*
string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\eggplant_rotated_2019 07 07 09 27 45";
Rect r_box(490, 380, 905, 905);
#define motor_shaft_height_original 575
#define color_distance 2
#define shaft_left 420
#define shaft_right 500
#define frame_start_index 0
*/
//eggplant_2019 07 07 09 28 35.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\eggplant_2019 07 07 09 28 35";
//Rect r_box(640, 10, 775, 775);
//#define motor_shaft_height_original 5
//#define color_distance 3
//#define shaft_left 280
//#define shaft_right 340
//#define frame_start_index 0
//cauliflower_rotated1_2019 07 07 09 36 40.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\cauliflower_rotated1_2019 07 07 09 36 40";
//Rect r_box(640, 170, 665, 665);
//#define motor_shaft_height_original 65
//#define color_distance 3
//#define shaft_left 290
//#define shaft_right 350
//#define frame_start_index 0
//cauliflower_rotated_2019 07 07 09 35 40.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\cauliflower_rotated_2019 07 07 09 35 40";
//Rect r_box(590, 170, 750, 750);
//#define motor_shaft_height_original 115
//#define color_distance 3
//#define shaft_left 330
//#define shaft_right 380
//#define frame_start_index 0
//cauliflower_2019 07 07 09 34 46.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\cauliflower_2019 07 07 09 34 46";
//Rect r_box(660, 270, 620, 620);
//#define motor_shaft_height_original 80
//#define color_distance 3
//#define shaft_left 260
//#define shaft_right 330
//#define frame_start_index 0
//cabbage_white_2019 06 18 10 54 47.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\cabbage_white_2019 06 18 10 54 47";
//Rect r_box(450, 70, 870, 870);
//#define motor_shaft_height_original 75
//#define color_distance 2
//#define shaft_left 390
//#define shaft_right 460
//#define frame_start_index 0
//carrot_2019 06 18 10 47 48.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\carrot_2019 06 18 10 47 48";
//Rect r_box(780, 70, 700, 700);
//#define motor_shaft_height_original 25
//#define color_distance 2
//#define shaft_left 190
//#define shaft_right 250
//#define frame_start_index 0
//onion_white_peeled_2019 06 18 10 29 13.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_white_peeled_2019 06 18 10 29 13";
//Rect r_box(720, 40, 790, 790);
//#define motor_shaft_height_original 100
//#define color_distance 1
//#define shaft_left 350
//#define shaft_right 410
//#define frame_start_index 0
//potato_sweet_rotated1_2019 06 18 10 36 42.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_sweet_rotated1_2019 06 18 10 36 42";
//Rect r_box(520, 70, 960, 960);
//#define motor_shaft_height_original 320
//#define color_distance 4
//#define shaft_left 440
//#define shaft_right 530
//#define frame_start_index 0
//potato_sweet_rotated_2019 06 18 10 36 04.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_sweet_rotated_2019 06 18 10 36 04";
//Rect r_box(500, 70, 990, 990);
//#define motor_shaft_height_original 470
//#define color_distance 4
//#define shaft_left 440
//#define shaft_right 520
//#define frame_start_index 0
////potato_sweet_2019 06 18 10 35 16.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_sweet_2019 06 18 10 35 16";
//Rect r_box(580, 150, 860, 860);
//#define motor_shaft_height_original 10
//#define color_distance 4
//#define shaft_left 220
//#define shaft_right 310
//#define frame_start_index 0
//potato_red_rotated1_2019 06 18 10 31 48.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_rotated1_2019 06 18 10 31 48";
//Rect r_box(630, 30, 990, 990);
//#define motor_shaft_height_original 360
//#define color_distance 3
//#define shaft_left 410
//#define shaft_right 520
//#define frame_start_index 0
//potato_red_rotated_2019 06 18 10 32 32.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_rotated_2019 06 18 10 32 32";
//Rect r_box(630, 30, 990, 990);
//#define motor_shaft_height_original 440
//#define color_distance 2
//#define shaft_left 410
//#define shaft_right 520
//#define frame_start_index 0
//potato_red_2019 06 18 10 33 31.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_2019 06 18 10 33 31";
//Rect r_box(780, 170, 750, 750);
//#define motor_shaft_height_original 10
//#define color_distance 3
//#define shaft_left 220
//#define shaft_right 280
//#define frame_start_index 0
//cucumber_2019 06 18 11 05 11.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\cucumber_2019 06 18 11 05 11";
//Rect r_box(780, 140, 820, 820);
//#define motor_shaft_height_original 5
//#define color_distance 2
//#define shaft_left 190
//#define shaft_right 250
//#define frame_start_index 0
//beetroot_red_2019 06 18 10 40 29.avi
//string input_file_name = "c:\\mihai\\dropbox\\fruits\\to be processed\\beetroot_red_2019 06 18 10 40 29";
//Rect r_box(680, 40, 900, 900);
//#define motor_shaft_height_original 45
//#define color_distance 3
//#define shaft_left 280
//#define shaft_right 360
//#define frame_start_index 0
//beetroot_red_rotated_2019 06 18 10 39 27.avi
//string input_file_name = "c:\\mihai\\dropbox\\fruits\\to be processed\\beetroot_red_rotated_2019 06 18 10 39 27";
//Rect r_box(470, 40, 1080, 1080);
//#define motor_shaft_height_original 305
//#define color_distance 3
//#define shaft_left 420
//#define shaft_right 520
//#define frame_start_index 0
//beetroot_red_rotated1_2019 06 18 10 38 48.avi
//string input_file_name = "c:\\mihai\\dropbox\\fruits\\to be processed\\beetroot_red_rotated1_2019 06 18 10 38 48";
//Rect r_box(470, 40, 1080, 1080);
//#define motor_shaft_height_original 375
//#define color_distance 3
//#define shaft_left 420
//#define shaft_right 520
//#define frame_start_index 0
//pear_forelle_rotated1_2019 07 07 08 59 56.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_forelle_rotated1_2019 07 07 08 59 56";
//Rect r_box(680, 240, 690, 690);
//#define motor_shaft_height_original 190
//#define color_distance 3
//#define shaft_left 310
//#define shaft_right 370
//#define frame_start_index 0
//pear_forelle_rotated_2019 07 07 08 59 21.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_forelle_rotated_2019 07 07 08 59 21";
//Rect r_box(680, 240, 690, 690);
//#define motor_shaft_height_original 150
//#define color_distance 3
//#define shaft_left 310
//#define shaft_right 370
//#define frame_start_index 0
//pear_forelle_2019 07 07 08 58 42.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_forelle_2019 07 07 08 58 42";
//Rect r_box(740, 240, 580, 580);
//#define motor_shaft_height_original 10
//#define color_distance 2
//#define shaft_left 260
//#define shaft_right 300
//#define frame_start_index 0
//nut_peacan_2019 07 07 09 14 53.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_peacan_2019 07 07 09 14 53";
//Rect r_box(840, 200, 415, 415);
//#define motor_shaft_height_original 52
//#define color_distance 3
//#define shaft_left 90
//#define shaft_right 140
//#define frame_start_index 0
//nut_pecan_rotated2_2018 12 20 15 39 27.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_pecan_rotated2_2018 12 20 15 39 27";
//Rect r_box(940, 300, 315, 315);
//#define motor_shaft_height_original 92
//#define color_distance 5
//#define shaft_left 120
//#define shaft_right 210
//#define frame_start_index 0
//nut_pecan_rotated1_2018 12 20 15 37 34.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_pecan_rotated1_2018 12 20 15 37 34";
//Rect r_box(740, 300, 315, 315);
//#define motor_shaft_height_original 95
//#define color_distance 5
//#define shaft_left 120
//#define shaft_right 210
//#define frame_start_index 0
//nut_forest_rotated1_2019 06 18 10 07 04.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_forest_rotated1_2019 06 18 10 07 04";
//Rect r_box(1040, 500, 210, 210);
//#define motor_shaft_height_original 8
//#define shaft_left 65
//#define shaft_right 140
//#define color_distance 5
//#define frame_start_index 0
//nut_forest_rotated_2019 06 18 10 06 27.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_forest_rotated_2019 06 18 10 06 27";
//Rect r_box(1040, 500, 210, 210);
//#define motor_shaft_height_original 8
//#define color_distance 5
//#define shaft_left 65
//#define shaft_right 140
//#define frame_start_index 0
//nut_forest_2019 06 18 10 07 43.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_forest_2019 06 18 10 07 43";
//Rect r_box(1030, 500, 230, 230);
//#define motor_shaft_height_original 27
//#define color_distance 5
//#define shaft_left 70
//#define shaft_right 150
//#define frame_start_index 200
//nut_forest_2019 06 18 10 04 10.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nut_forest_2019 06 18 10 04 10";
//Rect r_box(1040, 500, 210, 210);
//#define motor_shaft_height_original 4
//#define color_distance 4
//#define shaft_left 60
//#define shaft_right 140
//#define frame_start_index 0
//ginger_rotated1_2019 06 18 11 08 55.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\ginger_rotated1_2019 06 18 11 08 55";
//Rect r_box(635, 80, 710, 710);
//#define motor_shaft_height_original 320
//#define color_distance 4
//#define shaft_left 320
//#define shaft_right 365
//#define frame_start_index 0
//ginger_rotated_2019 06 18 11 08 23.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\ginger_rotated_2019 06 18 11 08 23";
//Rect r_box(635, 80, 710, 710);
//#define motor_shaft_height_original 320
//#define color_distance 4
//#define shaft_left 320
//#define shaft_right 365
//#define frame_start_index 0
//ginger_2019 06 18 11 07 42.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\ginger_2019 06 18 11 07 42";
//Rect r_box(680, 80, 610, 610);
//#define motor_shaft_height_original 165
//#define color_distance 4
//#define shaft_left 260
//#define shaft_right 320
//#define frame_start_index 0
//blueberry_rotated_2019 04 21 18 25 33.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\blueberry_rotated_2019 04 21 18 25 33";
//Rect r_box(900, 480, 280, 280);
//#define motor_shaft_height_original 22
//#define color_distance 3
//#define shaft_left 1000
//#define shaft_right 1100
//#define frame_start_index 0
//blueberry_2019 04 21 18 24 44.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\blueberry_2019 04 21 18 24 44";
//Rect r_box(900, 480, 280, 280);
//#define motor_shaft_height_original 19
//#define color_distance 4
//#define shaft_left 1000
//#define shaft_right 1100
//#define frame_start_index 0
//nectarine_flat_rotated1_2019 06 18 10 12 45.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nectarine_flat_rotated1_2019 06 18 10 12 45";
//Rect r_box(850, 400, 540, 540);
//#define motor_shaft_height_original 4
//#define color_distance 4
//#define shaft_left 240
//#define shaft_right 280
//#define frame_start_index 0
//nectarine_flat_rotated_2019 06 18 10 12 04.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nectarine_flat_rotated_2019 06 18 10 12 04";
//Rect r_box(850, 400, 540, 540);
//#define motor_shaft_height_original 46
//#define color_distance 4
//#define shaft_left 240
//#define shaft_right 280
//#define frame_start_index 0
//nectarine_flat_2019 06 18 10 11 21.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\nectarine_flat_2019 06 18 10 11 21";
//Rect r_box(830, 440, 577, 577);
//#define motor_shaft_height_original 125
//#define color_distance 4
//#define shaft_left 255
//#define shaft_right 300
//#define frame_start_index 0
//potato_white_rotated1_2019 06 18 10 50 33.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_white_rotated1_2019 06 18 10 50 33";
//Rect r_box(590, 50, 830, 830);
//#define motor_shaft_height_original 125
//#define color_distance 3
//#define shaft_left 385
//#define shaft_right 435
//#define frame_start_index 0
//potato_white_rotated_2019 06 18 10 49 53.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_white_rotated_2019 06 18 10 49 53";
//Rect r_box(620, 50, 740, 740);
//#define motor_shaft_height_original 20
//#define color_distance 3
//#define shaft_left 340
//#define shaft_right 400
//#define frame_start_index 0
//potato_white_2019 06 18 10 49 20.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_white_2019 06 18 10 49 20";
//Rect r_box(680, 50, 770, 770);
//#define motor_shaft_height_original 4
//#define color_distance 3
//#define shaft_left 280
//#define shaft_right 330
//#define frame_start_index 0
//potato_red_washed_rotated1_2019 06 18 10 45 15.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_washed_rotated1_2019 06 18 10 45 15";
//Rect r_box(650, 100, 750, 750);
//#define motor_shaft_height_original 150
//#define color_distance 3
//#define shaft_left 330
//#define shaft_right 380
//#define frame_start_index 0
//potato_red_washed_rotated_2019 06 18 10 44 35.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_washed_rotated_2019 06 18 10 44 35";
//Rect r_box(680, 100, 670, 670);
//#define motor_shaft_height_original 7
//#define color_distance 3
//#define shaft_left 300
//#define shaft_right 340
//#define frame_start_index 0
//potato_red_washed_2019 06 18 10 44 05.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\potato_red_washed_2019 06 18 10 44 05";
//Rect r_box(680, 100, 670, 670);
//#define motor_shaft_height_original 7
//#define color_distance 3
//#define shaft_left 300
//#define shaft_right 340
//#define frame_start_index 0
//onion_white_rotated1_2019 06 18 10 26 24.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_white_rotated1_2019 06 18 10 26 24";
//Rect r_box(730, 30, 780, 780);
//#define motor_shaft_height_original 15
//#define color_distance 2
//#define shaft_left 330
//#define shaft_right 430
//#define frame_start_index 0
//onion_white_rotated_2019 06 18 10 25 23.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_white_rotated_2019 06 18 10 25 23";
//Rect r_box(720, 30, 810, 810);
//#define motor_shaft_height_original 60
//#define color_distance 3
//#define shaft_left 330
//#define shaft_right 430
//#define frame_start_index 0
//onion_white_2019 06 18 10 24 35.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_white_2019 06 18 10 24 35";
//Rect r_box(720, 40, 790, 790);
//#define motor_shaft_height_original 100
//#define color_distance 3
//#define shaft_left 350
//#define shaft_right 410
//#define frame_start_index 0
//onion_red_peeled_rotated1_2019 06 18 10 23 48.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_peeled_rotated1_2019 06 18 10 23 48";
//Rect r_box(750, 90, 750, 750);
//#define motor_shaft_height_original 165
//#define color_distance 3
//#define shaft_left 320
//#define shaft_right 360
//#define frame_start_index 0
//onion_red_peeled_rotated_2019 06 18 10 23 20.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_peeled_rotated_2019 06 18 10 23 20";
//Rect r_box(750, 90, 750, 750);
//#define motor_shaft_height_original 155
//#define color_distance 2
//#define shaft_left 320
//#define shaft_right 360
//#define frame_start_index 0
//onion_red_peeled_2019 06 18 10 22 43.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_peeled_2019 06 18 10 22 43";
//Rect r_box(780, 100, 650, 650);
//#define motor_shaft_height_original 35
//#define color_distance 3
//#define shaft_left 290
//#define shaft_right 340
//#define frame_start_index 0
//onion_red_rotated1_2019 06 18 10 20 01.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_rotated1_2019 06 18 10 20 01";
//Rect r_box(750, 50, 710, 710);
//#define motor_shaft_height_original 65
//#define color_distance 4
//#define shaft_left 315
//#define shaft_right 365
//#define frame_start_index 0
//onion_red_rotated_2019 06 18 10 19 13.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_rotated_2019 06 18 10 19 13";
//Rect r_box(750, 50, 710, 710);
//#define motor_shaft_height_original 80
//#define color_distance 4
//#define shaft_left 315
//#define shaft_right 365
//#define frame_start_index 0
//onion_red_2019 06 18 10 18 10.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\onion_red_2019 06 18 10 18 10";
//Rect r_box(790, 100, 630, 630);
//#define motor_shaft_height_original 10
//#define color_distance 3
//#define shaft_left 270
//#define shaft_right 320
//#define frame_start_index 0
////tomato_yellow_rotated2_2018 12 20 15 21 48.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\tomato_yellow_rotated2_2018 12 20 15 21 48";
//Rect r_box(580, 320, 540, 540);
//#define motor_shaft_height_original 20
//#define color_distance 4
//#define shaft_left 260
//#define shaft_right 300
//#define frame_start_index 0
//tomato_yellow_rotated_2018 12 20 15 20 37.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\tomato_yellow_rotated_2018 12 20 15 20 37";
//Rect r_box(580, 320, 540, 540);
//#define motor_shaft_height_original 58
//#define color_distance 4
//#define shaft_left 260
//#define shaft_right 300
//#define frame_start_index 0
//tomato_yellow_2018 12 20 15 20 05.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\tomato_yellow_2018 12 20 15 20 05";
//Rect r_box(580, 520, 540, 540);
//#define motor_shaft_height_original 78
//#define color_distance 2
//#define shaft_left 250
//#define shaft_right 320
//#define frame_start_index 0
//mango_red_rotated_2019 04 21 18 12 45.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\mango_red_rotated_2019 04 21 18 12 45";
//Rect r_box(570, 142, 750, 750);
//#define motor_shaft_height_original 268
//#define color_distance 4
//#define shaft_left 370
//#define shaft_right 430
//#define frame_start_index 0
////mango_red_2019 04 21 18 13 45.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\mango_red_2019 04 21 18 13 45";
//Rect r_box(230, 242, 760, 760);
//#define motor_shaft_height_original 130
//#define color_distance 4
//#define shaft_left 370
//#define shaft_right 430
//#define frame_start_index 0
//apple_pink_lady_rotated_2019 04 21 18 11 31.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple_pink_lady_rotated_2019 04 21 18 11 31";
//Rect r_box(693, 121, 520, 520);
//#define motor_shaft_height_original 36
//#define color_distance 3
//#define shaft_left 250
//#define shaft_right 300
//#define frame_start_index 0
//apple_pink_lady_2019 04 21 18 10 52
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple_pink_lady_2019 04 21 18 10 52";
//Rect r_box(725, 221, 480, 480);
//#define motor_shaft_height_original 4
//#define color_distance 3
//#define shaft_left 230
//#define shaft_right 260
//#define frame_start_index 0
//kohlrabi_2019 04 21 17 55 00.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\kohlrabi_rotated_2019 04 21 17 55 43";
//Rect r_box(770, 241, 630, 630);
//#define motor_shaft_height_original 95
//#define color_distance 4
//#define shaft_left 290
//#define shaft_right 370
//#define frame_start_index 0
//kohlrabi_2019 04 21 17 55 00.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\kohlrabi_2019 04 21 17 55 00";
//Rect r_box(790, 241, 600, 600);
//#define motor_shaft_height_original 10
//#define color_distance 3
//#define shaft_left 280
//#define shaft_right 340
//#define frame_start_index 0
////apple_crimson_snow_rotated_2019 04 21 18 09 34.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple_crimson_snow_rotated_2019 04 21 18 09 34";
//Rect r_box(570, 41, 790, 790);
//#define motor_shaft_height_original 190
//#define color_distance 4
//#define shaft_left 350
//#define shaft_right 410
//#define frame_start_index 0
//apple_crimson_snow_2019 04 21 18 08 52.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple_crimson_snow_2019 04 21 18 08 52";
//Rect r_box(600, 70, 690, 690);
//#define motor_shaft_height_original 39
//#define color_distance 4
//#define shaft_left 320
//#define shaft_right 390
//#define frame_start_index 0
//pear_red_1_rotated_2_2019 04 21 16 18 36.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_red_1_rotated_2_2019 04 21 16 18 36";
//Rect r_box(730, 170, 670, 670);
//#define motor_shaft_height_original 55
//#define color_distance 4
//#define shaft_left 330
//#define shaft_right 360
//#define frame_start_index 0
////pear_red_1_rotated_2019 04 21 16 17 48.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_red_1_rotated_2019 04 21 16 17 48";
//Rect r_box(750, 270, 635, 635);
//#define motor_shaft_height_original 100
//#define color_distance 4
//#define shaft_left 300
//#define shaft_right 350
//#define frame_start_index 0
//pear_red_1_2019 04 21 16 16 40.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_red_1_2019 04 21 16 16 40";
//Rect r_box(770, 270, 635, 635);
//#define motor_shaft_height_original 50
//#define color_distance 4
//#define shaft_left 290
//#define shaft_right 330
//#define frame_start_index 0
//pepper_yellow_rotated_2_2019 04 21 18 19 12.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_yellow_rotated_2_2019 04 21 18 19 12";
//Rect r_box(650, 150, 665, 665);
//#define motor_shaft_height_original 90
//#define color_distance 3
//#define shaft_left 325
//#define shaft_right 375
//#define frame_start_index 0
//pepper_yellow_rotated_2019 04 21 18 18 31.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_yellow_rotated_2019 04 21 18 18 31";
//Rect r_box(550, 50, 860, 860);
//#define motor_shaft_height_original 160
//#define color_distance 3
//#define shaft_left 425
//#define shaft_right 480
//#define frame_start_index 0
//pepper_yellow_2019 04 21 18 17 39.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_yellow_2019 04 21 18 17 39";
//Rect r_box(670, 155, 630, 630);
//#define motor_shaft_height_original 50
//#define color_distance 5
//#define shaft_left 305
//#define shaft_right 360
//#define frame_start_index 0
//pepper_red_rotated_2019 04 21 18 15 47.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_red_rotated_2019 04 21 18 15 47";
//Rect r_box(628, 100, 700, 700);
//#define motor_shaft_height_original 82
//#define color_distance 3
//#define shaft_left 340
//#define shaft_right 398
//#define frame_start_index 0
//pepper_red_rotated_2_2019 04 21 18 16 45.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_red_rotated_2_2019 04 21 18 16 45";
//Rect r_box(600, 100, 780, 780);
//#define motor_shaft_height_original 140
//#define color_distance 4
//#define shaft_left 370
//#define shaft_right 430
//#define frame_start_index 0
//pepper_red_2019 04 21 18 15 05.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_red_2019 04 21 18 15 05";
//Rect r_box(625, 55, 760, 760);
//#define motor_shaft_height_original 2
//#define color_distance 5
//#define shaft_left 370
//#define shaft_right 420
//#define frame_start_index 0
//pepper_green_rotated_2019 04 21 18 20 50.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_green_rotated_2019 04 21 18 20 50";
//Rect r_box(650, 130, 670, 670);
//#define motor_shaft_height_original 35
//#define color_distance 2
//#define shaft_left 330
//#define shaft_right 385
//#define frame_start_index 0
//pepper_green_2019 04 21 18 19 58.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pepper_green_2019 04 21 18 19 58";
//Rect r_box(690, 130, 635, 635);
//#define motor_shaft_height_original 3
//#define color_distance 5
//#define shaft_left 290
//#define shaft_right 340
//#define frame_start_index 0
//////banana_lady_finger_2018 06 16 11 42 10.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\banana_lady_finger_2018 06 16 11 42 10";
//Rect r_box(800, 200, 530, 530);
//#define motor_shaft_height_original 15
//#define color_distance 4
//#define shaft_left 208
//#define shaft_right 224
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum2_rotated_2018 01 26 14 38 45";
//Rect r_box(545, 70, 495, 495);
//#define color_distance 5
//#define shaft_left 205
//#define shaft_right 278
//#define motor_shaft_height_original 42
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum2_2018 01 26 14 29 31";
//Rect r_box(650, 250, 470, 470);
//#define color_distance 5
//#define shaft_left 205
//#define shaft_right 278
//#define motor_shaft_height_original 42
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum3_rotated2_2018 08 19 17 54 58";
//Rect r_box(890, 250, 300, 300);
//#define color_distance 3
//#define shaft_left 140
//#define shaft_right 175
//#define motor_shaft_height_original 90
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum3_rotated1_2018 08 19 17 54 10";
//Rect r_box(910, 250, 265, 265);
//#define color_distance 4
//#define shaft_left 120
//#define shaft_right 150
//#define motor_shaft_height_original 58
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum3_rotated_2018 07 07 17 42 18";
//Rect r_box(760, 450, 230, 230);
//#define color_distance 5
//#define shaft_left 98
//#define shaft_right 150
//#define motor_shaft_height_original 55
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\plum3_2018 08 19 17 53 13";
//Rect r_box(910, 200, 255, 255);
//#define color_distance 3
//#define shaft_left 115
//#define shaft_right 155
//#define motor_shaft_height_original 5
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_kaiser_rotated_2018 12 20 16 24 35";
//Rect r_box(490, 50, 1000, 1000);
//#define color_distance 3
//#define shaft_left 480
//#define shaft_right 520
//#define motor_shaft_height_original 165
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\pear_kaiser_2018 12 20 16 24 01";
//Rect r_box(680, 195, 750, 750);
//#define color_distance 3
//#define shaft_left 300
//#define shaft_right 340
//#define motor_shaft_height_original 14
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\hazelnut_rotated_2018 06 16 11 59 52";
//Rect r_box(958, 640, 115, 115);
//#define color_distance 5
//#define shaft_left 30
//#define shaft_right 82
//#define motor_shaft_height_original 14
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\huzelnut_2018 06 16 11 58 39";
//Rect r_box(970, 640, 105, 105);
//#define motor_shaft_height_original 4
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 30
//#define shaft_right 70
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\chestnut_rotated2_2018 12 20 15 52 19";
//Rect r_box(990, 80, 330, 330);
//#define motor_shaft_height_original 40
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 160
//#define shaft_right 195
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\chestnut_rotated1_2018 12 20 15 51 06";
//Rect r_box(1010, 70, 330, 330);
//#define motor_shaft_height_original 43
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 135
//#define shaft_right 170
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\chestnut_2018 12 20 15 47 58";
//Rect r_box(1010, 348, 330, 330);
//#define motor_shaft_height_original 133
//#define motor_shaft_height_scaled 1
//#define color_distance 3
//#define shaft_left 130
//#define shaft_right 210
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\mangostan_rotated_2018 12 20 15 55 44";
//Rect r_box(650, 148, 780, 780);
//#define motor_shaft_height_original 225
//#define motor_shaft_height_scaled 1
//#define color_distance 3
//#define shaft_left 375
//#define shaft_right 420
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\mangostan_2018 12 20 15 54 20";
//Rect r_box(710, 148, 580, 580);
//#define motor_shaft_height_original 10
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 270
//#define shaft_right 310
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\banana_lady_finger_rotated2_2018 12 21 11 07 38";
//Rect r_box(610, 10, 700, 700);
//#define motor_shaft_height_original 190
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 350
//#define shaft_right 382
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\banana_lady_finger_rotated1_2018 12 21 11 07 03";
//Rect r_box(540, 10, 835, 835);
//#define motor_shaft_height_original 275
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 420
//#define shaft_right 480
//#define frame_start_index 0
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\banana_lady_finger_2018 12 21 11 05 42";
//Rect r_box(540, 10, 895, 895);
//#define motor_shaft_height_original 65
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 432
//#define shaft_right 488
//#define frame_start_index 0
//apple4_rotated2_2018 08 19 17 52 19.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple4_rotated2_2018 08 19 17 52 19";
//Rect r_box(890, 180, 295, 295);
//#define motor_shaft_height_original 15
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 138
//#define shaft_right 168
//#define frame_start_index 0
//apple4_rotated1_2018 08 19 17 50 26.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple4_rotated1_2018 08 19 17 50 26";
//Rect r_box(905, 200, 290, 290);
//#define motor_shaft_height_original 23
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 140
//#define shaft_right 165
//#define frame_start_index 0
//apple4_2018 08 19 17 51 25.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\apple4_2018 08 19 17 51 25";
//Rect r_box(878, 135, 325, 325);
//#define motor_shaft_height_original 12
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 155
//#define shaft_right 180
//#define frame_start_index 0
//grape_white4_rotated_2018 08 19 17 28 34.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_white4_rotated_2018 08 19 17 28 34";
//Rect r_box(978, 535, 125, 125);
//#define motor_shaft_height_original 12
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 39
//#define shaft_right 89
//#define frame_start_index 0
//grape_white4_2018 08 19 17 27 43.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_white4_2018 08 19 17 27 43";
//Rect r_box(975, 530, 130, 130);
//#define motor_shaft_height_original 14
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 41
//#define shaft_right 91
//#define frame_start_index 0
//grape_white3_rotated_2018 08 19 17 46 06.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_white3_rotated_2018 08 19 17 46 06";
//Rect r_box(1020, 570, 90, 90);
//#define motor_shaft_height_original 3
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 23
//#define shaft_right 76
//#define frame_start_index 0
// grape_white3_2018 08 19 17 46 51.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_white3_2018 08 19 17 46 51";
//Rect r_box(1018, 570, 100, 100);
//#define motor_shaft_height_original 12
//#define motor_shaft_height_scaled 1
//#define color_distance 6
//#define shaft_left 25
//#define shaft_right 76
//#define frame_start_index 0
//peach2_rotated2_2018 08 19 17 14 41.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\peach2_rotated2_2018 08 19 17 14 41";
//Rect r_box(825, 170, 330, 330);
//#define motor_shaft_height_original 23
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 160
//#define shaft_right 190
//#define frame_start_index 0
//peach2_rotated1_2018 08 19 17 13 56.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\peach2_rotated1_2018 08 19 17 13 56";
//Rect r_box(815, 150, 350, 350);
//#define motor_shaft_height_original 52
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 168
//#define shaft_right 195
//#define frame_start_index 0
//peach2_2018 08 19 17 13 23.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\peach2_2018 08 19 17 13 23";
//Rect r_box(830, 138, 310, 310);
//#define motor_shaft_height_original 2
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 155
//#define shaft_right 180
//#define frame_start_index 0
////cherry2_rotated2_2018 05 24 11 37 40.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\cherry2_rotated2_2018 05 24 11 37 40";
//Rect r_box(650, 140, 300, 300);
//#define motor_shaft_height_original 4
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 105
//#define shaft_right 175
//#define frame_start_index 0
//cherry2_rotated_2018 05 24 11 36 15.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\cherry2_rotated_2018 05 24 11 36 15";
//Rect r_box(640, 190, 320, 320);
//#define motor_shaft_height_original 70
//#define motor_shaft_height_scaled 1
//#define color_distance 4
//#define shaft_left 110
//#define shaft_right 195
//#define frame_start_index 0
//// grape_blue2_rotated_2018 08 19 17 27 10.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_blue2_rotated_2018 08 19 17 27 10";
//Rect r_box(980, 530, 120, 120);
//#define motor_shaft_height_original 4
//#define motor_shaft_height_scaled 1
//#define color_distance 8
//#define shaft_left 35
//#define shaft_right 84
//#define frame_start_index 328
// grape_blue2_2018 08 19 17 26 37.avi
//string input_file_name = "c:\\Mihai\\Dropbox\\fruits\\to be processed\\grape_blue2_2018 08 19 17 26 37";