first run the command below;
./dumpindex/dumpindex <index_path> di docno <docuement_no>
this returns a document id and then run the command below;
./dumpindex/dumindex <index_path> dd <document_id>
Tuesday, April 8, 2014
Tuesday, April 1, 2014
Friday, March 28, 2014
features.isContionous() assertion - clustering - opencv
probably you forget to initialize the mat in hierarchical clustering.
region of interest (ROI) opencv
they have changed how ROI works in opencv
if you'd like to focus on a region in an image you need to copy it to another image/mat
Mat samples_hog = samples( Rect(0, 0, 96, soFar)).clone();
and do not forget the .clone() part it is important.
in Rect with four parameters (x, y, width, height) but not (x1, y1, x2, y2)
if you'd like to focus on a region in an image you need to copy it to another image/mat
Mat samples_hog = samples( Rect(0, 0, 96, soFar)).clone();
and do not forget the .clone() part it is important.
in Rect with four parameters (x, y, width, height) but not (x1, y1, x2, y2)
Monday, March 3, 2014
how tu submit opencv jobs to sge (sun grid engine)
here is the script that I use to submit opencv jobs on sge
qsub -v LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<opencvPATH>/lib/ -b y -cwd -l mem_free=4g -l mem_token=4g ./FlannMatch <PARAMETERS>
qsub -v LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<opencvPATH>/lib/ -b y -cwd -l mem_free=4g -l mem_token=4g ./FlannMatch <PARAMETERS>
Sunday, March 2, 2014
matlab figure fonts issue in ubuntu
it seems like matlab figure fonts are not changed even if you make the changes on ubuntu.
you need to install packages;
xfonts-75dpi
xfonts-100dpi
you need to install packages;
xfonts-75dpi
xfonts-100dpi
Subscribe to:
Posts (Atom)