Closed linjiangya closed 10 months ago
Yes, this is primarily an easy debugging output for reading out the initialized cameras in each phase quickly, but it's not used in processing. In smooth fit and motion_chunks, the cameras are updated during the optimization, so they should not match these initial cameras during these phases.
On Mon, Jan 15, 2024 at 5:49 PM linjiangya @.***> wrote:
Dear authors,
Thank you for your great work. I am confused about this cameras.json produced while running run_opt.py.
https://github.com/vye16/slahmr/blob/58518fec991877bc4911e260776589185b828fe9/slahmr/run_opt.py#L63
What is the use of this file? It seems not to be used anywhere.
— Reply to this email directly, view it on GitHub https://github.com/vye16/slahmr/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLOKWZPUF3ZAF37MLCSUHDYOXMEJAVCNFSM6AAAAABB4BGP6WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEOBYGY4TQNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes, this is primarily an easy debugging output for reading out the initialized cameras in each phase quickly, but it's not used in processing. In smooth fit and motion_chunks, the cameras are updated during the optimization, so they should not match these initial cameras during these phases. … On Mon, Jan 15, 2024 at 5:49 PM linjiangya @.> wrote: Dear authors, Thank you for your great work. I am confused about this cameras.json produced while running run_opt.py. https://github.com/vye16/slahmr/blob/58518fec991877bc4911e260776589185b828fe9/slahmr/run_opt.py#L63 What is the use of this file? It seems not to be used anywhere. — Reply to this email directly, view it on GitHub <#49>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLOKWZPUF3ZAF37MLCSUHDYOXMEJAVCNFSM6AAAAABB4BGP6WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEOBYGY4TQNA . You are receiving this because you are subscribed to this thread.Message ID: @.>
Thank you for your reply. Sorry for reopening this due to some further question
1) I think the default setting in "smooth fit" is opt_cam=False
and opt_scale=True
. So the camera parameter in smooth_fit
will only have different cam_t, while cam_R should keep unchanged right? (I have checked this, and it's true. The cam_t and cam_R are all the same through root_fit
folder and the XXX_cameras_000000.json in smooth_fit
, and only cam_t will start to change (this is because of the update of world scale) from XXX_cameras_000018.json in smooth_fit folder.
2) I have tested this on a video with static camera but the camera location is visualization is still moving and the camera parameter is still changing over time and shaking sometimes. Is there a way to fix this?
Dear authors,
Thank you for your great work. I am confused about this
cameras.json
produced while runningrun_opt.py
.https://github.com/vye16/slahmr/blob/58518fec991877bc4911e260776589185b828fe9/slahmr/run_opt.py#L63
cameras.json
? It differs from all the other camera parameters stored in/smooth_fit
or/root_fit
or/motion_chunk
(e.g. XXX_cameras_000000.json) and it seems not to be used anywhere.XXX_cameras_000060.json
stored in/smooth_fit/
seem to be different from the camera parameters stored inXXX_000060_world_results.npz
. Could you tell me why is the parameters in JSON file needed a transformation like below? (as it's also not used anywhere)