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

Dataset images crop #73

Open
m-dawoud opened this issue Mar 5, 2019 · 1 comment
Open

Dataset images crop #73

m-dawoud opened this issue Mar 5, 2019 · 1 comment

Comments

@m-dawoud
Copy link

m-dawoud commented Mar 5, 2019

Please share what's the crop of the images in the dataset given that they are extracted with resolution 800x600

@felipecode
Copy link
Contributor

Hey the crop is like this:

image_cut=[115, 510]

then you cut the image like this:

    rgb_image = rgb_image[image_cut[0]:image_cut[1], :]

And reshape to 200x88
The angles are

    camera = {
        "id": "rgb",
        "type": "sensor.camera.rgb",
        "image_size_x": 800,
        "image_size_y": 600,
        "fov": 100,
        "position_x": 2.0,
        "position_y": 0.0,
        "position_z": 1.4,
        "rotation_pitch": -15.0
    }

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

No branches or pull requests

2 participants