Closed endast closed 5 years ago
This error means that the EXIF metadata in each image doesn't have the appropriate tags in order for the software to determine the CCD sensor size in mm. In other words, make sure the FocalLength and 35mm FocalLength tags are set properly.. or if you'd like to send me the CCD sensor size width and height in mm I'll add this to the camera sensor database --- it should then automatically be detected. Thanks
This is a from a Sony wx220: https://www.sony.com/electronics/cyber-shot-compact-cameras/dsc-wx220/specifications
6.17 x 4.55 mm
is the sensor size.
Thanks. I will add to the camera database and figure out a more elegant solution to adding sensors without the proper EXIF metadata. I'll push an update tomorrow
This camera is common and already discuss in MicMac forum. It needs to be like this :
<CameraEntry>
<Name>DSC-WX220</Name>
<SzCaptMm> 6.17 4.55 </SzCaptMm>
<ShortName>WX220</ShortName>
</CameraEntry>
Dji's users will have same problem. IMO if you add this ebee camera, you'll have to add more camera like we have in other opensource project : Tower, QGroundControl or Mission Planner for flight planning, Add Dji Camera ... But I think it was discuss previously in NodeODM.
Workaround without writing in DicoCamera.xml is to set exif with MicMac command. Example :
mm3d SetExif ".*JPG" F=4.5724 F35=25.6 Cam="DSC-WX220"
https://micmac.ensg.eu/index.php/SetExif
Another alternative is to write camera in MicMac-LocalChantierDescripteur.xml instead of DicoCamera.xml. Look also what they do in desktop python GUI here : https://github.com/micmacIGN/InterfaceCEREMA
Thanks for the additional detail and it is correct -- except for the DJI part -- most DJI sensors have all the required EXIF metadata for MicMac to automatically compute the CCD sensor size. I think the best option will be to add command line parameters and option to allow the user to pass the CCD width / height in millimeters and generate the MicMac-LocalChantierDescripteur.xml accordingly.
Ok didn't know about Dji. It just miss 35mm equivalent in WX220, okay ! Good approach for update in XML I think and could be usefull if dataset have multiple camera model (it's common for 3d modelling : drone like phantom 4 + a6000 for example)
This PR addresses and fixes the issue. https://github.com/dronemapper-io/NodeMICMAC/commit/52add4e399324e1ac23e10085becd3c5418f39d4
--ccd-width 6.17
and --ccd-height 4.55
options now available. Generates MicMac-LocalChantierDescripteur.xml
Supporting multiple cameras and 3d models would be a future enhancement/feature.
odm_data_aukerman
via NodeMICMAC:
Thanks
When trying to process the Aukerman data set from odm (https://github.com/OpenDroneMap/odm_data_aukerman)
I get the following error: