Troubleshooting
This page provides diagnosis and solutions for common issues encountered when using MipMapEngine SDK.
đ Diagnostic Toolsâ
When encountering problems, please first use the following diagnostic tools:
1. Configuration File Validationâ
task_json_check.exe -task_json your_config.json
2. Hardware Checkâ
hardware_check.exe
3. License Statusâ
license_manager.exe -info
đ Common Errors and Solutionsâ
Configuration File Errorsâ
Error: JSON Parse Failedâ
Error Message:
[ERROR] JSON parse failed: expected ',' or '}' at line 45
Cause: JSON format error, usually missing comma or extra comma.
Solution:
- Use JSON formatting tool to check syntax
- Ensure no comma after the last element
- Check for unclosed brackets or quotes
Example Correction:
// Error
{
"image_meta_data": [
{"id": 1, "path": "image1.jpg"}, // Last element should not have comma
]
}
// Correct
{
"image_meta_data": [
{"id": 1, "path": "image1.jpg"}
]
}
Error: Image File Not Foundâ
Error Message:
[ERROR] Image file not found: C:/images/DJI_0001.JPG
Cause: Specified image path is incorrect or file does not exist.
Solution:
- Check file path spelling
- Confirm file actually exists
- Use correct path separator (recommended to use
/) - Try using absolute path
Path Examples:
// Windows - Recommended
"path": "C:/Projects/Images/DJI_0001.JPG"
// Windows - Also acceptable
"path": "C:\\Projects\\Images\\DJI_0001.JPG"
// Relative path
"path": "../images/DJI_0001.JPG"
Error: Parameter Out of Rangeâ
Error Message:
[ERROR] Invalid resolution_level: 5 (should be 1-3)
Cause: Parameter value is not within allowed range.
Solution: Check and correct parameter values:
resolution_level: 1 (High), 2 (Medium), 3 (Low)input_image_type: 1 (RGB), 2 (Multispectral), 3 (Infrared)coordinate_system.type: 1 (Projected), 2 (Geographic), 3 (Geocentric)
Image Processing Errorsâ
Error: Insufficient Imagesâ
Error Message:
[ERROR] Insufficient images for reconstruction. Minimum 5 images required, found 3.
Cause: Too few images to perform 3D reconstruction.
Solution:
- Provide at least 5 images
- Ensure sufficient overlap between images (recommended >60%)
- Check if any images were automatically filtered (check logs)
Error: No GPS Informationâ
Error Message:
[WARNING] No GPS information found in image EXIF
Cause: No GPS information in image EXIF.
Solution:
- Use Custom POS Data:
{
"id": 1,
"path": "image.jpg",
"meta_data": {
"pos": [114.123, 22.456, 100.5],
"pos_sigma": [0.5, 0.5, 1.0]
}
}
- Reduce Position Constraint:
{
"use_image_position_constraint": false
}
Multi-Camera Reconstruction Issuesâ
Error: Camera Group Image Count Mismatchâ
Error Message:
[ERROR] Camera group image count mismatch: nadir(50), oblique_f(48)
Cause: Image counts for different camera groups are inconsistent.
Solution:
- Check if any images are missing
- Ensure multi-camera synchronization trigger is normal
- Use
task_json_checkto validate grouping configuration
Correct Grouping Example:
{
"image_meta_data": [
// Each position should have images from all cameras
{"id": 1, "path": "pos1/nadir.jpg", "group": "nadir"},
{"id": 2, "path": "pos1/forward.jpg", "group": "forward"},
{"id": 3, "path": "pos1/backward.jpg", "group": "backward"},
// ... Next position
{"id": 4, "path": "pos2/nadir.jpg", "group": "nadir"},
{"id": 5, "path": "pos2/forward.jpg", "group": "forward"},
{"id": 6, "path": "pos2/backward.jpg", "group": "backward"}
]
}
Memory and Performance Issuesâ
Error: Out of Memoryâ
Error Message:
[ERROR] Out of memory. Required: 24GB, Available: 16GB
Cause: System memory is insufficient to process current task.
Solution:
- Lower Precision Level:
{
"resolution_level": 3 // Use low precision
}
- Limit Memory Usage:
{
"min_avali_memory_size": 12.0 // Limit to 12GB
}
- Reduce Output Formats:
{
"generate_obj": true,
"generate_osgb": false, // Disable unnecessary outputs
"generate_3d_tiles": false
}
Error: GPU Out of Memoryâ
Error Message:
[ERROR] CUDA out of memory. Tried to allocate 2.00 GiB
Cause: GPU VRAM is insufficient.
Solution:
- Close other programs using GPU
- Lower
resolution_level - Use tile processing (for large projects)
License Issuesâ
Error: Invalid Licenseâ
Error Message:
[ERROR] Invalid license: License has expired
Solution:
- Check license status:
license_manager.exe -info - Confirm system time is correct
- Reactivate license
- Contact technical support to update license
Error: Virbox Service Not Runningâ
Error Message:
[ERROR] Virbox service not running
Solution:
Windows:
# Start service
net start "Virbox Service"
# Check service status
sc query "Virbox Service"
Linux:
# Load driver
sudo modprobe virbox
# Check driver
lsmod | grep virbox
Output Result Issuesâ
Issue: Model Has Holesâ
Possible Causes:
- Insufficient image overlap
- Texture-poor areas (water, glass, etc.)
- Poor image quality
Solution:
- Increase image overlap to 80%
- Use oblique photography to supplement sides
- Avoid shooting in strong light or shadow conditions
- Check and remove blurry images
Issue: Blurry Texturesâ
Possible Causes:
- Original images are blurry
- Flight altitude too high
- Improper camera settings
Solution:
- Use faster shutter speed (âĨ1/1000s)
- Lower flight altitude
- Use higher resolution camera
- Ensure camera focus is correct
Issue: Coordinate Offsetâ
Possible Causes:
- Coordinate system setting error
- Poor GPS accuracy
- Control points not used
Solution:
- Check Coordinate System Configuration:
{
"coordinate_system": {
"type": 2,
"label": "WGS 84",
"epsg_code": 4326
}
}
- Add Control Points:
{
"gcp_path": "gcps.txt",
"gcp_coor_sys": {
"type": 3,
"epsg_code": 32650 // Ensure it matches actual
}
}
đ ī¸ Advanced Diagnosticsâ
View Detailed Logsâ
Log file location: working_dir/log/log.txt
Find key information:
# View errors
grep -i "error" log.txt
# View warnings
grep -i "warning" log.txt
# View progress
grep "PROGRESS" log.txt
Performance Analysisâ
Find performance metrics in logs:
[TIMING]- Time consumption for each stage[MEMORY]- Memory usage[GPU]- GPU utilization
Intermediate Result Checkâ
Check intermediate results to locate issues:
- Aerotriangulation Results:
working_dir/AT/mvs.xml - ROI Range:
working_dir/milestones/roi.json - Quality Report:
working_dir/report/report.json
đ Get Helpâ
If the above solutions cannot resolve your issue:
-
Collect Diagnostic Information:
- Output from running
task_json_check - Complete
log.txtfile - Configuration file (sanitized)
- System information (hardware configuration)
- Output from running
-
Submit Issue:
- GitHub Issues: [Project URL]
- Technical Support Email: support@mipmap.com
- Include the above diagnostic information
-
Check Updates:
- Check if there's a new version
- View version update logs
- Follow known issues list
Continuously updated. If you encounter issues not listed, please contact technical support.