[PYTHON] I tried to easily create a high-precision 3D image with one photo [-1]. (Is the hidden area really visible?)

Overview

** One photo ** ** High-precision 3D image ↓ Easy creation **. github is below. https://github.com/vt-vl-lab/3d-photo-inpainting

Paper "3D Photography using Context-aware Layered Depth Inpainting" Meng-Li Shih1 and others are as follows. https://arxiv.org/pdf/2004.04727.pdf

According to the abstract of the excerpt below

** New view composition with hallucinatory color and depth structure in areas blocked by the original view **

It has become.

Paper abstract (Google Translate mom)

738/5000 We suggest how to convert a single RGB-D input image to a 3D photo. This is a new view composition multi-layer representation that includes hallucinatory color and depth structures in areas blocked by the original view. Using a layered depth image with explicit pixel connections as a basic representation, we present a learning-based repair model that synthesizes new local color and depth content into a closed area in a spatial context-aware way. .. The resulting 3D photo can be efficiently rendered with motion parallax using a standard graphics engine. Verify the effectiveness of the method in a variety of challenging everyday situations and reduce artifacts compared to state-of-the-art technology.

↓ ** The theme of this article is only the following one point. ** **

Can you really see the hidden area?

Regarding "Is the hidden area really visible?", It is needless to verify that it cannot be seen without special restoration technology. The actual situation is shown below. Here's an example that ** doesn't work **.

(Original one image) (Original one image) (Original one image)

⇒There is no special opinion. How do you usually feel when there are cases like this that don't work? ?? When.

The title "** Can you really see the hidden area?" ** ” ⇒ ** Of course, I can't see it. ** ** ⇒ It is a comprehensive technology to make invisible parts visible. I imagine it will be generalized in the future. (Technology or interface?)

Summary

I'm not sure how to handle the technology that has such a bad case, so I made it clear in the article. (Maybe some people don't like this kind of event and don't get close to it?)

** If you have any comments, please let us know. ** **

reference. I tried to easily create a high-precision 3D image with one photo [1]. (Depth can now be edited in PNG.)

I tried to easily create a high-precision 3D image with one photo [2]. (Try processing depth with numpy)

I tried to easily create a high-precision 3D image with one photo [3]. Arbitrarily depth only Another method (MiDaS of intel-isl etc.).

: star2: I tried to easily create a high-precision 3D image with one photo [0]. (I confirmed how to capture the space)

Information that may be useful (a series of articles [-1] to [3] comprehensive)

【1】 ・ With GFORCE GTX1050Ti (dedicated GPU memory 4.0GB) ** May not work due to insufficient GPU memory **. This is ** not dependent on image size **, Perhaps it's related to the amount of memory required to represent the 3D in the image content or something. I haven't found a solution. It may be possible to manage by changing parameters. Since it is a red car, about 3.4GB of dedicated GPU memory was used, and about 2.7GB of white one was used. For this memory problem, why not use Google Colab for the time being? -I showed editing depth information with PNG, but surely the default is numpy ?. If you can handle the data (numpy) rattlingly, you may edit it. -I feel that the depth information expressed in PNG is normalized somewhere. PNG depth range I feel that the result was the same even if I changed it. : star:

【3】 ・ If the entire surface is a wall-like image, I feel that the vertical surface cannot be detected well. (I think it's easy, so it's strange.) I tried some depth methods, I haven't come across any good ones so far.

Recommended Posts

I tried to easily create a high-precision 3D image with one photo [-1]. (Is the hidden area really visible?)
I tried to easily create a high-precision 3D image with one photo [2]. (Try processing depth with numpy)
I tried to easily create a high-precision 3D image with one photo [0]. (Confirmed how to capture the space, put a net)
I tried to easily create a high-precision 3D image with one photo [1]. (Depth can now be edited in PNG.)
I tried to easily create a high-precision 3D image with one photo [3]. MiDaS of feat. Intel-isl only depth without permission.
I tried to easily create a fully automatic attendance system with Selenium + Python
I tried to create a model with the sample of Amazon SageMaker Autopilot
I tried to create a table only with Django
I came up with a way to create a 3D model from a photo Part 02 Image loading and vertex drawing
Creating a highly accurate 3D image easily with one photo! (You can now edit the depth in PNG.) [1-E]
I tried to automatically create a report with Markov chain
I came up with a way to create a 3D model from a photo Part 04 Polygon generation
I tried using PI Fu to generate a 3D model of a person from one image
I tried to create a list of prime numbers with python
I tried to process the image in "sketch style" with OpenCV
I wanted to solve the ABC164 A ~ D problem with Python
I tried to create Bulls and Cows with a shell program
I tried to process the image in "pencil style" with OpenCV
I tried to cut out a still image from the video
I came up with a way to create a 3D model from a photo Part 01 Creating an environment
How to easily create a CG image like a toy photo "Ubuntu / Linux" ・ Photo realistic rendering with LeoCAD & Blender
I tried to analyze emotions whether Hinatazaka46 is really a "happy aura"
I tried to create a linebot (preparation)
I tried to create a program to convert hexadecimal numbers to decimal numbers with python
I came up with a way to make a 3D model from a photo.
I tried to create a plug-in with HULFT IoT Edge Streaming [Development] (2/3)
I tried to make a thumbnail image of the best avoidance flag-chan! With RGB values ​​[Histogram] [Visualization]
I tried to create a plug-in with HULFT IoT Edge Streaming [Execution] (3/3)
I tried playing with the image with Pillow
[Outlook] I tried to automatically create a daily report email with Python
I tried to create a plug-in with HULFT IoT Edge Streaming [Setup] (1/3)
I tried to confirm whether the unbiased estimator of standard deviation is really unbiased by "throwing a coin 10,000 times"
I tried to move the 3D model by doing something like motion capture with just a laptop + webcam
I tried to create a class that can easily serialize Json in Python
I tried to explain what a Python generator is for as easily as possible.
When I tried to create a virtual environment with Python, it didn't work
I tried to easily visualize the tweets of JAWS DAYS 2017 with Python + ELK
I tried to extract a line art from an image with Deep Learning
I tried to create a button for Slack with Raspberry Pi + Tact Switch
I tried to make a simple image recognition API with Fast API and Tensorflow
I tried "smoothing" the image with Python + OpenCV
I want to easily create a Noise Model
I tried "differentiating" the image with Python + OpenCV
I tried to save the data with discord
I tried to correct the keystone of the image
I tried "binarizing" the image with Python + OpenCV
I made a plug-in from the Japan Meteorological Agency GPV to easily create an animated contour diagram with QGIS.
I tried to make something like a chatbot with the Seq2Seq model of TensorFlow
I tried to create a reinforcement learning environment for Othello with Open AI gym
I came up with a way to make a 3D model from a photo. 0 Projection to 3D space
[Python] I tried to automatically create a daily report of YWT with Outlook mail
I tried to create a class to search files with Python's Glob method in VBA
I tried scraping food recall information with Python to create a pandas data frame
I tried to learn the sin function with chainer
I tried to detect the iris from the camera image
How to create a submenu with the [Blender] plugin
I tried to touch the CSV file with Python
I tried to draw a route map with Python
I tried to solve the soma cube with python
I tried to automatically generate a password with Python3
I want to manually create a legend with matplotlib