stasm
所属分类:人工智能/神经网络/深度学习
开发工具:Visual C++
文件大小:5755KB
下载次数:52
上传日期:2011-08-03 10:13:38
上 传 者:
2212255
说明: C++编写的人工智能领域机器学习方向模式识别所用的STASM算法,开源,适合修改或直接使用,适合初学者参考。
(Artificial Intelligence and machine learning pattern recognizition STASM algorithm, open source, easy to modify or use directly.)
文件列表:
stasm (0, 2011-07-25)
stasm\gsl (0, 2011-07-25)
stasm\gsl\gsl (0, 2011-07-25)
stasm\gsl\gsl\acconfig.h (3259, 2007-10-27)
stasm\gsl\gsl\config.h (8200, 2007-10-27)
stasm\gsl\gsl\gsl_blas.h (22515, 2007-10-27)
stasm\gsl\gsl\gsl_blas_types.h (1612, 2007-10-27)
stasm\gsl\gsl\gsl_block.h (604, 2007-10-27)
stasm\gsl\gsl\gsl_block_char.h (2328, 2007-10-27)
stasm\gsl\gsl\gsl_block_complex.h (706, 2007-10-27)
stasm\gsl\gsl\gsl_block_complex_double.h (2455, 2007-10-27)
stasm\gsl\gsl\gsl_block_complex_float.h (2595, 2007-10-27)
stasm\gsl\gsl\gsl_block_complex_long_double.h (2805, 2007-10-27)
stasm\gsl\gsl\gsl_block_double.h (2223, 2007-10-27)
stasm\gsl\gsl\gsl_block_float.h (2363, 2007-10-27)
stasm\gsl\gsl\gsl_block_int.h (2293, 2007-10-27)
stasm\gsl\gsl\gsl_block_long.h (2328, 2007-10-27)
stasm\gsl\gsl\gsl_block_long_double.h (2573, 2007-10-27)
stasm\gsl\gsl\gsl_block_short.h (2363, 2007-10-27)
stasm\gsl\gsl\gsl_block_uchar.h (2411, 2007-10-27)
stasm\gsl\gsl\gsl_block_uint.h (2376, 2007-10-27)
stasm\gsl\gsl\gsl_block_ulong.h (2411, 2007-10-27)
stasm\gsl\gsl\gsl_block_ushort.h (2446, 2007-10-27)
stasm\gsl\gsl\gsl_cblas.h (34262, 2007-10-27)
stasm\gsl\gsl\gsl_cdf.h (5933, 2007-10-27)
stasm\gsl\gsl\gsl_chebyshev.h (4378, 2007-10-27)
stasm\gsl\gsl\gsl_check_range.h (1218, 2007-10-27)
stasm\gsl\gsl\gsl_combination.h (2836, 2007-10-27)
stasm\gsl\gsl\gsl_complex.h (3450, 2007-10-27)
stasm\gsl\gsl\gsl_complex_math.h (6114, 2007-10-27)
stasm\gsl\gsl\gsl_const.h (984, 2007-10-27)
stasm\gsl\gsl\gsl_const_cgsm.h (6712, 2007-10-27)
stasm\gsl\gsl\gsl_const_mksa.h (6847, 2007-10-27)
stasm\gsl\gsl\gsl_const_num.h (1725, 2007-10-27)
stasm\gsl\gsl\gsl_dft_complex.h (1842, 2007-10-27)
stasm\gsl\gsl\gsl_dft_complex_float.h (1882, 2007-10-27)
stasm\gsl\gsl\gsl_dht.h (2695, 2007-10-27)
stasm\gsl\gsl\gsl_diff.h (1549, 2007-10-27)
stasm\gsl\gsl\gsl_eigen.h (3873, 2007-10-27)
stasm\gsl\gsl\gsl_errno.h (6092, 2007-10-27)
... ...
README.txt for stasm
--------------------
These are the source files for stasm, which is a command line program
for locating features in a face using Active Shape Models. You give
stasm an image file (i.e. a JPEG or BMP) and it returns the image with
the facial features marked out on the image (see
stasm/data/results-rowley-testImage.bmp for an example). It also
returns the coordinates of the face landmarks in the file "log"
(see stasm/data/rowley-test-log for an example).
Stasm is designed to work on "passport style" photographs i.e. on
front views of upright faces with neutral expressions. It doesn't
work well on faces at an angle. For more details please see the
documentation at www.milbo.users.sonic.net.
To build stasm.exe using GCC in a MINGW environment, see mingw/README.txt.
To build stasm.exe using the Microsoft C 6.0 compiler, see ms/README.txt.
For other environments, see TODO.txt in this directory.
Here is a summary of the directories:
ms/ files for building stasm using Microsoft C,
including some OpenCV DLLs.
mingw/ files for building stasm using gcc in a mingw environment,
including some GSL and JPEG DLLs.
stasm/ source files for stasm
stasm/data data files used by stasm, includes test files
rowley/ the Rowley face and eye detector (actually, my version of it)
image/ image class
mat/ matrix classes
gsl/ gsl includes and prebuilt gsl libraries for Microsoft C.
jpeg/ interface to the JPEG Group's free JPEG software,
and prebuilt library for Microsoft C
If you are incorporating the software into an existing application you
will probably want to change functions like Err() in stasm/util.cpp.
If you have existing matrix or image libraries you will need to
change the interface to the files in mat/ and image/.
If you already have the GSL for Microsoft C libraries on your system,
it would make sense to use those rather than my copies in gsl/lib_ms
because my copies are rather a hack, and are based on an old version
of GSL. See the README.txt in the gsl directories.
The term "stasm" stands for "stacked trimmed ASM" or "stacked two
dimensional ASM" or "steve's ASM" or anything you want it to stand
for. Really it's just a tag to refer to the package.
This software is a cleaned up version of the relevant pieces of my
research software. You will see artifacts in the sources that that is
the case.
The software is written using a form of Hungarian notation (see
wikipedia), which means that an indication of the data type is
prefixed to variable names:
n number e.g. nImages is the number of images
i index e.g. iImage is an image index, typically in an array
s string e.g. sImage is an image name
p pointer e.g. pImage points to an image
f boolean flag e.g. fViolaJones, true to use Viola Jones
g global var e.g. gNormalizedProfLen
These can be combined, so you will see prefixes like "sg".
Additionally, global defines and constants are in in upper case or
have an upper case prefix.
You can use this software for anything you like, if you take
responsibility. But note that it does use the Gnu Scientific Library
which comes with a Gnu Public License which has implications about how
you may legally use the software. Also there may be patent issues
with use of the Viola Jones detector.
Have fun! And let me know if you are using the software and if you
have any suggestions or bug fixes.
Stephen Milborrow
www.milbo.users.sonic.net
近期下载者:
相关文件:
收藏者: