Ask Your Question

jecs89's profile - activity

2019-04-12 09:58:31 -0500 commented answer How to add ffmpeg support to Opencv in Conda enviroment on Linux?

I am working on Linux Mint. When I send: print (cv2.getBuildInformation()) It shows does not have ffmpeg support.

2019-04-12 09:57:39 -0500 edited question How to add ffmpeg support to Opencv in Conda enviroment on Linux?

How to add ffmpeg support to Opencv in Conda enviroment? I am trying to read a video with OpenCV after I downloaded with

2019-04-12 06:55:25 -0500 asked a question How to add ffmpeg support to Opencv in Conda enviroment on Linux?

How to add ffmpeg support to Opencv in Conda enviroment? I am trying to read a video with OpenCV after I downloaded with

2013-10-22 15:15:04 -0500 received badge  Editor (source)
2013-09-30 12:20:08 -0500 answered a question How to set image(jpg or png) on camera?

I found it, you can check: http://opencv.org/platforms/android/opencv4android-samples.html

And you can check the code of function, to find something in camera.

2013-09-30 12:11:10 -0500 answered a question Convert point vector to Mat

I can recommend you.

Mat image_src;
image_src = imread( "000092.jpg", 1);
Mat lung_left( image_src, Rect( 55, 100, 195, 290)); // Rect( , , , ) crop image from x,y to x+i, y+j

Tell me, how it works for you.

2013-09-30 12:05:31 -0500 commented answer How to get data of Mat?

I got a bit. You can explain me more about how to make it. I'm using codeblocks. Thank you.

2013-09-30 12:04:26 -0500 commented question How to get data of Mat?

Thank you, i try it and worked. When i use uchar, i get char then i cast it in int.

I'm using it. unsigned char input = (unsigned char)(lung_left.data); and getting data in bucle with: (int)input[lung_left.step * j + i]

2013-09-27 11:57:03 -0500 received badge  Student (source)
2013-09-27 11:12:48 -0500 asked a question How to get data of Mat?

I want to get data of Mat. I found many pages with info. But i still have questions.

http://jayrambhia.wordpress.com/2012/06/23/get-data-from-mat-cvmat-in-opencv/ http://docs.opencv.org/trunk/doc/tutorials/core/how_to_scan_images/how_to_scan_images.html

I have it.

Mat lung_left( image_gray, Rect( 55, 100, 195, 290));
for( int i=0; i< lung_left.rows; i++){
    for( int j=0; j< lung_left.cols; j++){
       cout<<lung_left.at<float>(i,j)<<"\t";
    }
}

In console, i got it: 26e+008 -1598.2 -5.2332e-06 ...

but if use it: " lung_left.at<float>(i,j) = 0; " in the cycle and print, i got it: 0 0 0 0 ...

It's strange, i can change values using .at<>(i,j) but i can't print the values rightly.

2013-09-27 10:43:58 -0500 answered a question image data processing in cv::Mat

If you're using gray images, you need to change.'Cause you don't have three channels.

cout<<(int)input[lung_left.step * j + i];

I don't understand why do i have bad score. I wanted to help.

2013-09-02 14:26:20 -0500 received badge  Necromancer (source)
2013-09-02 13:10:59 -0500 answered a question Can Opencv be installed in Timesys fedora14

Of course, you can do it. Donwload opencv source code, compiler gcc, set up paths and you get it.