thanif / CPL

MS-Thesis: Proposed a new loss function for estimating Camera Calibration parameters along with a new dataset -- (CVGL Camera Calibration Dataset)
26 stars 3 forks source link

Data from the wild #3

Closed BrianG13 closed 1 year ago

BrianG13 commented 2 years ago

Hi, Can you publish some instructions how to use the model with data from the wild? I have a pair of images and want to use the network for camera extrinsics estimation, how can I do it?

thanif commented 2 years ago

You have to provide all the parameters required by the model including both intrinsic and extrinsic along with baseline and disparity. Once you have the parameters, you can save them as npy files. Use the code as it is. It should work.

BrianG13 commented 2 years ago

The model doesn't predict the extrinsic parameters ?

thanif commented 2 years ago

The model provides both intrinsic and extrinsic parameters. It predicts translation in x,y and z axis while only Pitch for rotation. Yaw and Roll are not included.

On Fri, Jun 24, 2022 at 1:16 PM BrianG13 @.***> wrote:

The model doesn't predict the extrinsic parameters ?

— Reply to this email directly, view it on GitHub https://github.com/thanif/CPL/issues/3#issuecomment-1165324513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFVUH27ATZ7USQMEBWHVTVQVVHNANCNFSM5ZMGPJ6A . You are receiving this because you commented.Message ID: @.***>

lovejoker1102 commented 1 year ago

If I only have images, can I get the in and ex parameters of the camera through the network?

thanif commented 1 year ago

Yes, if you have only images, you can get both intrinsic and extrinsic parameters using the network

On Wed, 23 Nov 2022, 16:46 KissSheep, @.***> wrote:

If I only have images, can I get the in and ex parameters of the camera through the network?

— Reply to this email directly, view it on GitHub https://github.com/thanif/CPL/issues/3#issuecomment-1324933001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFVUD5XC6MPPJ24TNOFKTWJX72DANCNFSM5ZMGPJ6A . You are receiving this because you commented.Message ID: @.***>

lovejoker1102 commented 1 year ago

Thanks for your reply! And I have another question, I can only use two images at once, right? If I have 50 images, can I get their camera parameters together?

thanif commented 1 year ago

No. By two, what it means is that one left image and one right image. If you have 50 pairs, you can get 50 results at once.

On Thu, 24 Nov 2022, 17:03 KissSheep, @.***> wrote:

Thanks for your reply! And I have another question, I can only use two images at once, right? If I have 50 images, can I get their camera parameters together?

— Reply to this email directly, view it on GitHub https://github.com/thanif/CPL/issues/3#issuecomment-1326357006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFVUBWMMUIYTIA225KKRDWJ5KQFANCNFSM5ZMGPJ6A . You are receiving this because you commented.Message ID: @.***>