Need Help with this error? what(): JPEG format not recognized. MVE makescene.cc generates this error seems to be code after line 358

I manually install ODM on ARM7. ODM ran until the MVE stage. I think it was load file name for 8 byte tif from opensfm.

The dataset ran was drone_dataset_brighton_beach which are in jpg, not sure why same dataset ran in ubuntu x86 well.

I also resize the images with exifimageresize
from GitHub - pierotofy/exifimageresize: Resize Images, Keep Exif Data.


1 Like

Mm, difficult to say without seeing how you built ODM! :slight_smile:

Can you share your compilation/build steps?

Python Installations

Check python
Check numpy >= 1.15.4
Install sqlite binary
Sudo apt-get sqlite3
Sudo apt-get libsqlite3-dev
Install Proj 6.1.1 from sudo wget https://download.osgeo.org/proj/proj-6.1.1.tar.gz
Install Libxml2 Libxslt
Install cython
Sudo apt-get install libssl-dev - (for openssl)
Pip install -r requirements.txt which requirements.txt are:
PyYAML==3.13
ExifRead==2.3.0
cloudpickle==1.2.2
pytz==2020.1
gpxpy==1.3.5
xmltodict==0.12.0
appsettings==0.8
loky==2.5.1
repoze.lru==0.7
rasterio==1.0.28
attrs==19.1.0
pyodm==1.5.4
Pillow==6.1.0
networkx==2.2
scipy==1.2.1
Pysolar==0.6
psutil==5.6.3
joblib==0.13.2
Fiona==1.8.9.post2
cryptography==2.8
pyOpenSSL==19.1.0
scikit-learn==0.20
laspy==1.6.0
lxml==4.5.1
Install beautifulsoup4
Ln -s /usr/local/lib/libproj.so.15 /usr/lib/ (fix error for pyproj)
Pip install pyproj==2.2.2

Relating to Superbuild

Sudo apt-get Install libpcl-dev libpdal-dev

Cd /Superbuild && Mkdir build && Sudo cmake …

Run into bin not file directory error in Superbuild/install/bin

Go to Superbuild/install and remove the bin and add bin as (mkdir bin)

Nearest_Neighbor.cc in mve-prefix

For nearest_neighbor.cc , disable SSE2 and SSE3 instruction set for x86 because of emmintrin.h is not ARM

Nearest_neighbor.h set define search sse2 to 0 and sse3 to 0

MVS Texturing in Superbuild , in CMakeList.txt Line 32 comment out -mfpmath=sse

Comment out line openmvs_exporter.h in csfm.cc line 7 and the py::class OpenMVSExporter in the csfm.cc file some weird Load Type errors.

Build Success

Mm, my guess would be that MVE is being built without libtiff support. Make sure libtiff is installed and picked up by the compilation of MVE?

1 Like

Yeah I fixed it , it was that ARM handling of try catch in C++ with the jpeglib.h and tiff.h was different from x86 way. i added some code.

2 Likes

These were 400x225 images from drone dataset brighton beach.
Seems like feature.GetGeometryRef() return null in opendm/ cropper.py merge bound function Line 90.
What would cause GetGeometryRef() to return Null.

Could you publish your code/instruction builds on GitHub?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.