stuffmatic / fspy-blender
Goto Github
PK
View Code? Open in Web Editor
NEW
901.0
107.0
16.17 MB
Official fSpy importer for Blender
Home Page: https://fspy.io
License: GNU General Public License v3.0
Shell 0.16%
JavaScript 4.39%
blender-addon
camera-calibration
fspy
fspy-blender’s People
fspy-blender’s Issues
fspy App not appearing
Hi,
I have the most recent Blender download, 2.93.1.
I have successfully downloaded fSpy and have enabled the add-on in Blender. I can see the ‘import fSpy file’ under File->Import.
The only issue is that I cannot seem to download the app on my computer. I have a Macbook Air M1. I see that blender has the add-on enabled but no app for me to create .fSpy files that I can then import. Any advice?
Vague install instructions
«Install the add-on by pointing Blender to the downloaded zip file» on the fron tpage a bit vague.
Maybe something like «Go to Blender Preferences / Add-on, click install and choose the zip»?
1/2.3-inch sensor supported?
@stuffmatic stuffmatic
Hay I am using a camera with a 1/2.3-inch (6.17mm by 4.55mm) sensor and a 20mm lens.
I am trying to set up a picture of a swimming pool (frontal taken) swiming pool has a very straight and lengthy ground shape.
When I manually input the focal point and sensor W and H and import that into Blendet the distance
is ‘way off’. I tried 1.edge points, 2.edge points and 2.edge points with an extra reference distance.
But I can get it into Blender with the proper proportions.
It looks correct in Blender at first but the real-time length is ‘way-off’ that because when I implement
the UV and texters it wont match with the shape at all.
Q1. Is the 1/2.3-inch sensor in combination with a 20 mm lens not suited to use in fSpy?
Q2. Or what would be the working method to approach a lengthy swimming pool in fSpy?
Thank You,
Winn
(be save)
Feature Suggestion — Plane size and number of divisions control
I have a small suggestion. When displaying the planes and their divisions, would it be possible to manually increase or decrease the size of that plane that is displayed?
Similarly, would it be possible to manually increase or decrease the number of divisions in that plane? I use the tool to manually interpolate/extract data right from fSpy. This would be super helpful to be able to extract relative dimensions.
Thanks for a great tool.
Units issue?
Fspy won’t install in Blender Mac
After INSTALL ADDON FROM FILE…I tried installing from the Zip file 1.0.3. It installs, then when you click Import/Export fSpy check box, I get an error message that says…..Installing the dmg file does not work, so the only option is to install the zip file over and over and get the same error message. Any way to help out this situation? Many Thanks! [email protected]
Image misaligned from camera box upon import
Hello,
I have set up an image and tried importing it into Blender.
When imported, the background image that is set, is misaligned from the camera crop. If I go into background image settings and manually adjusted it to be roughly within the box, then everything’s ok.
after manual adjustment:
Perspective match 01v3.zip
Any ideas where it’s gone wrong?
new 3D guide
Hi, I’m using fSpy version 1.0.3. It would help me to have a circle with user defined radius to use as 3D guide. Great software none the less!
problem with blender add-on instalation
Hi! I tried to install the add-on, but I can’t find it in the add-on list after installation to enable it. Can you help me?
Lens Type Mismatch
Hey,
When I import an image it’s giving the incorrect lens type. The image was taken with a 50mm lens but f.spy is saying 44mm and there doesn’t seem to be a way to change it? I’ve selected its taken with a Canon5D which is the camera that was used but the its lens number is wrong…..
This isn’t Blender specific as it happens in the main f.spy program.
Any reason for this? Or am i missing something?
Cheers.
Sensor size is not imported
I’ve noticed that sensor size is not imported. And because of that actual focal length is imported incorrectly (based on default 36 mm sensor). Yes, it seems that field of view actually is the same (as in .fSpy) but toggle to millimeters and you’ll notice the focal length what is different from the value in .fSpy
In Blender — sensor tweaking will change field of view as well, but doesn’t change focal length in millimeters.
So the fix should be like that:
- Set sensor size to blender camera first
- Set field of view value
Thanks.
Scale Issues
Hi,
when I import an fSpy project into blender it messes with the scale in an odd way. Everything comes in massive but isn’t labelled as such.
I used fSpy to label two axes, a third to calculate the image centre and then labeled a real world distance to get the distance from the camera. However, after importing to blender and making cubes roughly the right size (scale set to one) I noticed that I was having to set light strength absurdly high to see any change (100,000 and above). Also, rotating the camera around the mesh would result in the furthest walls from the viewpoint being cut out, as though blender were reaching its max draw distance. after scaling everything down to workaround this issue, any new lights I create cover a surface area many times larger than the ground plane and also need scaling to be useful.
Apologies if this is just me missing something simple but I’ve tried everything I can think of.
Updating to the latest version of 2.8 didn’t fix the issue and the same issue is there in 2.79.
I’m on windows 10 ver 1803,
i7 4770, gtx 1050ti, 16gb ddr3
Here’s a pastebin with the .blend file
http://pasteall.org/blend/index.php?id=51656
Many thanks,
Mike
Importing a fspy scene in blender 3.0 causes tiled rendering
Hello,
like the title states, importing a fspy scene into blender 3.0 causes it to use old tiled rendering instead of the new and improved progressive rendering engine. Performance is terrible as well.
How to reproduce:
Open blender and try to render a normal engine (result: uses new rendering engine)
import a fspy scene and hit render again (result: old rendering engine is being used with terrible performance: render time of sample scene with 3.0 rendering engine: 10s, after importing 1 min 09s)
Switching From Camera View to Perspective View Rotates Model 180°?
Dear Support,
I really like your Fspy App. Very helpful. Great work.
I’m currently using Fspy 1.0.2 in Blender 2.8 Beta as of 02/05/2019 install on Windows 10.
I am having an issue when I switch from Camera view to Perspective view. It rotates the model 180° in the viewport? If I switch back to Camera view all is well again, Of course, if I manually rotate the model while in perspective view it is then upside down in Fspy Camera view.
I did all the same things in Blender 2.79 and there was no rotation applied there. So, appears on my end to just be 2.8.
I’m hoping there’s a simple setting I can change?
Thanks,
Gary
documentation for rendering in blender
Great app — my congrats!
But: How can I make blender to render the background image? — is there a simple trick? Or do I have to import the background image again? — If so, how do I find correct position and size, as I cannot get hold really of an image in blender, just of a camera.
I couldnt find useful info in blender tutorials as well, so I’d be very grateful for some hints.
This worked for me
Can’t set custom sensor size
I’m trying to give fSpy the exact dimensions of the sensor of my phone’s camera. I’m expecting «custom camera» drop down option to allow me to do that, but any value I input into the fields gets overridden.
It is recommended to add this plugin to the official plugin library
I think this plugin is very useful and can be used with your fSpy to achieve very good results, I hope you will consider doing this, thank you.
我认为这个插件非常的好用,可以配合您的fSpy实现很好的效果,希望您可以考虑这样做一下,谢谢.
Pls update this addon
Import Error
Hello i got this error when try to import to blender.
Blender version 2.93.5.
fSpy Blender add-on version 1.0.3
Error Message:
fSpy import error: Trying to import a file that is not an fSpy project
Fspy not loading image when importing .fspy
When importing a .fspy, the camera is adjusted, but no image is loaded.
Unable to activate fspy
After installing the add-on (both manually and from within Blender) I am unable to activate it. This is the error I get from Blender 2.79:
I tried restarting Blender and the computer, reinstalling the add-on but nothing changes.
Unable to Install on Blender 2.9
Have tried many times and fSpy doesn’t show up on the Add-on’s list.
How to get correct real world dimensions ?
Badminton court dimensions are 6.10 x 13.41m and every time I set Reference distance for x correct (6.1) then the plane is too long (length) and when I set Reference distance for y (13.41) then the plane is too narrow.
Fspy export file and image are included.
http://puu.sh/E8CbJ/17fd60b756.png
Export.zip
Blender 2.8.3 fspy addon successfully installed but it doesn’t show in addon list
Hello, I’m trying to install the fspy 1.0.3 addon in Blender 2.8.3 but it doesn’t show in addon list, I did exactly like it says on the website and after I install the addon it says Modules Intalled but it doesn’t show in the addon list, I also tried to reopen Blender and still nothing
Worked for a day, then it didn’t
Blender wouldnt install the addon untilo I removed the files and recompressed them in a new ZIP file.
Worked great.
The next day it’s just not installed, and wont install.
Reinstalled latest blender and restarted computer, no luck.
Image not sitting correctly in camera view
Hi there, I am having an issue where the background image is not sitting correctly in the camera frame. I have attached my blender file if you would like to check.
Thank you very much.
Fspy Camera Issues.zip
Does not work with Blender 3.0
Does not work with Blender 3.0. Cannot install. Please update if possible.
import
Project exported from fSpy. fSpy save project without extension. In both cases (trying to import file without extension and file with extension wrote by myself) i have same error. Blender 2.8 and checked in 2.79 too. fSpy 1.0.1.
Cant Import fspy file in Blender 2.79
Installed addon version 1.0.3, Trying to import .fspy file in BLender 2.79, but it throws an error.
Kindly Help. I love this Application, its awesome, but doesnt works for me….
THanks for Developing it and sharing with us.
Vickievik
fspy failed to import probem for blender 2.8 import
How can i solve that ?
Here is the message from blender 2.8->
operator bpy.ops.object.camera_add.poll() failed, context is incorrect
any idea ?
thx in advance
crash if undo attempt after import
Blender 2.83 5-21 13:03
fspy V 1.0.3
import an fspy file
hit undo
instant crash
I instinctively hit undo when I split the screen one too many times, but that isn’t an action you can undo. I opened to and verified with another file, it crashes if you hit undo the action of the import.
MINOR — About menu
A very minor gripe but thought I would share: it would be nice to have an «about» dialog showing the current version.
Gold plating: link to release notes on GitHub and a «check for updates» option.
Nice work btw! I tried to dip my toe into Electron as well but the project fell through. 👍
Unable to install the add-on in 2.83
Hi,
When I follow the instructions to install the fspy add-on (1.0.3) in blender 2.83, when installing from file, no zip folder can be seen from the interface (the zip folder is in the download folder in my mac). Only the unzipped folder appears in the list, and when I select it it displays the 3 files contained in there (init.py , addon.py , fspy.py). I tried to select them one by one and click install or select them 3 all at once and click install, none of it seems to work, I don’t see any fspy instance appear in the add-on list i’m supposed to box check.
Could someone please help ?
Thank you in advance
2.8 addon doesn’t work
it gives me an error says:
operator bla bla failed, context is incorrect
Importing second fSpy project messes up a previously imported camera
Importing a new fSpy camera messes up an existing fSpy camera, no parameters change in the old camera properties but the frame aspect ratio somehow changes to match the aspect ratio of new camera, even with the option «Update existing import» unchecked when importing the new camera.
The following images show how the old camera view changes and the model mismatch once a new fSpy camera is added to the scene.
Can’t install addon to Blender
I’ve tried in Blender 2.8 RC, 2.8 Beta and 2.79 to install from file and the addon is still nowhere to be found in any version. I only get this message in the log.
fSpy not downloading
I’m using mac with the latest blender 2.83.2.
I’m sure that I use the latest version of fSpy, v1.0.3 in here https://github.com/stuffmatic/fSpy-Blender/releases/tag/v1.0.3, and I also use chrome so that the automatically unzip issue isn’t the case.
However, after installing, fSpy is just not showing on my add-on list. So I think the download failed.
This the screenshot of the download log and I really need some help. Thanks.
Blender 2.8 Support?
Coudn’t find any data on the add-on working in Blender 2.8. Is it compatible? If not, is support for 2.8 planned?
Importing
Blender crashes when I attempt to import the example project.
$ blender
Read prefs: /home/stefan/.config/blender/2.82/config/userpref.blend
Warning: property 'release_confirm' not found in keymap item 'OperatorProperties'
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)
If I deselect Import background image then the import succeeds.
Linux 4.19.118-1-MANJARO #1 SMP Thu Apr 23 10:54:30 UTC 2020 x86_64 GNU/Linux
blender 2.82a
fSpy 1.0 3
multiple cameras
I need to create multiple cameras over the same geometry (multiple shots of the same scene with a digital floor). Could do that easily with blam. Can I do that with fspy?
Camera on first scene not actual
I’m using Blender 2.8. If I have more than one scene, the camera got imported to the first scene, not to the actualy opened scene.
REQUEST — fSpy for Blender 3.1
REQUEST — fSpy for Blender 3.1
is this the right place to get the correct working version of fSpy for blender 3.1?
this version: fSpy-Blender-master.zip
is not working, it does not show up in addons even though the folder is in the addons folder.
Installing Addon does not show up in addon list
Download the zip and install into 2.83 or 2.90 and it does not show up.
The message in the status bar says the module has been loaded, but it is not in the addons file.
Importing to fspy blender
i get this when importing a file
Aspect ratio of background images when using multiple photos
I’m not sure if this is a fspy problem or a blender camera problem, but thought I’d share this with y’all.
When importing multiple fpy files into blender, if the source images have different aspect ratios (e.g. photo.a is 4:3, and photo.b is 16:9), the latest one will override the previous one.
i.e. photo.a will now be stretched to 16:9, distorting the image. If photo.c is added it will then override all previous images.
Work around is simple, resize images to the same aspect ratio before dropping them into fspy.
You may want to include this in your user manual
Importing fSpy file to Blender
Hello!
I have tried importing a fSpy file to Blender several times, but it always fails and shows the following mistake. Is something wrong with my system or with the folder Blender is saved?
Thanks a lot in advance!
Windows 10 x64
Blender 2.82a
fSpy 1.0.3
Cannot import fspy file to blender
I have tried several times to import my file into blender and I keep getting the same error. I have also tried to redownload Fspy and the addon and every time I import the file I still get this message. I am also including the file I am trying to import incase that helps at all. I am using blender version 2.93 and version 1.0.3 of fspy and same version for addon.
kitchen.zip
Does not work in latest update?
When I try to import fspy file i now get this error message:
Cant install on blender 2.9
when installing on blender 2.9 it wont show the addon when pressing install and selecting the zip folder
Recommend Projects
-
ReactA declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypescriptTypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlowAn Open Source Machine Learning Framework for Everyone
-
DjangoThe Web framework for perfectionists with deadlines.
-
LaravelA PHP framework for web artisans
-
D3Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
FacebookWe are working to build community through open source technology. NB: members must have two-factor auth.
-
MicrosoftOpen source projects and samples from Microsoft.
-
GoogleGoogle ❤️ Open Source for everyone.
-
AlibabaAlibaba Open Source for everyone
-
D3Data-Driven Documents codes.
-
TencentChina tencent open source team.
$begingroup$
I am continuously trying to install FSPY, but according to the instructions on the Github, it is clearly mentioned that not to unzip it.
I tried it to import it as File>Import>fspy
, but there is no option for FSPY…
I also tried to install the zip file from Blender(Install Addon)
Then how can I install it?
Any advice will be really appreciated!
asked Feb 1, 2019 at 15:45
$endgroup$
$begingroup$
TLDR; Download the latest release: https://github.com/stuffmatic/fSpy-Blender/releases
Scroll down the github page and read the instructions on how to install the add-on properly:
- Download the latest version from the release page (
fSpy-Blender-VersionNumber.zip
) - In Blender go to Edit > User Preferences > Add-ons and click Install from File
- Select the
fSpy-Blender-VersionNumber.zip
file by using the file browser - Don’t forget to enable the Add-on
If successfully enabled, a new menu entry in File > Import will appear:
Don’t download the entire repository!
Again, download the latest release: https://github.com/stuffmatic/fSpy-Blender/releases
brockmann
11.6k4 gold badges39 silver badges83 bronze badges
answered Feb 2, 2019 at 5:48
YashYash
1,2763 gold badges10 silver badges25 bronze badges
$endgroup$
2
$begingroup$
You need to install the addon first.
For 2.79 Go to File > User Preferences > Add-ons and click the button in my screenshot and point the dialog box to the .zip file
For 2.8 Go to Edit > Preferences > Add-ons and click the same button and point the dialog box to the .zip file
EDIT: Then make sure the addon is enabled like so:
Then you can go to File > Import and you should be able to import your desired file type.
answered Feb 1, 2019 at 15:50
FacityFacity
1908 bronze badges
$endgroup$
9
$begingroup$
I think that some of the confusion with installing the FSPY in Blender 2.8 is that at least for Safari users, the downloaded zipped files automatically get unzipped if they are deemed safe in Safari by default. You will need to turn that functionality off. Go to Safari Preferences > General > and uncheck Open «Safe Files» after download. Blender is looking for the unzipped file.
I did this, then downloaded the file, and it installed in Blender 2.8 no problem. Hope this helps.
-Todd
answered Feb 18, 2019 at 13:34
$endgroup$
1
$begingroup$
if you want to run fspy on LINUX
you need to download this link https://github.com/stuffmatic/fSpy/releases/download/v1.0.3/fspy-1.0.3-x86_64.AppImage and then open «downloads» or folder what you select to download
and click right on file named fspy.Then go to «properties» then «permisions» and click on «is executable».
I also downloaded this icon file file: https://fspy.io and click right on the logo and click «save image as» and select folder.Then click right on file named fspy.Then go to «general» then file type options and click on the icon image and browse the icon.
answered May 18, 2019 at 22:02
X—XX—X
112 bronze badges
$endgroup$
Hello. I’ve been trying to install the Fspy blender add on on my Mac inside blender but it doesn’t work. I clicked on install add on inside blender and I manually zipped the downloaded folder. It shoes inside the tab but whenever I try to install it or double click on the zip through the blender add-on tab, it doesn’t allow me to enable it. If there is something I did wrong, please tell me I really need to use the fspy add on. BTW I’m using blender version 3.4.1
After we close the fspy, the saved file can no longer edited, when we reopen it, All the image and adjustment are vanished and we have to do again the same process.
Have tried many times and fSpy doesn’t show up on the Add-on’s list.
When importing a .fspy, the camera is adjusted, but no image is loaded.
Does not work with Blender 3.0. Cannot install. Please update if possible.
After following the ReadMe images multiple times, whenever I try to install the add-on via the usual method, nothing happens. Can we get an update please?
Thanks,
Tom
I have Blender 3.3.1, after importing the fspy file. The viewport looks like crushed. Drivers of the graphic card has been updated to the latest but the issue is still there. I would appreciate if the issue can be fix, thank you
UPDATE: Issue solved after reinstalling driver
Currently fSpy’s CLI generates a JSON output with camera parameters and etc. However, as far as I understand, the Blender addon only accepts .fspy files to also import background image
Theoretically I can write a program that generates fSpy project from CLI’s output, but that just sounds weird in itself. Are there any other workarounds, or am I missing something obvious?
I don’t know if this will solve your problem, but this solved mine (Blender v.2.93.1)
- Download the latest addon zip file
- Copy and paste the file to blender addon directory (…Blender2.93scriptsaddons)
- Now, it should show up in your blender addon menu. if it doesn’t, open the afformentioned file from the addon menu
It worked to me, too (Blender v3.2.1). Thanks for your solution!
Python: Traceback (most recent call last):
File «/Users/liangzijian/Library/Application Support/Blender/3.1/scripts/addons/fspy_blender/addon.py», line 61, in execute
return self.import_fpsy_project(
File «/Users/liangzijian/Library/Application Support/Blender/3.1/scripts/addons/fspy_blender/addon.py», line 263, in import_fpsy_project
self.set_up_3d_area(project, camera, update_existing_camera, set_background_image)
File «/Users/liangzijian/Library/Application Support/Blender/3.1/scripts/addons/fspy_blender/addon.py», line 186, in set_up_3d_area
tmp_file = open(tmp_path, ‘wb’)
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/folders/lg/wnggj5d550lc_gn2vcqycs3h0000gn/T/blender_XnYcEP/fspy-temp-image-8364ae0055a4434abafb60f4f188709c’
location: :-1
REQUEST — fSpy for Blender 3.1
is this the right place to get the correct working version of fSpy for blender 3.1?
this version: fSpy-Blender-master.zip
is not working, it does not show up in addons even though the folder is in the addons folder.
Hello my images are all rotated and end up that way in blender after assigning axes as well. Is this normal?
Hi, I’m using fSpy version 1.0.3. It would help me to have a circle with user defined radius to use as 3D guide. Great software none the less!
i get this when importing a file
Hello,
like the title states, importing a fspy scene into blender 3.0 causes it to use old tiled rendering instead of the new and improved progressive rendering engine. Performance is terrible as well.
How to reproduce:
Open blender and try to render a normal engine (result: uses new rendering engine)
import a fspy scene and hit render again (result: old rendering engine is being used with terrible performance: render time of sample scene with 3.0 rendering engine: 10s, after importing 1 min 09s)
Hello i got this error when try to import to blender.
Blender version 2.93.5.
fSpy Blender add-on version 1.0.3
Error Message:
fSpy import error: Trying to import a file that is not an fSpy project
Hi,
I have the most recent Blender download, 2.93.1.
I have successfully downloaded fSpy and have enabled the add-on in Blender. I can see the ‘import fSpy file’ under File->Import.
The only issue is that I cannot seem to download the app on my computer. I have a Macbook Air M1. I see that blender has the add-on enabled but no app for me to create .fSpy files that I can then import. Any advice?
Hi! I tried to install the add-on, but I can’t find it in the add-on list after installation to enable it. Can you help me?
I’m trying to give fSpy the exact dimensions of the sensor of my phone’s camera. I’m expecting «custom camera» drop down option to allow me to do that, but any value I input into the fields gets overridden.