carla-simulator/imitation-learning

Dataset images crop

m-dawoud opened this issue · 1 comments

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

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
    }