Skip to content

Conversation

@m0rt3nlund
Copy link

Hi!

I made a test for camera calibration that fails.
Hoped you maybe knew what I was sending in that might be incorrect?

Stacktrace is currently:

** (ArgumentError) argument error
     code: Evision.calibrateCamera(
     stacktrace:
       (evision 0.2.13) :evision_nif.calibrateCamera([imageSize: {816, 612}, imagePoints: [#Reference<0.2028425594.2489450544.188643>], objectPoints: [[[0.0, 0.0, 0.0], [0.012, 0.0, 0.0], [0.024, 0.0, 0.0], [0.036000000000000004, 0.0, 0.0], [0.048, 0.0, 0.0], [0.06, 0.0, 0.0], [0.07200000000000001, 0.0, 0.0], [0.084, 0.0, 0.0], [0.0, 0.012, 0.0], [0.012, 0.012, 0.0], [0.024, 0.012, 0.0], [0.036000000000000004, 0.012, 0.0], [0.048, 0.012, 0.0], [0.06, 0.012, 0.0], [0.07200000000000001, 0.012, 0.0], [0.084, 0.012, 0.0], [0.0, 0.024, 0.0], [0.012, 0.024, 0.0], [0.024, 0.024, 0.0], [0.036000000000000004, 0.024, 0.0], [0.048, 0.024, 0.0], [0.06, 0.024, 0.0], [0.07200000000000001, 0.024, 0.0], [0.084, 0.024, 0.0], [0.0, 0.036000000000000004, 0.0], [0.012, 0.036000000000000004, 0.0], [0.024, 0.036000000000000004, 0.0], [0.036000000000000004, 0.036000000000000004, 0.0], [0.048, 0.036000000000000004, 0.0], [0.06, 0.036000000000000004, 0.0], [0.07200000000000001, 0.036000000000000004, 0.0], [0.084, 0.036000000000000004, 0.0], [0.0, 0.048, 0.0], [0.012, 0.048, 0.0], [0.024, 0.048, 0.0], [0.036000000000000004, 0.048, 0.0], [0.048, 0.048, 0.0], [0.06, 0.048, 0.0], [0.07200000000000001, 0.048, 0.0], [0.084, 0.048, 0.0], [0.0, 0.06, 0.0], [0.012, 0.06, 0.0], [0.024, 0.06, 0.0], [0.036000000000000004, 0.06, ...], [0.048, ...], [...], ...]]])
       (evision 0.2.13) lib/generated/evision.ex:6584: Evision.calibrateCamera/1

@m0rt3nlund
Copy link
Author

I assume it might be the object points or the image points, but i find it a bit hard to narrow down the problem with only argument error as the response :)

any way to make it more verbose? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant