Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabletop region confirmation #27

Open
pv33 opened this issue Jul 31, 2022 · 2 comments
Open

Tabletop region confirmation #27

pv33 opened this issue Jul 31, 2022 · 2 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@pv33
Copy link
Member

pv33 commented Jul 31, 2022

Is there code to test out the tabletop layer? I see options to visualize the hand and the puzzle, and imagine you are working towards a robot layer visualization. But what about the final tabletop layer visualization?

Shouldn't that have been done to confirm that nothing passes through? I suspect that it was not done because the system is not truly layered. Something recognized as foreground and part of the puzzle, but then later removed from the puzzle piece using bad morphological operations does not get kicked back to the background. Rather it is a puzzle region that simply does not map to any layers.

Of course, that might induce duplication code for the puzzle board processing to prevent from happening.

Please answer question about testing or debug code to visualize the final residual.

@pv33 pv33 added help wanted Extra attention is needed question Further information is requested labels Jul 31, 2022
@yiyeChen
Copy link
Collaborator

yiyeChen commented Aug 4, 2022

Similar to the hand tracking the tabletop layer is also removed from the current rosbag runner.

This can be done easily. Inside the ImageListener, the background layer can be retrieved with the API:

bgImg = self.surv.scene_interpreter.get_layer("bg", mask_only=False, BEV_rectify=False).

Then the just show the image using the display API:

display_images_cv([bgImg[:, :, ::-1]], ratio=0.5, window_name="Background layer")

@yiyeChen
Copy link
Collaborator

As explained in the issue #28 , the visualization of the tabletop region can be done with the following line:

self.surv.scene_interpreter.vis_layer_realtime(layer_name="bg", BEV_rectify=False, \
      window_name="Background(Tabletop)", ratio=0.5)

@pv33 pv33 closed this as completed Sep 19, 2024
@pv33 pv33 reopened this Sep 19, 2024
@pv33 pv33 added this to the Surveillance System: Old milestone Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants