Cheap alternative to laser scanning

Discussion in 'Track Modding' started by FlyPT, Dec 3, 2013.

  1. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    I,

    It's going a bit slowly. End of the year was a bit cumbersome at work and I had not much free time between work and attention to the family.
    It's working, I already added correction to the roll in the reconstruction.
    I'm developing a new frame grabber to enhance sync between cameras and the interface is almost done.
    Just give me some more time please, I'm not going to promise any date, but it's near ;)
     
  2. pas74

    pas74 Registered

    Joined:
    Feb 8, 2012
    Messages:
    245
    Likes Received:
    13
    Bravo FLYPT "da Vinci"...very interesting hi-tech thread:rolleyes:
     
  3. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    Some news...

    Finally solved some synch problems with cameras.
    Here's some latest results. A road with some slopes.
    There's a bridge over a small river (not seen, the river) and we have to go down till that bridge, not a very pronounced slope, but perfectly noticeable:

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    And some road profile:
    [​IMG]

    [​IMG]
     
  4. wgeuze

    wgeuze Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,608
    Likes Received:
    63
    That does look nice, well done :)
     
  5. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
  6. Marek Lesniak

    Marek Lesniak Car Team Staff Member

    Joined:
    Oct 6, 2010
    Messages:
    1,585
    Likes Received:
    101
    Very impressive! Assuming weather conditions are optimal (overcast mid-day), what are the main limiting factors for resolution/density of point cloud?
     
  7. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    Camera capture, my main problem.
    We need to capture frames in sync, bigger the resolution, more time it takes to capture from both cameras.
    Another problem is exposure. Lots of light = Lower exposure times so better chances to get sync captures.
    Mid day because of the shadows that are big and we will see the car shadow.
    Overcast to avoid hard shadows, but not so problematic, it only gives you black textures.
    Direct sun light (lower sun) and you will see nothing.

    The above reconstruction was made with 864x480px resolution, but for reference it's enough.
     
  8. blakboks

    blakboks Registered

    Joined:
    Oct 20, 2010
    Messages:
    843
    Likes Received:
    30
    How does the system handle traffic? Is it smart enough to not count cars on the road, or is it required to have to go back through and delete those points?
     
  9. Marek Lesniak

    Marek Lesniak Car Team Staff Member

    Joined:
    Oct 6, 2010
    Messages:
    1,585
    Likes Received:
    101
    Thanks FlyPT
    So, with some luck with weather and having good hardware, good results can be expected. Of course, I am not expecting miracles but for many that way probably gives as good or better results compared to a more traditional surveying method, and can be faster.
     
  10. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    I revisited one of my test locations for urban reconstruction.
    I like to test the same places to compare the evolution.
    So welcome to Castro Verde:

    [​IMG]
    Location in Google Maps

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    Download the point cloud and open in MeshLab or CloudCompare.

    The point cloud is not corrected, but it seems she doesn't need correction.
     
  11. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    New teaser:



    3x speed. Make an error saving the video, but you can all get an idea of the speed.
     
  12. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Great!!! tool!

    Is possible to add a start GPS position (Long,Lat, Altitude) to export the cloud as XYZ with geographic coordinates.?
     
  13. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    Hi Mario.

    There's an extra tab there that says correction.
    It's not fully working now, but you can say that the start frame has a determined position (I want it to be with GPS) and direction. All the next frames (point clouds) will be updated.
    You can also say that frame 1000 has another GPS position and direction you measured in the field and all the frames between the initial one and frame 1000 will be adjusted (stretched/rotated).
    This is needed because we are accumulating errors and huge reconstructions will have errors in the end.
    Also the features detection might give more weight to one side of the frame and produce camera roll along the dislocation axis.
    For now it works with relative positions. I can say frame 1000 is at x,y,z meters position from frame 1 and has a relative direction in relation to frame 1.

    It's almost done...
     
  14. Luis Armstrong

    Luis Armstrong Banned

    Joined:
    Feb 26, 2014
    Messages:
    244
    Likes Received:
    3
    Just for post this video (don´t think it would help the OP but definitely related):
     
  15. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    Hi everyone,

    PROJECT VIDEO SCANNER

    Here's the program!
    Site online with two download locations.
    Some notes (also on the site):

    This is the first version and I hope to enhance and correct the errors on the near future (yes there are many!).
    I'm releasing now because I don't have much free time for this so it goes with errors.
    Please be patient. It's really amateur.
    Don't get expectations to high. Just count on this:

    - It's a leisure project.
    - There are many variables that can influence the results
    - Light is really important because textures are important, so if you have to much light you wont have textures.
    - Low light is dark shadows. So no textures on those areas.
    - Help document included in the program as a PDF (copy of the site).
    - Calibration makes all the difference!
    - Test the included example! It's a good calibration, just look at the depth map. Lighting seems to be the ideal.
    - So many things I'm not writing that I should... Just go try and give feedback.​


    Ok, just go and visit PROJECTVIDEOSCANNER.BLOGSPOT.PT
    Thank's for all support!

    ATTENTION! Don't forget to install the Xvid codec!
     
  16. wgeuze

    wgeuze Registered

    Joined:
    Oct 1, 2012
    Messages:
    1,608
    Likes Received:
    63
    Thanks for sharing this information sir!
     
  17. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    I recommend you this video:



    Good guide to use photogrammetry.
    Project video scanner uses a different approach. Just try!
     
  18. FlyPT

    FlyPT Registered

    Joined:
    Aug 3, 2012
    Messages:
    27
    Likes Received:
    6
    [​IMG]
    [​IMG]

    Reconstruction images from this youtube video (taken frames from the video):


    Project video scanner uses a different approach. Just try!
     
    Last edited by a moderator: Mar 28, 2014
  19. blakboks

    blakboks Registered

    Joined:
    Oct 20, 2010
    Messages:
    843
    Likes Received:
    30
    Awesome! Thank you so much for all your work on this project, FlyPT!

    Though it'll be some time before I can try doing a project for myself from scratch (still need to buy cameras and create the rig and..well...let the snow melt :D), I'm really excited about being able to start, now!

    My goal is to eventually take a trip down to Watkins Glen (which is a few/several hours away) and take a tour around the old street course! ...but not before doing some tests on local roads, of course :)
     
  20. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Great project Pedro!!
     

Share This Page