Skip to content

A command-line app illustrating use of Forge Reality Capture API to get an OBJ from collection of jpg images

License

Notifications You must be signed in to change notification settings

apprentice3d/reality.capture-go-cli.sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recap_cli

Build Status Go Report Card Platforms License

Forge API: oAuth2 Reality-Capture

recap_cli is a simple command-line app illustrating use of Forge Reality Capture API to get an OBJ from collection of jpg images.

Setup

Grab the latest binary from the releases page and place it into directory listed in $PATH, or if you have Go already setup, run

go get -u github.com/apprentice3d/recap_cli

this will download the source, compile it and install into $GOBIN the recap_cli executable.

Set the FORGE_CLIENT_ID and FORGE_CLIENT_SECRET environment variables with your Forge secrets.

Usage

To start use the app, use command-line to go to folder containing images needed to be processed and just run

$recap_cli

or alternatively run recap_cli followed by the folder in which your images resides

$recap_cli ./sample_files

If everything is setup, you should see the result as in following screenshot and a result.zip located in your working directory:

Known issues

For brevity, the scene type is set as object, this could result in skewed results in case of using the aerial images, but you can easy fix this by changing in the source code the scene type to aerial.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Authors

Forge Partner Development Team

See more at Forge blog.

About

A command-line app illustrating use of Forge Reality Capture API to get an OBJ from collection of jpg images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages