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

generating new images from woodscape dataset #134

Open
Ichrak-shili opened this issue Jan 23, 2024 · 0 comments
Open

generating new images from woodscape dataset #134

Ichrak-shili opened this issue Jan 23, 2024 · 0 comments

Comments

@Ichrak-shili
Copy link

Ichrak-shili commented Jan 23, 2024

Hi,
Thank you for providing the code.
I'm trying to generate new images from woodscape with labels for object detection. I create a new calibration file with new distortion parameters, new width and hight. I change the cx_offset and cy_offset by multiplying with new_width/width and new_height/height respectively. I create two cameras instances using create_img_projection_maps method from projection.py.
For the new bounding boxes, I just use 2d_to_3d from src camera and 3d_to_2d from dest camera.
I get some artifacts around the center of the image and the bouding boxes don't seem to be correct.
Do I have to change other things in the calibration file or make other steps please ?

I tested with new coefficients: [32.13785692, 81.25326978, 38.84755383, 2.82090108], new_width=950, new_height=700
The results on '07848_MVL' image are:
pb_wood_generation

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

1 participant