Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the twentyfifteen domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/sunapi386.ca/wordpress/wp-includes/functions.php on line 6121
2D Photos to 3D model – sunapi386's Blog

2D Photos to 3D model

Came across some photogrammetry software lately. I had an idea to try them out by taking a bunch of photos and generate a 3d model.

But it’s difficult. Tools I tried were COLMAP and visualSFM. Seems to be bad results. I think I had insufficient number of photos, and there weren’t enough correlated features.

I thought “well what if I used a video”, so I took a video of my mouse, and dump them into images.

But a lot of them were blurry, like this.

So I thought there should be a way to filter out the blurry images. Such as using

  • Fast Fourier Transform
  • Laplace (or LoG) filter

There were some suggestions on StackOverflow that hint OpenCV is a good tool. I found some blurry detector on github https://github.com/indyka/blur-detection but there was some issues. For one, the threshold computed varied too greatly and so I had to manually figure out what were the 80th percentile and better (sharper, higher score) images. But some images contained no content, such as a blank table. It would be classified as sharp… so if going down this method, you might want to remove those blank images.

Leave a Reply

Your email address will not be published. Required fields are marked *