Ask Your Question

abhi0329's profile - activity

2018-01-02 10:49:51 -0600 received badge  Enthusiast
2017-12-21 10:42:33 -0600 commented question Open CV window orientation is wrong for vertical monitors

Thanks, Berak, I have changed the code to use c++ api but its same...I have attached the screenshot for your reference..

2017-12-21 10:35:57 -0600 edited question Open CV window orientation is wrong for vertical monitors

Open CV window orientation is wrong for vertical monitors Hi, I am facing an issue with OpenCv window on vertical monito

2017-12-20 20:59:12 -0600 received badge  Editor (source)
2017-12-20 20:59:12 -0600 edited question Open CV window orientation is wrong for vertical monitors

Open CV window orientation is wrong for vertical monitors Hi, I am facing an issue with OpenCv window on vertical monito

2017-12-20 20:53:16 -0600 asked a question Open CV window orientation is wrong for vertical monitors

Open CV window orientation is wrong for vertical monitors Hi, I am facing an issue with OpenCv window on vertical monito

2016-10-13 06:24:54 -0600 commented question undistortion of a camera image with remap

Hey by any chance you solved this problem, I am also hitting this problem. Thanks a lot for your time...

2016-10-11 02:59:52 -0600 commented question OpenCV On Raspberry Pi2: Camera Resolution

Hi Djme, If possible can you please share how did you enable pi cam to be used inside opencv, I know about raspicam and all but wanted to know is there a direct way. Thanks a lot for your answer :)

2016-10-11 02:56:26 -0600 asked a question RaspiCam with OpenCV on pi3

Hi All, Can any one please let me know how you guys are using raspicam with opencv on raspberry pi 3, as far as I know opencv doesn't support raspicam directly. Thanks a lot for your help and support.

2016-10-10 04:30:19 -0600 commented question opencv 3.1 imshow not working when graphic driver is enabled pi3

Thanks Steven, Basically I am using raspbian pixel OS on raspberry pi 3, I will try installing UBUNTU Mate on raspberry pi and will update you,...

2016-10-09 22:42:55 -0600 asked a question opencv 3.1 imshow not working when graphic driver is enabled pi3

Hi Friends, Once we enable the experimental graphical driver, opencv 3.1 imshow does not work, it does nothing and the very basic program hangs for infinite. My sample code is as pasted below:

#include "opencv2/opencv.hpp"
using namespace cv;
int main(int, char**)
{
    VideoCapture cap(0); // open the default camera
    if(!cap.isOpened())  // check if we succeeded
        return -1;
    Mat edges;
    namedWindow("edges",1);
    for(;;)
    {
        Mat frame;
        cap >> frame; // get a new frame from camera
        cvtColor(frame, edges, COLOR_BGR2GRAY);
        GaussianBlur(edges, edges, Size(7,7), 1.5, 1.5);
        Canny(edges, edges, 0, 30, 3);
        imshow("edges", edges);
        if(waitKey(30) >= 0) break;
    }
    // the camera will be deinitialized automatically in VideoCapture destructor
    return 0;
}
2015-03-22 04:26:36 -0600 commented question cvsaveImage() saves the image in bgr format not in rgb

I agree with you, but the imwrite also behaves in the same way, do you know how to achieve what I asked ?

2015-03-22 04:10:38 -0600 asked a question cvsaveImage() saves the image in bgr format not in rgb

Hi All, I am converting my bgr image to rgb image and then saving it to disk, but the saved image is not in rgb format.

IplImage* opencvImage_temp = cvCloneImage(inputImg);
cvCvtColor(inputImg,opencvImage_temp, CV_BGR2RGB );
opencvImage=cvCreateImage ( cvSize(480,320), opencvImage_temp->depth, opencvImage_temp->nChannels );
cvResize(opencvImage_temp, opencvImage);
cvSaveImage("stream.jpg",opencvImage_temp);

Please help me , if anyone of you faced this issue before.