diff --git a/Output/game2_clip1_output.mp4 b/Output/game2_clip1_output.mp4 index a7d2ff5..57a58ca 100644 Binary files a/Output/game2_clip1_output.mp4 and b/Output/game2_clip1_output.mp4 differ diff --git a/Report/section/results.tex b/Report/section/results.tex index 976cb06..e3136b4 100644 --- a/Report/section/results.tex +++ b/Report/section/results.tex @@ -71,7 +71,7 @@ \subsection{Quantitative results} This leads to a lower overall mean Average Precision (mAP) that is focused only on balls, but a good mean Intersection over Union (mIoU) because the background and playing field are well segmented. \subsection{Qualitative results} -ome qualitative results are presented below. +Some qualitative results are presented below. % TOOD descrivere un minimo qualitativamente le immagini con qualcosa di vero su tutto il dataset (osservazioni sul funzionamento/qualità) diff --git a/Report/section/tableSegmentation.tex b/Report/section/tableSegmentation.tex index 8e11d4c..76764b4 100644 --- a/Report/section/tableSegmentation.tex +++ b/Report/section/tableSegmentation.tex @@ -6,5 +6,5 @@ \subsection{Table segmentation} \item[Color-based mask] Created by identifying pixels corresponding to the table's color range. This mask is very robust on shadows and reflections since it defined through the Hue component of the HSV color space, which is invariant to brightness. \item[k-means clustering mask] Generated by applying the k-means algorithm on the image to separate the table from the background. Useful when the table color range is too broad to be captured by the color-based mask. \end{description} -These two masks re combined through a voting system, which classifies as table pixels classified as such by at least one of the two masks gaining the best of both approaches. +These two masks are combined through a voting system, which classifies as table pixels classified as such by at least one of the two masks gaining the best of both approaches. Finally the isolated area is limited to the pixels inside the polygon defined by the previously detected corners. diff --git a/src/main.cpp b/src/main.cpp index da84a98..1f1b49c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -44,9 +44,6 @@ int main(int argc, char *argv[]) { if (argc == 2) { videoPath = filesystem::path(argv[1]); } - else if (argc == 1) { //TODO: remove at the end - videoPath = filesystem::path("../Dataset/game2_clip1/game2_clip1.mp4"); - } else { cout << "Error of number of parameters: insert one parameter" << endl; return -1;