Merge pull request #89 from pierotofy/cameracalib

Export cameras.json
pull/91/head
Piero Toffanin 2019-06-26 12:52:03 -04:00 zatwierdzone przez GitHub
commit 48cf7f01b2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
8 zmienionych plików z 20 dodań i 6 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
= node-opendronemap = NodeODM
[[_overview]] [[_overview]]
@ -8,7 +8,7 @@ REST API to access ODM
=== Version information === Version information
[%hardbreaks] [%hardbreaks]
_Version_ : 1.5.2 _Version_ : 1.5.3
=== Contact information === Contact information

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -341,7 +341,8 @@ module.exports = class Task{
let allPaths = ['odm_orthophoto/odm_orthophoto.tif', 'odm_orthophoto/odm_orthophoto.mbtiles', let allPaths = ['odm_orthophoto/odm_orthophoto.tif', 'odm_orthophoto/odm_orthophoto.mbtiles',
'odm_georeferencing', 'odm_texturing', 'odm_georeferencing', 'odm_texturing',
'odm_dem/dsm.tif', 'odm_dem/dtm.tif', 'dsm_tiles', 'dtm_tiles', 'odm_dem/dsm.tif', 'odm_dem/dtm.tif', 'dsm_tiles', 'dtm_tiles',
'orthophoto_tiles', 'potree_pointcloud', 'entwine_pointcloud', 'images.json']; 'orthophoto_tiles', 'potree_pointcloud', 'entwine_pointcloud',
'images.json', 'cameras.json'];
// Did the user request different outputs than the default? // Did the user request different outputs than the default?
if (this.outputs.length > 0) allPaths = this.outputs; if (this.outputs.length > 0) allPaths = this.outputs;

Wyświetl plik

@ -222,6 +222,18 @@ module.exports = {
} }
} }
}, },
{
regex: /^(json)$/,
validate: function(matches, value){
try{
if (typeof value !== 'string') return false;
JSON.parse(value);
return true;
}catch(e){
return false;
}
}
},
{ {
regex: /^(string|path)$/, regex: /^(string|path)$/,
validate: function(){ validate: function(){

Wyświetl plik

@ -1,6 +1,6 @@
{ {
"name": "NodeODM", "name": "NodeODM",
"version": "1.5.2", "version": "1.5.3",
"description": "REST API to access ODM", "description": "REST API to access ODM",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -0,0 +1 @@
{"dji fc300s 4000 2250 perspective 0.5555": {"k2": 0.016, "projection_type": "perspective", "k1": 0.006, "height": 2250, "width": 4000, "focal": 0.5616905969087824}}