From b3ef7c73e46ff2c41fa47ccf0be458ab3dbc2803 Mon Sep 17 00:00:00 2001 From: Alberto Pasqualetto Date: Sun, 21 Jul 2024 19:00:11 +0200 Subject: [PATCH] Tabs --- Report/main.pdf | Bin 4625252 -> 4625252 bytes Report/main.tex | 8 ++++---- Report/section/elements.tex | 1 - Report/section/executables.tex | 2 ++ Report/section/introduction.tex | 3 +-- Report/section/results.tex | 1 - Report/section/tableDetection.tex | 1 - Report/section/tableSegmentation.tex | 1 - 8 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Report/main.pdf b/Report/main.pdf index 74ca937330d125cf2d79b231009f32be07e77389..9d2774149116cb6347ff612d3ba6b7044793e49a 100644 GIT binary patch delta 241 zcmajVNm9Z<06@_qh@glJDk@{b-~a)eV1`yik`BG)N>t_FfCW_^fD=%~g*b@ZfW@!3 z`N!R#aXhsqg+ZDNGF*}+#}(J)xuL)qLhxj8$xZ1qOB{s9U_Nv8k+ delta 241 zcmajVNm9Z<06@_qs30Jdf+G-SWilaj=w^u03BBb?R^{Ko1yvrv6Hvv4IEdW9#jm&d zr{5pzbnc4;7D+C+W@3M1jk(3Q^C(NcK+R4WtMtN)h0`8M@G2J}g@ diff --git a/Report/main.tex b/Report/main.tex index aa6c025..753f2b5 100644 --- a/Report/main.tex +++ b/Report/main.tex @@ -105,10 +105,10 @@ % directly follow a colon or long dash \title{8BallPool video analysis} \author{ - %Authors - Michele Sprocatti\textsuperscript{\rm 1}, %\equalcontrib, - Alberto Pasqualetto\textsuperscript{\rm 2}, %\equalcontrib, - Michela Schibuola\textsuperscript{\rm 3}\\ + %Authors + Michele Sprocatti\textsuperscript{\rm 1}, %\equalcontrib, + Alberto Pasqualetto\textsuperscript{\rm 2}, %\equalcontrib, + Michela Schibuola\textsuperscript{\rm 3}\\ } \begin{document} diff --git a/Report/section/elements.tex b/Report/section/elements.tex index 7091f7b..05a53a2 100644 --- a/Report/section/elements.tex +++ b/Report/section/elements.tex @@ -1,5 +1,4 @@ \section{Elements of our project} % TODO change name - % TODO ThE FOLLOWING ARE AGAIN SECTIONS -> FIX \input{section/executables} \input{section/tableDetection} diff --git a/Report/section/executables.tex b/Report/section/executables.tex index 51017ca..9b96482 100644 --- a/Report/section/executables.tex +++ b/Report/section/executables.tex @@ -6,3 +6,5 @@ \section{Executables} \item \texttt{ShowSegmentationColored}: is an helper which has been used to show the ground truth of the segmentation of a particular frame using human-readable colors and it was also used as a test for the code that computes the metrics because it computes the performance of the ground truth on itself. \item \texttt{ComputePerformance}: is used to compute the performance across the dataset so the mAP and the mIoU. \end{itemize} + +% TODO cmd parameters diff --git a/Report/section/introduction.tex b/Report/section/introduction.tex index c554c4c..eebab01 100644 --- a/Report/section/introduction.tex +++ b/Report/section/introduction.tex @@ -1,3 +1,2 @@ \section{Introduction} - -This is the report of the final project for the Computer Vision course, which goal is to develop a computer vision system for analyzing video footage of various “Eight Ball” billiard game events. \ No newline at end of file +This is the report of the final project for the Computer Vision course, which goal is to develop a computer vision system for analyzing video footage of various “Eight Ball” billiard game events. diff --git a/Report/section/results.tex b/Report/section/results.tex index e3136b4..0ea92c2 100644 --- a/Report/section/results.tex +++ b/Report/section/results.tex @@ -1,5 +1,4 @@ \section{Results} - Table detection exhibits very high accuracy across the dataset, in particular for each initial frame of each video 4 corner points are always identified, the assumption that we made is that the camera does not move during a single clip so, once the table is detected in the first frame, we can use that information for all the other frames in the same video. In contrast, ball detection is influenced by k-means clustering. To achieve consistent and satisfactory results, a fixed random seed is incorporated into the code. %TODO scrivere perchè diff --git a/Report/section/tableDetection.tex b/Report/section/tableDetection.tex index 86533be..c5920e5 100644 --- a/Report/section/tableDetection.tex +++ b/Report/section/tableDetection.tex @@ -1,5 +1,4 @@ \subsection{Table detection} - A mask-based approach was implemented for table detection, exploiting the fact that in billiard games' footage, the table should be always located in the middle of the frame; this assumption is confirmed by all the videos in the dataset. The mask was generated by identifying the most common color in the image's central columns; the color is represented by a range in the Hue component (with respect to HSV color space). Building upon this initial step, Michele exploits the Canny edge detector and OpenCV's HoughLinesP function. diff --git a/Report/section/tableSegmentation.tex b/Report/section/tableSegmentation.tex index 76764b4..d8e8c92 100644 --- a/Report/section/tableSegmentation.tex +++ b/Report/section/tableSegmentation.tex @@ -1,5 +1,4 @@ \subsection{Table segmentation} - In order to isolate the table with high precision, Michele employed a combination on two different binary masks through a voting system. The involved masks are: \begin{description}