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]
Wednesday, January 21, 2015
Computer Vision Laboratory
1. The People Image Analysis (PIA) http://www.consortium.ri.cmu.edu/index.php
Tuesday, January 20, 2015
Unable to play YouTube videos in VLC Player
Download file updated youtube.lua [1] and put that in /usr/lib/vlc/lua/playlist/youtube.lua
References:
[1] http://jslover.secsrv.net/VLC/playlist/youtube.lua
Friday, January 16, 2015
Wednesday, January 14, 2015
Musica Instrumental - Catálogo base
Violinistas contemporaneos
* Samvel Yervinyan
Referencias:
[1] http://www.ideasnopalabras.com/2012/08/musica-instrumental-ligera-easy-listening/
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
Friday, July 18, 2014
Tuesday, June 17, 2014
How to remove Bill Gates botnet (Fedora)
1) identify and kill process running
#top
#killall cupsdd
. . .
2) verify crontab
#ss -t (show current socket connections)
#crontab -l (list entries)
#crontab -e (edit current)
#crontab -r (remove all entries)
3) remove calls from start scripts
#vi /etc/rc.local (here anotate entries )
#vi /etc/init.d
#rm /etc/*.lock (bill.lock and gates.lock)
4) remove physical files
atddd, cupsdd, cupsddh,ksapdd, kysadd,sksapdd, skysapdd
References
[1] http://lpages.info/billgates-linux-botnet/
[2] https://isc.sans.edu/forums/diary//17282
[3] crontab https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/cron-jobs-c37727/delete-a-cron-job-a757264.html
Monday, June 02, 2014
Audacity Ubuntu 12.04
$ sudo add-apt-repository ppa:audacity-team/daily
$ sudo apt-get update
$ sudo apt-get install audacity
Thursday, May 15, 2014
Grasa Corporal, omron, plicometro
La verdad es que esto de medir la grasa es todo un Expediente X..
Con cada uno es un mundo, y si te la mides hoy, no te da lo mismo que mañana...
Yo opte por utilizar un metodo que me dijo alguien en el gimnasio..
"...Tu mirate al espejo y si te ves de puta madre, tienes mejor estado fisico.. corres 4 kilometros o los que sean, estas bien contigo... que mierda importa la grasa?¿.."
Daniel.
referencias
[1] http://www.hispagimnasios.com/foro-de-musculacion-y-nutricion-f3/topic55248.html
Con cada uno es un mundo, y si te la mides hoy, no te da lo mismo que mañana...
Yo opte por utilizar un metodo que me dijo alguien en el gimnasio..
"...Tu mirate al espejo y si te ves de puta madre, tienes mejor estado fisico.. corres 4 kilometros o los que sean, estas bien contigo... que mierda importa la grasa?¿.."
Daniel.
referencias
[1] http://www.hispagimnasios.com/foro-de-musculacion-y-nutricion-f3/topic55248.html
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
Friday, May 02, 2014
Plantillas CSS
News Letter
http://www.templatesbox.com/free-newsletter-templates/index.htm
Plantilla Web
[1] (buena calidad) http://www.mejoresplantillasgratis.es
[2] http://www.interspire.com/templates/
http://www.opendesigns.org/view-designs/44/
http://www.ex-designz.net/template/tempdetail.asp?temp_id=301
http://www.freecsstemplates.org/css-templates/23
http://www.free-css-templates.com/css-templates/13
http://www.templatesbox.com/free-newsletter-templates/index.htm
Plantilla Web
[1] (buena calidad) http://www.mejoresplantillasgratis.es
[2] http://www.interspire.com/templates/
http://www.opendesigns.org/view-designs/44/
http://www.ex-designz.net/template/tempdetail.asp?temp_id=301
http://www.freecsstemplates.org/css-templates/23
http://www.free-css-templates.com/css-templates/13
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/
Friday, April 11, 2014
Virtual Machine over Ubuntu 12.04
1) KVM
References:
[1] http://www.mrxuri.com/2013/11/22/install-kvm-on-ubuntu-server-12-04-lts-and-create-a-virtual-machine.html
[2] http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts
$sudo
egrep
'(vmx|svm)'
--color=always
/proc/cpuinfo
$
sudo
apt-get
install
ubuntu-virt-server python-vm-builder kvm-ipxe virtinst libcap2-bin
$
sudo
adduser `
id
-un` libvirtd
$
sudo
adduser `
id
-un` kvm
$
sudo
virsh -c qemu:
///system
list
$
sudo
apt-get
install
bridge-utils
$
sudo
/etc/init
.d
/networking
restart
$sudo vi /etc/network/interfaces
#add this lines
auto kvmbr0
iface kvmbr0 inet dhcp
bridge_ports eth0
$
sudo
/etc/init
.d
/networking
restart
References:
[1] http://www.mrxuri.com/2013/11/22/install-kvm-on-ubuntu-server-12-04-lts-and-create-a-virtual-machine.html
[2] http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts
Thursday, April 10, 2014
Latex recursos
Cuando queremos colocar varias imágenes en una misma fila [4] y [5], nos dan un ejemplo para colocar 3 imágenes en una, cada una usa comandos diferentes.
Referencias:
[1] TexMaker http://www.xm1math.net/texmaker/
[2] Other editor http://www.texniccenter.org/
[3] Manual/Lo necesario para trabajar con Latex(Crear Pdf)http://copa.uniandes.edu.co/software/latex/manual.html
[4] Floats, Figures, Captions http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
[5] http://tex.stackexchange.com/questions/10245/how-to-order-3-images-horizontally
[6] http://stackoverflow.com/questions/518284/problem-with-float-and-pictures-in-latex
\begin{figure}
\begin{subfigure} [b]{0.3\textwidth}
\includegraphics{}
\end{subfigure}
...
\end{figure}
\begin{figure}
\minipage{0.32\textwidth}
\includegraphics{}
\endminipage
...
\end{subfigure}
Cuando las imágenes se desordenan es decir no conservan el lugar que queremos podemos usar [6], que resumido seria:\begin{figure}[htpb]
...
\end{figure}
Referencias:
[1] TexMaker http://www.xm1math.net/texmaker/
[2] Other editor http://www.texniccenter.org/
[3] Manual/Lo necesario para trabajar con Latex(Crear Pdf)http://copa.uniandes.edu.co/software/latex/manual.html
[4] Floats, Figures, Captions http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
[5] http://tex.stackexchange.com/questions/10245/how-to-order-3-images-horizontally
[6] http://stackoverflow.com/questions/518284/problem-with-float-and-pictures-in-latex
Virtual Printer over Ubuntu
$sudo apt-get install cups-pdf
$sudo /etc/init.d/cupsys restart
references
[1] http://ubuntuportal.com/2012/04/easy-way-to-create-pdf-printer-in-ubuntu-12-04.html
[2] http://ubuntuforums.org/showthread.php?t=140815
Latex over Ubuntu 12.04/Centos 6.5
Ubuntu
$sudo apt-get install texlive-full
$sudo apt-get install texmaker
Centos
#yum install tetex
#yum install texlive-*
references:
[1] http://www.linuxhispano.net/2010/11/16/instalar-latex-ubuntu/
[2] http://askubuntu.com/questions/392102/how-to-install-latex-in-ubuntu-13-10
$sudo apt-get install texlive-full
$sudo apt-get install texmaker
Centos
#yum install tetex
#yum install texlive-*
references:
[1] http://www.linuxhispano.net/2010/11/16/instalar-latex-ubuntu/
[2] http://askubuntu.com/questions/392102/how-to-install-latex-in-ubuntu-13-10
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
Ubuntu Forware port 80
#!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...