aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/README.markdown
blob: ac94d8cc8f382477ab773151bab724f487bcf9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
fly-tools
=========

FlyTracking
------------

The FlyTracking application does the bulk of the work. 

Usage:

	FlyTracking -i <inputFile.txt> -o <originalImagePath> -f <finalOutputPath> -m <maskImagePath> -O <outputFilePrefix>

FilterFlyMask
------------

FilterFlyMask runs some filtering operations on masks to ensure that the FlyTracking tool processes the information correctly.

Usage:

	FilterFlyMask -f <image-filename> -r <ratio> -m <mask-image> -o <outputFolderName>

filter-mask
-----------

filter-mask is an alternative fly filter that works much faster. It utilizes the OpenCV and CvBlob libraries.

Usage:

	filter-mask -i <input-file> -o <output-file> -r <ratio>

mask-generator
-------------

This tool creates masks from cropped video frames, which the need to be filtered by the FilterFlyMask tool.

Usage:

	mask-generator -b <derived-background> -i <input-list> -o <output-folder>

Todo: 

* automatically detect CPU count and apply threads accordingly 

derive-background
-----------------

This tool will generate a common background image of a set of video frames (PNGs), based on the statistical mode of each pixel. 

Usage:

  derive-background -i <input-list> -o <output-filename>