# Map Testing

You have already built a map and now want to test its quality to check if it is good enough to use in project. There are two ways to do that.

  1. Mapper App
  2. Python Script (Test images)

# Mapper App

in mapper app you can download the map you just created and try to localize in the same environment. on the top right it will show total how many time you tried to localize and how many times it was successful.

# Python Script

To test map with python script you need test images of the location. You can capture images with manual mode when you have captured desired dataset of that location, press share button on top right button and export the data to your laptop/computer

Share images
Share images
Export to
Export to

This process will export a zip file. Now you can extract the zip file and it will show you some ".png" and ".json" files

Extract Zip file
Extract Zip file
Extracted data
Extracted data

Copy the link to your image folder and pase it into

Path of your images
e.g. inputDirectory = r'/Users/Name/workspaces/TestMap/img'
inputDirectory = "path_of_frames"

copy the token from your developer portal and paste it in the script

token = "your_token from Dev portal"
mapId = 123

Add your map id of the map that you want to test

And run the script it will give you numbers of successful localizations at the end

Here you can get the script to run localization tests