DeepBump is a machine-learning driven tool to generate normal & height maps from single pictures. See this blog post for an introduction.
1) Download DeepBump as a ZIP.
2) In Blender, go to Edit -> Preferences -> Add-ons -> Install and select the downloaded ZIP file. Then enable the add-on.
3) In the add-on preference, click the 'Install dependencies' button (this requires an internet connection and might take a while). In case of error, try running Blender as administrator for this step.
By installing those dependencies, be aware of Microsoft conditions. This add-on use available APIs to disable telemetry.
Check the blog post first video.
In the Shader Editor, in the right panel under the DeepBump tab:
Color (albedo) → Normals : Select a color image node and click Generate Normal Map.
Normals → Height (displacement) : Select the generated normal map image node and click Generate Height Map.
Normals → Curvature : Select the generated normal map image node and click Generate Curvature Map.
For command-line usage, see cli.md.
This repo is under the GPL license. The training code is currently not available.