Installing mapillary_tools on an Android device

Well, I found out how to install mapillary_tools on Android!

Again.

On Termux, instructions to do an install from scratch look like this:

pkg install python git build-essential libgeos openssl libjpeg-turbo

and

pip install --upgrade pip wheel

to install required libraries and programs.

pip install --upgrade git+https://github.com/mapillary/mapillary_tools

to install mapillary_tools. And

termux-setup-storage

to access shared internal storage.

Also, on devices running Android 11, mapillary_tools will run slowly if it must access shared internal storage. Thus, I suggest moving images to Termux’s native directory before running mapillary_tools. For example, if you store your imagery in the folder “Internal storage/DCIM/Trip1” you’d use a command like

mv -v storage/dcim/Trip1 Trip1

to move folder Trip1 and it’s contents to Termux.

I’ve already used mapillary_tools in Termux to upload thousands of images recently, and it’s worked very well for me.

3 Likes