perarnia/fSpy
关于
用于快速、轻松进行静态图像相机匹配的跨平台应用
设计与媒体实测星标增长
- 24小时
- +1
- 7天
- +5
- 15天
- +9
- 1个月
- +15
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文What is this?
fSpy is an open source, cross platform app for still image camera matching. See fspy.io for more info. The source code is available under the GPL license.

Backstory
Once upon a time I wrote BLAM, a Blender add-on for still image camera calibration that, despite its clunky UI, has gained some popularity in the Blender community. fSpy is an attempt to bring BLAM's functionality to a wider audience in the form of a stand alone app.
Using the computed camera parameters in other applications
In theory, camera parameters computed by fSpy could be used in any application that has a notion of a 3D camera and provides some way of setting the camera parameters. If you're a Blender user, have a look at the offical fSpy importer add-on. If you're using an application without a dedicated importer, you may still be able to manually copy the camera parameters from fSpy.
Interested in writing an importer for your favorite application? Then the fSpy project file format spec is a good starting point.
Building and running
The following instructions are for developers. If you just want to run the app, download the latest executable for your platform.
fSpy is written in Typescript using Electron, React and Redux. Visual Studio Code is recommended for a pleasant editing experience.
To install necessary dependencies, run
yarn
The src folder contains two subfolders main and gui, containing code for the Electron main and renderer processes respectively.
Here's how to run the app in development mode
- Run
yarn dev-serverin a separate terminal tab to start the dev server - Run
yarn build-devto build both the main and GUI code. This build step is needed to generate main process code used to start up the app. - Run
yarn electron-devin a separate terminal tab to start an Electron instance which uses the dev server to provide automatic reloading on GUI code changes.
⚠️ The current build process is not ideal. For example, it lacks support for live reloading on main process code changes. Changes to main process code require a manual rebuild, i.e steps 2-3, in order to show up in the app.
Creating binaries for distribution
To create executables for distribution, run
yarn dist
which invokes Electron builder.
探索相关项目
加载中…