Skip to main content
Skip table of contents

Log to file (Action)

Logs timestamps and descriptors from the current segmentation level to a lightweight .txt or .csv file for long-term analysis.

This action saves the timestamp of detected objects and records all descriptors from the current segmentation level into a .txt or .csv file. It is designed for long-term monitoring, where storing full raw data would take up too much disk space. The compact CSV format makes it easy to review, analyze, and import the logged results into other tools.

Parameters

File

Select in which file to store the timestamp.

Spectrum

✅ Adds the average spectrum for each object

⬜ No wavelength information

If the average spectrum of the object should be included in the logged values.

Example without average spectrum

CODE
Timestamp;Nut type
2022-10-19 13:01:05:216;Pecan
2022-10-19 13:01:05:657;Pecan
2022-10-19 13:01:06:426;Shell
2022-10-19 13:01:06:789;Shell
2022-10-19 13:01:07:103;Shell
2022-10-19 13:01:07:640;Hazelnut
2022-10-19 13:01:07:798;Hazelnut

Example with average spectrum

CODE
Timestamp;Nut type;1164.52;1209.84;1255.04;1300.16;1345.2;1390.17;1435.09;1479.97;1524.81;1569.64;1614.45;1659.25;1704.05;1748.85;1793.66;1838.47;1883.3;1928.12;1972.95;2017.79;2062.62;2107.45;2152.26;2197.05;2241.81;2286.53;2331.2;2375.81;2420.34;2464.78;2509.12
2022-10-19 13:02:17:011;Almond;.06559;.09108;.0539;.04815;.05893;.10066;.16765;.1746;.16371;.1569;.14927;.15395;.18742;.19631;.19184;.18483;.19914;.34172;.29652;.26753;.29526;.31576;.32058;.29466;.29214;.32895;.34304;.34028;.34843;.39561;.39939
2022-10-19 13:02:17:544;Almond;.19512;.24378;.17134;.16076;.17367;.24578;.32341;.3403;.33552;.32394;.31233;.31646;.40613;.41807;.39846;.3802;.38749;.53758;.51465;.48742;.52978;.54042;.54841;.52841;.52823;.60407;.62012;.61334;.61242;.63922;.62416
2022-10-19 13:02:17:752;Hazelnut;.12788;.2246;.0862;.06714;.08369;.21035;.29947;.30715;.30096;.28117;.26522;.28289;.50064;.52686;.47625;.43285;.42753;.62402;.6085;.5729;.61702;.61298;.64618;.62496;.64267;.81566;.84318;.84499;.83465;.81804;.76378
2022-10-19 13:02:17:784;Almond;.16625;.21631;.13809;.12332;.13691;.21723;.29614;.30846;.29812;.28758;.27617;.28394;.35645;.36906;.35714;.34366;.35226;.50191;.46585;.43894;.47779;.49702;.50116;.47341;.4751;.52519;.54013;.5341;.53893;.57683;.56941
2022-10-19 13:02:18:268;Almond;.12044;.16687;.10109;.09165;.10618;.17382;.25992;.27333;.26497;.25142;.23798;.24228;.32867;.34301;.32349;.30439;.31664;.4963;.46215;.42708;.46988;.47776;.4904;.46334;.46523;.55477;.57518;.5708;.57129;.596;.57464
2022-10-19 13:02:18:316;Almond;.08622;.13413;.05959;.04553;.0592;.1339;.21437;.22442;.21366;.20366;.19211;.19882;.2726;.28412;.27103;.25635;.26438;.41916;.38052;.35052;.38783;.40651;.41235;.38452;.38666;.44754;.46379;.45904;.46325;.49954;.49548
2022-10-19 13:02:18:760;Almond;.09499;.13052;.07557;.06536;.07813;.13561;.20246;.21141;.20245;.19376;.1847;.18967;.24378;.25392;.24453;.23398;.24601;.38834;.35198;.32256;.34992;.36236;.36853;.34747;.34822;.3976;.41306;.40847;.41328;.44759;.44083
2022-10-19 13:02:18:952;Almond;.00776;.03744;-.00307;-.00939;.00366;.04902;.12115;.129;.11817;.11193;.10378;.10669;.14254;.15247;.14859;.14148;.15517;.30331;.25696;.22635;.2574;.27843;.28147;.25211;.25234;.29405;.31084;.30665;.31532;.36103;.36317
2022-10-19 13:02:19:172;Almond;.2457;.34081;.20128;.18011;.19599;.32508;.41505;.42637;.42119;.40092;.38503;.40225;.59202;.6167;.57474;.53723;.53425;.72083;.70422;.6713;.71563;.71672;.74225;.72194;.73255;.85982;.881;.879;.87046;.8613;.8209
2022-10-19 13:02:19:904;Almond;.03964;.06072;.02865;.02292;.03763;.08321;.18868;.19234;.16967;.15896;.14824;.15541;.17554;.1865;.18509;.1794;.20638;.41901;.34223;.29666;.33385;.36879;.37747;.3319;.32698;.36662;.38791;.38413;.39988;.46357;.47648
2022-10-19 13:02:19:967;Almond;.05644;.07731;.045;.03819;.04943;.088;.15753;.16428;.15129;.14499;.13787;.14223;.16413;.17332;.17173;.16669;.18291;.33478;.28402;.25111;.28072;.30429;.30636;.27686;.27451;.30699;.32219;.31774;.32702;.37758;.38348
2022-10-19 13:02:20:460;Almond;.05157;.0784;.03933;.03137;.04203;.0859;.15391;.16027;.14784;.143;.13666;.14277;.17126;.18106;.17848;.1732;.18574;.33505;.28123;.2512;.28507;.31404;.32105;.28636;.2825;.31846;.33341;.32968;.33965;.39381;.40465
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.