Showing posts with label Computer Vision. Show all posts
Showing posts with label Computer Vision. Show all posts
Monday, February 23, 2015
Friday, February 20, 2015
Thursday, February 19, 2015
Tuesday, February 17, 2015
OpenCV Basic Headers
#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/photo/photo.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/imgproc/imgproc_c.h"
References
[1] http://opencv-srf.blogspot.com/2010/09/opencv-basics.html
Energy Minimization
References:
========
[1] A Comparative Study of Energy Minimization Methods for Markov Random Fields
paper: http://vision.middlebury.edu/MRF/eccv06/SZSVKATR-ECCV06.pdf
webpage: http://vision.middlebury.edu/MRF
[2]
Sunday, October 12, 2014
CentOS 6.5 OpenCV compilation & execution problems
$echo `pkg-config --cflags --libs opencv`
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
$ ls /usr/local/lib/pkgconfig
libnl-1.pc libnl-3.0.pc libnl-cli-3.0.pc libnl-genl-3.0.pc libnl-nf-3.0.pc libnl-route-3.0.pc opencv.pc
$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ echo `pkg-config --cflags --libs opencv`
-I/usr/local/include/opencv -I/usr/local/include /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lrt -lpthread -lm -ldl
$g++ letter_recog.cpp -o letter_recog `pkg-config --cflags --libs opencv`
$./letter_recog
./letter_recog: error while loading shared libraries: libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directory
$export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
$ ls /usr/local/lib/pkgconfig
libnl-1.pc libnl-3.0.pc libnl-cli-3.0.pc libnl-genl-3.0.pc libnl-nf-3.0.pc libnl-route-3.0.pc opencv.pc
$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ echo `pkg-config --cflags --libs opencv`
-I/usr/local/include/opencv -I/usr/local/include /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lrt -lpthread -lm -ldl
$g++ letter_recog.cpp -o letter_recog `pkg-config --cflags --libs opencv`
$./letter_recog
./letter_recog: error while loading shared libraries: libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directory
$export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
Tuesday, May 06, 2014
Morphological operations using OpenCV
cv::erode(image,eroded,cv::Mat(),cv::Point(-1,-1),3); //3 times
cv::dilate(image,dilated,cv::Mat(),cv::Point(-1,-1),3); //3 times
References
[1] http://www.packtpub.com/article/opencv-image-processing-morphological-filters
[2] http://qtandopencv.blogspot.com/2013/09/morphological-operations-and-opencv2-00.html
Sunday, April 13, 2014
Package opencv was not found (CentOs 6.5)
$g++ `pkg-config --cflags --libs opencv` anycode.cpp -o anycode
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
Solution
1) find opencv.pc
$ locate opencv.pc
/mnt/vol3/installers/opencv/opencv-2.4.8/build/unix-install/opencv.pc
...
/usr/local/lib/pkgconfig/opencv.pc
2) then add to enviroment variable the path
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
Solution
1) find opencv.pc
$ locate opencv.pc
/mnt/vol3/installers/opencv/opencv-2.4.8/build/unix-install/opencv.pc
...
/usr/local/lib/pkgconfig/opencv.pc
2) then add to enviroment variable the path
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
Sunday, April 06, 2014
OpenCV Centos 6.5 VideoCapture doesn't work with video files
You need recompile
when you make configure files
#cmake ..
Or
Verify summary
# yum search ffmpeg
ffmpeg-devel.xxxx
gstreamer-ffmpeg.xxxx
# yum search gstreamer
gstreamer-devel.xxxx
gstreamermm.xxxx
install using yum
finally
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
references:
[1] http://prateekvjoshi.com/2013/10/18/package-opencv-not-found-lets-find-it/
when you make configure files
#cmake ..
Or
#cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local
-D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON
-D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON
-D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..
Verify summary
# yum search ffmpeg
ffmpeg-devel.xxxx
gstreamer-ffmpeg.xxxx
# yum search gstreamer
gstreamer-devel.xxxx
gstreamermm.xxxx
install using yum
finally
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
references:
[1] http://prateekvjoshi.com/2013/10/18/package-opencv-not-found-lets-find-it/
Friday, November 09, 2012
Computer Vision References
Interest Point Detectors & Test Sequences
http://lear.inrialpes.fr/software
http://lear.inrialpes.fr/software
Wednesday, November 07, 2012
OpenCV 2.4 - Visual Studio 10 - Setting
Configuration Properties
C/C++
+ General settings
+ Additional include properties (*.h/*.hpp)
VC++ Directory
+ Library Directories (*.lib)
Linker
+ Additional dependencies (namep.lib nameq.lib namer.lib ... )
C/C++
+ General settings
+ Additional include properties (*.h/*.hpp)
VC++ Directory
+ Library Directories (*.lib)
Linker
+ Additional dependencies (namep.lib nameq.lib namer.lib ... )
Sunday, November 04, 2012
Friday, October 26, 2012
HoG (Histogram of Oriented Gradient) Resources
HoG
http://www.vlfeat.org/overview/hog.html
Object Detection
http://class.inrialpes.fr/tutorials/triggs-icvss1.pdf
Exemplars for Object Detection
http://www.cs.cornell.edu/courses/CS7670/2011fa/lectures/noah_exemplar_svm.pdf
http://www.vlfeat.org/overview/hog.html
Object Detection
http://class.inrialpes.fr/tutorials/triggs-icvss1.pdf
Exemplars for Object Detection
http://www.cs.cornell.edu/courses/CS7670/2011fa/lectures/noah_exemplar_svm.pdf
Thursday, October 25, 2012
Distance metrics
References:
[1] http://en.wikipedia.org/wiki/Cosine_similarity
[2] http://www.miislita.com/information-retrieval-tutorial/cosine-similarity-tutorial.html
[3] http://www.cedar.buffalo.edu/~srihari/CSE555/Chap4.Metrics-TangentDistance.pdf
[4] Face verifiation http://www.springerlink.com/content/95143j6058483pnw/fulltext.pdf
[5] Other distance(Weighted Euclidean distance) http://www.econ.upf.edu/~michael/stanford/maeb4.pdf
http://stats.stackexchange.com/questions/15289/when-to-use-weighted-euclidean-distance-and-how-to-determine-the-weights-to-use
[6] Manhattan http://en.wikipedia.org/wiki/Taxicab_geometry
Monday, October 08, 2012
OpenCV Visual Studio 2010
http://opencv.willowgarage.com/wiki/VisualC++_VS2010_CMake
Resolve problem dll not found at run
For add dll path, if you are not Adminstrator(alternative to use setx)
rundll32 sysdm.cpl,EditEnvironmentVariables
Sunday, October 07, 2012
Computer Vision Course
HoG Teach
http://www.youtube.com/watch?v=0Zib1YEE4LU
Adaptive HoG (App)
http://www.youtube.com/watch?v=7u4p3yxp2rw&feature=related
MUBARAK SHAH (Source Code)
http://vision.eecs.ucf.edu/faculty/shah.html
Computer Vision Log(Source Code)
http://www.cvpapers.com/rr-changelog.html
Hog Python
http://scikit-image.org/docs/0.6/auto_examples/plot_hog.html
Read for Hog on OpenCV
http://experienceopencv.blogspot.com.br/2011/02/hog-descriptor.html
Catalog
http://www.ifp.illinois.edu/~cao4/reading/patchbib.htm
http://www.youtube.com/watch?v=0Zib1YEE4LU
Adaptive HoG (App)
http://www.youtube.com/watch?v=7u4p3yxp2rw&feature=related
MUBARAK SHAH (Source Code)
http://vision.eecs.ucf.edu/faculty/shah.html
Computer Vision Log(Source Code)
http://www.cvpapers.com/rr-changelog.html
Hog Python
http://scikit-image.org/docs/0.6/auto_examples/plot_hog.html
Read for Hog on OpenCV
http://experienceopencv.blogspot.com.br/2011/02/hog-descriptor.html
Catalog
http://www.ifp.illinois.edu/~cao4/reading/patchbib.htm
Friday, October 05, 2012
Image Descriptors
ASIFT
http://www.ipol.im/pub/demo/my_affine_sift/
Source Code
http://robwhess.github.com/opensift/
Hog (Original)
http://www.openpr.org.cn/index.php/Code-of-Individual-Algorithms/9-Histograms-of-Oriented-Gradients-
HOG-Feature-Extraction/View-details.html
Gallery of Computer Vision
http://blog.sciencenet.cn/blog-722391-569547.html
http://marcosnietoblog.wordpress.com/2012/07/15/source-code-for-sift-orb-fast-and-ffme-for-opencv-c-for-egomotion-estimation/
Thursday, October 04, 2012
Face animation
Video realistic animation
http://web.mit.edu/newsoffice/2002/videoai.html
Face cloning and animation
http://usuarios.fceia.unr.edu.ar/~ferradal/
http://web.mit.edu/newsoffice/2002/videoai.html
Face cloning and animation
http://usuarios.fceia.unr.edu.ar/~ferradal/
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
Sunedu Renacyt 1) https://ctivitae.concytec.gob.pe/appDirectorioCTI/ 2) http://regina.concytec.gob.pe 3) https://www.gob.pe/9648-ser-p...
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
Running apps
Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper (Wrong GPS tracking) Strava (Curr...