Ask Your Question

Govind Mali's profile - activity

2018-04-06 08:50:58 -0600 received badge  Student (source)
2015-05-21 05:53:37 -0600 received badge  Enthusiast
2015-05-20 05:26:45 -0600 commented question I am using opencv fastNlMeansDenoising for very small dot noise present in B&W image.But It is taking more time(5 to 8 sec) to process an image(3306*4676).

I have done with resizing but still it is taking more time.I am using denosing to remove unwanted noise present in the document image.

2015-05-19 01:12:33 -0600 asked a question I am using opencv fastNlMeansDenoising for very small dot noise present in B&W image.But It is taking more time(5 to 8 sec) to process an image(3306*4676).
public static BufferedImage despecklEffect(BufferedImage source){
System.loadLibrary( Core.NATIVE_LIBRARY_NAME ); 
Mat sourceImage=ImageProc.img2Mat(source);
Photo.fastNlMeansDenoising(sourceImage, sourceImage,50,7,21); 
return ImageProc.mat2Img(sourceImage); }

How can i speed up this algorithm by changing parameters?

2015-01-07 06:44:55 -0600 received badge  Editor (source)
2015-01-07 06:44:13 -0600 asked a question letter-recognition
     Getting output after compiling letter-recognition.cpp of sample code:
    The database ./letter-recognition.data is loaded.
    Training the classifier ...

    Recognition rate: train = 85.7%, test = 81.3%
    Number of trees: 100
    var#    importance (in %):
    0   0.6 
    1   1.0 
    2   1.2 
    3   1.0 
    4   1.3 
    5   4.1 
    6   8.6 
    7   7.4 
    8   8.9 
    9   5.1 
    10  10.0
    11  9.0 
    12  13.8
    13  10.2
    14  12.9
    15  5.0 
    Proximities between some samples corresponding to the letter 'T':
    proximity(0,103) = 5.0%
    proximity(0,106) = 2.0%
    proximity(106,103) = 0.0%

    How to test this program for sample letter ?
I am compiling the sample code letter recognition.cpp which is availble at C:\opencv\sources\samples\cpp folder of opencv. I am trying to compile it on MinGW through Eclipse.After compiling i want to text some letter. But i am not finding the way by which i can give sample letter for test and can expect the output.
2015-01-05 00:22:08 -0600 asked a question Error inbuilding opencv2.4.9 project in Eclipse using Mingw on Windows7 32bit

Program Code:

#include "opencv2/highgui/highgui.hpp"
#include <iostream>

using namespace cv;
using namespace std;

int main(int argc, char** argv)
{
  Mat im = cv::imread(argc == 2 ? argv[1] : "lena.jpg", 1);
  if (im.empty())
  {
     cout << "Cannot open image!" << endl;
     return -1;
  }

  imshow("image", im);
  waitKey(0);

  return 0;
}

and Error is: 10:13:00 * Incremental Build of configuration Debug for project Radhe * Info: Internal Builder is used for build g++ "-IC:\opencv\build\include\opencv" "-IC:\opencv\build\include" -O0 -g3 -Wall -c -fmessage-length=0 -o Krishna.o "..\Krishna.cpp" g++ "-LC:\opencv\build\x86\vc10\lib" -o Radhe.exe Krishna.o -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 Krishna.o: In function main': C:\Govind\Radhe\Radhe\Debug/../Krishna.cpp:9: undefined reference tocv::imread(std::string const&, int)' C:\Govind\Radhe\Radhe\Debug/../Krishna.cpp:16: undefined reference to cv::_InputArray::_InputArray(cv::Mat const&)' C:\Govind\Radhe\Radhe\Debug/../Krishna.cpp:16: undefined reference tocv::imshow(std::string const&, cv::_InputArray const&)'

2015-01-02 00:33:40 -0600 asked a question Is there any book available for JAVA OpenCV?

I am implementing an desktop app using OpenCV and JAVA. Is there any book for java opencv, so that i can help and refernce to the the library.

2015-01-02 00:32:59 -0600 commented answer Java OpenCV Tutorials?

Has book released?