Ask Your Question

Revision history [back]

OpenCV Code not doing anything

I have seemed to have reached an impasse with the current project I am working with. Currently, when I build the project in visual studio code on Ubuntu 16.04 LTS with the LXDE Desktop environment, I'm not getting any errors or output really from the program, it just doesn't seem to really do anything and I don't know why. I'll link the files for someone to look at and if any insight can be offered as to the code or some way I'm supposed to be doing something, I'm definitely open to it, I'd give more details, but I'm getting so little feedback from the console that I pretty much have nothing to give in that regard.

The end goal of the program is to dewarp a fisheye lens on a camera if that helps and is based off of the code from this: http://aishack.in/tutorials/calibrating-undistorting-opencv-oh-yeah/ If there's any more information I can provide, let me know, but I'm just stuck since I don't know how to go about diagnosing the issue when I'm getting absolutely no console feedback of any kind.

Link to files:

https://drive.google.com/open?id=1UT7_R5pAri1lp37QFlpYkhVj4r-YyxiE

Camera.json couldn't upload for some reason, so here's that:

{ 
    "CameraInfo": {
        "Brand":"SBX",
        "Model":"D5500",
        "Lense":"55mm AF-S",
        "FocalLength": 55,
        "Aperature": 2.8
    },
    "CameraMatrix": {
        "r1c1":"fx",
        "r1c2":"0",
        "r1c3":"cx",
        "r2c1":"0",
        "r2c2":"fy",
        "r2c3":"cy",
        "r3c1":"0",
        "r3c2":"0",
        "r3c3":"1"
    },
    "DistortionCoefficients": {


    } 
}

OpenCV Code not doing anything

I have seemed to have reached an impasse with the current project I am working with. Currently, when I build the project in visual studio code on Ubuntu 16.04 LTS with the LXDE Desktop environment, I'm not getting any errors or output really from the program, it just doesn't seem to really do anything and I don't know why. I'll link the files for someone to look at and if any insight can be offered as to the code or some way I'm supposed to be doing something, I'm definitely open to it, I'd give more details, but I'm getting so little feedback from the console that I pretty much have nothing to give in that regard.

The end goal of the program is to dewarp a fisheye lens on a camera if that helps and is based off of the code from this: http://aishack.in/tutorials/calibrating-undistorting-opencv-oh-yeah/ If there's any more information I can provide, let me know, but I'm just stuck since I don't know how to go about diagnosing the issue when I'm getting absolutely no console feedback of any kind.

Link to files:

https://drive.google.com/open?id=1UT7_R5pAri1lp37QFlpYkhVj4r-YyxiE

Camera.json couldn't upload for some reason, so here's that:

{ 
    "CameraInfo": {
        "Brand":"SBX",
        "Model":"D5500",
        "Lense":"55mm AF-S",
        "FocalLength": 55,
        "Aperature": 2.8
    },
    "CameraMatrix": {
        "r1c1":"fx",
        "r1c2":"0",
        "r1c3":"cx",
        "r2c1":"0",
        "r2c2":"fy",
        "r2c3":"cy",
        "r3c1":"0",
        "r3c2":"0",
        "r3c3":"1"
    },
    "DistortionCoefficients": {


    } 
}

OpenCV Code not doing anythinganything (no output)

I have seemed to have reached an impasse with the current project I am working with. Currently, when I build the project in visual studio code on Ubuntu 16.04 LTS with (C++, opencv 3.4.2)with the LXDE Desktop environment, I'm not getting any errors or output really from the program, it just doesn't seem to really do anything and I don't know why. I'll link the files for someone to look at and if any insight can be offered as to the code or some way I'm supposed to be doing something, I'm definitely open to it, I'd give more details, but I'm getting so little feedback from the console that I pretty much have nothing to give in that regard.

The end goal of the program is to dewarp a fisheye lens on a camera if that helps and is based off of the code from this: http://aishack.in/tutorials/calibrating-undistorting-opencv-oh-yeah/ If there's any more information I can provide, let me know, but I'm just stuck since I don't know how to go about diagnosing the issue when I'm getting absolutely no console feedback of any kind.

Link to files:

https://drive.google.com/open?id=1UT7_R5pAri1lp37QFlpYkhVj4r-YyxiE

Camera.json couldn't upload for some reason, so here's that:

{ 
    "CameraInfo": {
        "Brand":"SBX",
        "Model":"D5500",
        "Lense":"55mm AF-S",
        "FocalLength": 55,
        "Aperature": 2.8
    },
    "CameraMatrix": {
        "r1c1":"fx",
        "r1c2":"0",
        "r1c3":"cx",
        "r2c1":"0",
        "r2c2":"fy",
        "r2c3":"cy",
        "r3c1":"0",
        "r3c2":"0",
        "r3c3":"1"
    },
    "DistortionCoefficients": {


    } 
}