-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconstruction fails: "Sensor width doesn't exist in the database" #179
Comments
According to your settings (using binaries or bravely building from scratch) you should have a file named
According to this So you just need to add the following line to your file using your preferred text editor (vim, emacs, sublime, atom, notepad, notepad++ whatever...)
possibly in alphabetical order, so after the line |
Thanks. |
It's in AliceVision I will update the file with your sensor (BTW did it work?). To date, the only way to keep it updated is for people to pull request the values of missing devices. |
Thanks. I will let you know if it worked later today.
I tried to look for this file but did not find it, mainly because it does
not have the same extension as the distributed file. I recommend renaming
in I your repo to match the name of the distributed file.
Also, I recommend adding this information somewhere in your docs.
…On Fri, Aug 10, 2018, 07:51 Simone Gasparini ***@***.***> wrote:
It's in AliceVision
https://github.com/alicevision/AliceVision/tree/develop/src/aliceVision/sensorDB
I will update the file with your sensor (BTW did it work?). To date, the
only way to keep it updated is for people to pull request the values of
missing devices.
It would be nice to have a script that periodically harvests websites like
https://www.digicamdb.com/
or
https://www.devicespecifications.com/en
where all info are stored.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#179 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWBv8gDQwQ4FFjagpiU1xkGz7qxox8kks5uPZ4OgaJpZM4V3kFA>
.
|
What's the name on your version? |
Sorry, I should have been clearer: I did not find this file in the
repository, thus I did not know how to send a Pull Request to this file.
…On Fri, Aug 10, 2018, 08:16 Simone Gasparini ***@***.***> wrote:
What's the name on your version?
It has been renamed in the rush for generating the binaries and maybe
there is an incongruence.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#179 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWBvwPnNsJSUE_-5kTZQvR3NZCtgwEqks5uPaPpgaJpZM4V3kFA>
.
|
It worked like a charm with this value. (see model) |
I got this same error but my camera is in the db file. I don't know how to fix this. This is my error: [23:12:08.278957][error] Sensor width doesn't exist in the database for image(s) : |
@Sarngond from this page
|
Hi, I got the same error, the camera is already in the db file and I additionally added it to the db file. [11:19:59.770947][error] Sensor width doesn't exist in the database for image(s) :
|
did u add it just after |
No, I added it between.
It doesn't work either when adding it after |
@simogasp |
@Sarngond sorry i read your message too quickly... I guess you need to add that '-' so that the line reads
The comparisons are case insensitive but they are not smart enough to catch these subtle variations and it really depends on each model what is written in the EXIF. |
@Urdwex I tested on AliceVision and it works fine for me with that line. Can you share just one image taken with that camera so I can test it? |
@simogasp |
Today I have downloaded Meshroom and I have problem with Sony DCS-HX9V. When I selected model number in Meshroom log window, I noticed bunch of spaces after model name. I inserted following line to model database:
and it works. Seems like image attached above contains those spaces too. (I have also sorted lines using |
@Sarngond i tried with your picture and the database with the dash ('-') and it works fine... |
@peto2006 thanks for noticing that! @Sarngond while we try to find a solution to this problem you can try to modify the line with the spaces
(I hope I inserted the exact numeber of spaces, anyway from your log you can select with the mouse the number of spaces and correct in case) Just to have all the info, which system are you working on? Windows, Mac, linux, versions etc? |
@simogasp |
@Urdwex can you please check in the log if there are spaces after the model, ie
As you see from the discussion above that could be the issue. in that case u can add the spaces to the line (at least for now, while we investigate and figure out the issue). |
@simogasp there are no spaces after the model, but a whole line missing before the next log entry. Could this cause the error? `[11:23:35.251994][error] image: 'X_20_.jpg' [11:23:35.252992][error] Please add camera model(s) and sensor width(s) in the database. |
no the empty line is always there (but we should maybe remove it from the code)
btw, in order to have all the info, are u using the provided binary or did you build it from scratch yourself? which OS and version? |
@soichih As you can read in the previous posts, this is a common problem. |
@natowi Thanks! I did the following to remove exif data and meshroom seems to be running now.
I probably need to reset camera brand/model field, but I will see what happens without them.. ;( UPDATE... I can start meshroom process, but it got stuck on the first step.. I don't think it will work without brand/model info.. I've reset them with this.
And I still have the entry in the cameraSensor.db
But, now I am getting the previous error message I was getting.
|
@soichih you can attach a sample image, and I´ll take a look. This is the same problem tegbrookes had. |
Here is one of my original image. It just a photo taken by my phone; Moto x4. |
@soichih I just added your image to Meshroom using |
I am having the same problem with the galaxy j1 ace, but "https://www.devicespecifications.com/en/model/a30b3722" and "https://www.sammobile.com/devices/galaxy-j1-ace-ve/specs/SM-J111M/"
|
@daniel321 It's actually hard to find any information, even about the actual chip used. |
thanks, 3.60 seems to work reasonably well. |
The version of the database from the Zip download was well behind the latest in the src dir here: https://github.com/alicevision/AliceVision/blob/develop/src/aliceVision/sensorDB/cameraSensors.db |
Here is the one for Huawei Nexus 6p Huawei;Nexus 6P;6.25 |
I cannot find the sensor size for the moto g6 play anywhere. please help |
@MatthewIsAwesome Sometimes there are no released sensor details. Meshroom can estimate the needed values. |
@natowi how can I get it to estimate then? It's returning the above error at the moment |
@natowi thank you - it's working now! |
@MatthewIsAwesome Can you share your estimated sensor width, so we can add it to the db? |
I've just installed Meshroom and have run a few tests with my phone (Google Pixel 2) which seem to work just fine. I took some additional pictures with my Sony Cybershot HX9V and am getting the same error about needing to add the camera to cameraSensors.db. I've checked - and the camera is actually already IN cameraSensors.db (twice as a matter of fact). I also dumped the exif data for one of the images and there are no trailing spaces or any metadata related to the camera besides the following:
The exif dump shows the following: Are there any other potential solutions to this issue that anyone has found? |
@fitzmurphy Some cameras use extra EXIF fields which cause an error when importing images to Meshroom. To fix this problem, strip all uncommon EXIF data and add Make and Model. Now the Meshroom import should work. #397 (comment) You can use Exif tools like Exif Editor or ExifToolGUI. |
ok I have a sony xpheria xz1 and the error i get is |
I was able to fix this particular error message by installing a fresh copy
and ensuring I had the latest copy of the camera database / file.
…On Sat, Dec 14, 2019, 2:47 PM shikyojojo ***@***.***> wrote:
ok I have a sony xpheria xz1 and the error i get is
[14:42:31.206003][warning] Sensor width doesn't exist in the database for
image(s):
- camera brand: Sony
- camera model: G8342
so what would my information be to plug in?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#179>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOQQ7I26KESX2XGNT45F6TQYUZ6HANCNFSM4FO6IFAA>
.
|
Hello. I have the LG g7 thinQ Phone. Does anyone know what name I need to put in the file? (edited) |
Hello, Here is the phone I have, but I still can't find what to put in the file. |
Hello. I Fixed the Problem! LGE;LM-G710;1/3.1 I placed it right underneath the text, Leica;Leica X2;23.6 |
wrong format, you need to look up the sensor width from this. |
Oh ok. Can you help? I can't find anything online. I have tried to do 2 photoscans, and they both turned out to be weird shaped objects. So yeah, it doesn't seem to be working. |
@BlenderBurst Try 4.5 |
Ok, Thanks. I am doing another Photoscan right now, and I will let you know if it worked or not. Thanks! |
@natowi Hey it worked great this time! Thanks for your help! |
I get this error at the
CameraInit
step:Do you know how I can add to the database?
The text was updated successfully, but these errors were encountered: