Closed lmuffang closed 3 years ago
My issue was with setting the geometry_unit_in_meter
parameter to 1/1000 instead of 0.001f. All the vertices coordinates were equal to zero, thus no contours were detected when generating the model.
By fixing my issue and going trough the code, I think I pretty much understood the global concepts around the body1_ptr
and body1_model_ptr
variables. I would still apreciate any extra details about that, thanks!
Hello, Thank you for this amazing work! I am quite new to region-based tracking and I have some questions about the code.
I am trying your algorithm with a camera and in the
run_on_camera_sequence.cpp
I did not quite understood the difference between thebody1_ptr
and thebody1_model_ptr
.The function
Model::LoadModel
tries to read several parameters form a.txt
file (similar to the ones described in thereadme.md
for thebody_ptr
). The parameters read from this.txt
file seem redundand form the ones set directly inrun_on_camera_sequence.cpp
when declaring thebody1_ptr
.Edit: By the way, I also have a problem with the detection of contours, they are not any of them detected. This is a consequence of
silhouette_image
being all black pixels because thenormal_image_
is also black. I can see my images in the viewer so the data seems to be properly fed.