X-Git-Url: https://git.ao2.it/experiments/opencv_trail_effect.git/blobdiff_plain/98204747b6c4091c125539c3b386a0b6557ae848..c12d0447caf616be8d55a10e7c8fc510b3fe6d46:/README?ds=inline diff --git a/README b/README index c4725c4..b5fba01 100644 --- a/README +++ b/README @@ -15,13 +15,15 @@ using OpenCV. Segmentation can done using either thresholding or background subtraction. -The "sole" assumptions for a decent effect are that: +A few conditions are required to create a decent effect: - 1. the camera does not move; - 2. the background lighting in the scene is quite stable (when doing - background subtraction it is recommended to disable auto-gain in the - camera, and avoiding any artifact introduced by the power line - frequency). + 1. the camera should not move; + 2. the lighting in the scene should be quite stable (when doing background + subtraction it is recommended to disable auto-gain in the camera, and + avoid any artifact introduced by the power line frequency); + 3. the subject should enter the scene only after the background learning + phase has finished, i.e. after opencv_trail_effect has showed the preview + window. Examples of use @@ -51,6 +53,8 @@ frames in the trail, possibly with the most recent frame drawn on top: $ ./opencv_trail_effect -l 10 -s background -d average -B +Here is a video showing the examples from above: +https://www.youtube.com/watch?v=X3oRozxt2O4 Side note -------------------