stuffmatic / fspy Goto Github PK
View Code? Open in Web Editor NEWA cross platform app for quick and easy still image camera matching
Home Page: https://fspy.io
License: GNU General Public License v3.0
A cross platform app for quick and easy still image camera matching
Home Page: https://fspy.io
License: GNU General Public License v3.0
It would be great to have an option to use nearest filtering for exemple so we can more clearly see corners and lines on a low resolution image.
in my use case: I use a lot of obscure old image, most of the time in low resolution.
I cant install FSPY to MAC. Doesn t recognize it because it is for windows. Can somebody help me?
Many pictures contain data about the focal length & camera body (sensor size). Is it possible for fSpy to read metadata and look for information to fill in some details that way?
From blndrusr on blenderartists.org
I noticed a couple of minor issues which I wanted to share - maybe you’d like to have a look on them: The title of the app window remains ‘Untitled’ after saving a file, Hitting ctrl+S (or ctrl+shift+S) brings the path to fSpy location - I think I would be handy to land on the image location instead.
It would be great to be able to send filmback info to fspy as a command line argument when launching. Something like:
fspy.exe -sensor_size 26.4x14.85
It would be useful for an exporter tool.
Hi everybody !
I am using a mac.
When i try to install Fspy, i correctly import the source code and then when i want to tick it in the add-on menu I don't find it anywhere. I tried to download it several other times
<img width="944" alt="Capture d’écran 2019-10-08 à 01 35 28"
and it won't show up...
If anybody has some idea of what is happening it would be amazing
src="https://user-images.githubusercontent.com/24400032/66356637-f3a59b80-e96b-11e9-9fe6-20d02825f636.png">
Thxxxxx
Currently while import .fspy file into blender it set background image for all views (axis setting) on N tab, but really need only "camera view".
Default minimal height prevent from maximizing window on my Ubuntu with 1280x800 screen.
Hi,
The first thanks for the application, I have created the Localizable.strings file for Spanish language, is it possible give support for translations?
Here the zip file that includes the Localizable.strings file:
Waiting your answer,
Greetings
It would be great if fSpy could remember settings (or set default values somehow).
For example, I constantly uncheck the "dim" checkbox and also change the display geo to xz grid.
Could I edit some file in ../AppData/Roaming/fSpy already or are the default values hard coded?
Sequence for reproduce on windows 7:
I think ".jpg" doesn't need in middle of name, and warning message is mistake, because in fact file saved with .fspy name.
Is there a way to launch fSpy with an image path? It would be a pretty useful feature as it would allow you to start fspy from a separate application with the image path set automatically.
Something like:
fspy -i /path/to/image.jpg
When I import fSpy files to Blender using the mac (with the exception of the example file) the import displays the image used, but no vanishing points, also no geometry appear. Performing the same operation using Windows everything works as it should.
It would be nice if in a magnifying circle perspective line was also shown, it could be doted or dashed.
Image showing what I mean
There are two problems here.
I was wondering whether files were being saved correctly or not because depending on what option I chose, the file would get saved as an extensionless file.
Specifically, if I use any of the Export options, the aforementioned happens.
If I use Save or Save As, then the file gets saved as an .fspy file.
In the Save dialog, the only misinformation in display is the text "All Files". That is why I could not tell whether the file was being saved with an extension or not until I checked the folder it was saved to.
Hello,
i know that BLAM could be used for the Video Projector Calibration in Blender Full Screen mode:
https://github.com/stuffmatic/blam/wiki/Video-Projector-Calibration
Could fSpy be used for the Video Projector Calibration?
I am Testing fSpy as AppImage on my GNU/Linux setup but it seems quite slow ( Elementary 5.0, AMD Ryzen 1700 @ 3.7 and RX 580 , 32 GB).
Thank you for BLAM and fSpy !
I have cloned the repository from Github in a workspace folder in Visual Studio Code. I have executed yarn to download all dependencies packages, but I can't compile the project. Visual Studio Code request to edit launch.json file. How can I compile and debug the project?
I don't know how to import fspy add on in blender on Mac and also can I use fspy in blender 2.79?
As far as i read, this is a standalone and improved version of a blender add-on, Can we inspire from the UI a bit?
Well, I mean making the menus collapsable (more like properties editor) like this:
And making them scrollable?
This will add ability to be fit in lower resolution screens and being able to minimize the UI more.
As i am currently having this bug #12 and trying to find a nice solution. :P
I am not a programmer (yet?) but I would like to help if i can somehow?
Hi,
can you please try removing the lib32-gconf dependency? This lib is no longer available so fSpy does not work. To run fspy, you need to install gconf atm although it's deprecated.
See https://aur.archlinux.org/packages/fspy
I am having difficulty with the Reference distance in fSpy.
The input box where you would type the variable (default 4) does not accept input. The drop down next to it allows you to select the unit as expected (Meters, Millimeters, Inches etc), but not the input box.
I am likely doing something wrong as I would assume that this would have been picked up as an issue prior to this.
In my example, I know the size/width of the Evacuation Diagram (315mm) , and am hoping to scale the entire scene so when in Blender, I can import scaled models without having to adjust by eye.
Anyone else having this issue?
Need a zoomed area while dragging point for preciese postioning. (Like in blender while placing motiontracking points). It will be allow pixel precision without any additional sortcuts or user action.
This area will be good in left or right panel, or near cursor while drag and drop point.
I used fspy few times without any problems and everything worked great, but for some reason it just stopped working.
(I have a 64 bit Windows 10 laptop)
The problem is that it shows up on my taskbar as an active program and when I hover my mouse over the icon on taskbar, it shows the window like it would show it for any other program. Here's an image, of how it looks:
But the fspy window just isn't anywhere. This is very similar to what would be happening, if I had another screen connected and the window would be placed there, but I don't have 2 screens, and my project setting is set to PC screen only. Here's a gif of me switching my programs, you can see when i stop on the fspy tab, nothing appears, as if it was transparent:
I have tried restarting my computer, connecting to a second screen, reinstalling the program and I even installed the 1.0.2 version, but the problem is still there.
Judging from this, it's most likely a problem on my PC, but I have no idea how to fix it and I haven't found any alternatives to fspy. I really need fspy for some blender projects I have planned, so any help on how to fix this problem is appreciated
Feature request:
It would be really cool if you would be able to zoom in.
It would just make things a lot easier.
When I try to start the AppImage on Ubuntu 18.10 it says Segmentation fault (core dumped) in the terminal and then quits. App Images are supposed to be portable so I don't know if that's a distro-wide problem but it certainly does make the program unusable. Google tells me that it's probably a bug so I hope you'll be able to fix it. I would love to use this program, it seems pretty cool. Thanks in advance ;)
Hi I've been trying to download the application for Mac and I can't seem to find the separate application in the zip files. I've gotten the blender addon to work and it imports the test files fine. Is there a special way to import the app to mac?
It seems fSpy doesn't compensate for the EXIF encoded orientation at all. Would be nice to support that.
Love this tool!
I have fSpy versions 1.0.2 & 1.0.3 installed on Win10. Still using Blender 2.79, as well as 2.80.
They look identical when started. Is there a way to quickly tell which version I'm using?
I can't find an About dialog or version number anywhere in the interface.
It would be really cool, if you would use lensfun to use the distortion in your calculation. This would led to bended lines according to the distortion of the lens. Is this possible, what do you think?
Did you use some third part library for the "3d" part of the software, I mean vanish point, 3d axis...?
First of all—you are AMAZING for making this awesome tool! Now for an idea:
I am not a math genius, so I have no idea if this is possible. But I'm trying to match a scene that has few right angles. However it does contain a perfectly round plate.
Is it possible to calculate the perspective from an ellipse that relates to a real-world circle? Or a combination—say if we have one tabletop running through the scene providing one straight edge, and a circular clock on a wall providing the chance to match an ellipse?
Anyway, it's awesome as-is. Thank you!
hi , This means that I can only build on mac platform?
Im windows user
hi there, I know it's not properly an Issue but I'd like to know if there is a way of zooming the image ( the whole image and not only the Shift+drag spot magnifier) Thank you in advance for your time. I think that could be useful.
I tried using a toy box in the room to generate my reference points, etc but it seems like the scales got a bit messed up. Here is the
https://www.youtube.com/watch?v=Hqf5xuXHBa4&t=2s
https://imgur.com/FbCfnOQ
I've used F-spy for a while with mixed results, I'm recreating buildings demolished years ago, most being built before the 1940. Some have few plans available and some don't contain any detailed drawings so using images is a necessity to accurately recreate them. Some images are over a century old and knowing the focal length/camera used to take them is impossible, all images are negatives. Some of my own images from a modern DSLR aren't aligning properly either.
I've got a few suggestions to improve usability and accuracy.
Scrolling into the images instead of the magnifying bubble, large resolution images are almost impossible to see.
Ability to pin the Grid/Box corners to a place on the image.
Alternatively being able to use the box to lineup the perspective completely, Looking back at corner pinning, it's easy to align the X & Z axies. Y is often a problem when working on a single facade not a corner building.
Being able to resize the box would be essential.
I'm happy to donate to get these improvements done. My project is strongly supported project from my local Museums, National & Council Archives.
Cheers
William.
My Archlinux doesn't seem to have "trash" (moves to trash?):
$ git clone https://github.com/stuffmatic/fSpy
$ cd fSpy
$ yarn dist
yarn run v1.15.2
$ yarn run build-dist
$ trash build
/bin/sh: trash: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
hrehfeld@herbert ~/projects/ext/fSpy
$
It will be good to be able to zoom image arbitrarily. That shift-crosshair is useless.
Hello, I'm having trouble understanding the data in the json file
I'm copy and pasting the radian orientation values from the gui into a search/find function in my code editor to find the values but they are nowhere to be found in the file. I asked before about the data and was told it is stored in radians, but I cannot find the value in the json file.
I've been able to decipher the fourth value of the first 3 entries in cameraTransform -> rows section as the translation values of the camera. What are the first three values in each of these arrays?
I also cannot find the focal length value, where is this stored in the json file? I'm just looking for a little more clarity on the file format if possible. I can see the relativeFocalLength value, but this differs significantly from the focal length value in the gui, what is the relationship between relativeFocalLength and focal length in the gui?
I need the rotation values ( x, y & z) and the focal length. Any help would be greatly appreciated, thank you.
I used the Win64 build, not the installer, and when I try to open fSpy nothing appears. When I run it from PowerShell I get this:
dns.js:246
this._handle = new ChannelWrap();
^
Error: EFILE
at new Resolver (dns.js:246:20)
at dns.js:377:25
at dns.js:431:3
at NativeModule.compile (bootstrap_node.js:606:7)
at NativeModule.require (bootstrap_node.js:550:18)
at net.js:45:13
at net.js:1730:3
at NativeModule.compile (bootstrap_node.js:606:7)
at NativeModule.require (bootstrap_node.js:550:18)
at internal/child_process.js:6:13
I suspect it may be related to not having an internet connection at the time because now that I'm at the library with an internet connection it's not giving me this error. I don't think this should be happening at all though, can't see what having an internet connection has to do with this; it should all be done on the local machine, right?
(enhancement)
Can it be made possible to place the manual principal point outside the image area?
Is it also possible to make an extra (checkbox) option for:
–If there are two vanishing points and manual principal point is chozen,
-then it sticks to the (invisible) horizon line between the two vanishing points?
Principal point
● Manual
--restricted to horizon ◯
Thank you
I'm trying to work with the json/binary camera parameter data and I've noticed that none of the numbers in the json file seem to line up with the values in the gui. I'm assuming some sort of conversion is happening. If I have everything set to degrees, how do I convert the json/binary camera parameters into the numbers I see in the gui?
Threat detected: Trojan:AndroidOS/AndroRat
Alert level: Severe
Date: 07.03.2020 13:08
Category: Trojan
Details: This program is dangerous and executes commands from an attacker.
Affected items:
file: C:\Users[user]\Downloads\fspy-1.0.3-x86_64.AppImage
webfile: C:\Users[user]\Downloads\fspy-1.0.3-x86_64.AppImage|https://github-production-release-asset-2e65be.s3.amazonaws.com/137477588/a0486f00-0e68-11e9-97d0-7f6e1cfd6e86?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200307T030353Z&X-Amz-Expires=300&X-Amz-Signature=f39a3f3727ca7a58314cb23b69e7898fbc49b9ea16933df8da04cc793ced3c10&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfspy-1.0.3-x86_64.AppImage&response-content-type=application%2Foctet-stream|pid:9416,ProcessStart:132275344592450229
Would be good to specify a default path for filesystem windows to open up in (eg file import, JSON export, etc). At the moment they always open up to the same folder as the last time they were used, but in the context of a VFX pipeline you often have a specific folder somewhere in a big file structure where a file needs to go.
Related to the 3rd party software importer/exporter workflow discussed in #11.
Ideally, it would be awesome to be able to run something to the effect of fSpy open "/path/to/myShot/plate/plate.jpg" wd "/path/to/myShot/projectFiles/fspy/"
that tells it to open plate.jpg and open up all dialogs to the default fspy/ folder. This is pretty much my current workflow with it, but would speed up the process dramatically.
Image file direct from Samsung S9 camera is interpreted on import (drag and drop) as landscape.
20200614_164453.jpg
After opening the file in Photoshop and saving as jpeg (same file format as source) that file is imported with the correct portrait orientation
bollard.jpg
I've tried to install using the install button on preferences, but when I select fspy it won't install
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.