From d354b923e08c624dcff04db4e8c6d1e940a32b0c Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 5 Aug 2019 17:48:31 +0200 Subject: [PATCH] Improved notation of prepare data sets section Signed-off-by: Jim Martens --- body.tex | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/body.tex b/body.tex index a9f64ca..a5ef2d0 100644 --- a/body.tex +++ b/body.tex @@ -634,8 +634,6 @@ repository. \section{Preparation of data sets} -% TODO better mathematical/code notation - Usually, data sets are not perfect when it comes to neural networks: they contain outliers, invalid bounding boxes, and similar problematic things. Before a data set can be used, these problems @@ -643,12 +641,12 @@ need to be removed. For the MS COCO data set, all annotations were checked for impossible values: bounding box height or width lower than zero, -x1 and y1 bounding box coordinates lower than zero, -x2 and y2 coordinates lower than or equal to zero, x1 greater than x2, -y1 greater than y2, image width lower than x2, -and image height lower than y2. In the last two cases the -bounding box width or height was set to (image with - x1) or -(image height - y1) respectively; +\(x_{min}\) and \(y_{min}\) bounding box coordinates lower than zero, +\(x_{max}\) and \(y_{max}\) coordinates lower than or equal to zero, \(x_{min}\) greater than \(x_{max}\), +\(y_{min}\) greater than \(y_{max}\), image width lower than \(x_{max}\), +and image height lower than \(y_{max}\). In the last two cases the +bounding box width or height was set to (image with - \(x_{min}\)) or +(image height - \(y_{min}\)) respectively; in the other cases the annotation was skipped. If the bounding box width or height afterwards is lower than or equal to zero the annotation is skipped.