mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 03:26:31 +00:00
send port in image matcher arguments
lower expectations from gmaps, enlarge size of download map
This commit is contained in:
@@ -24,7 +24,7 @@ public class GpsMatcherService(IGpsMatcherClient gpsMatcherClient,
|
|||||||
private readonly DirectoriesConfig _dirConfig = dirConfig.Value;
|
private readonly DirectoriesConfig _dirConfig = dirConfig.Value;
|
||||||
private const int ZOOM_LEVEL = 18;
|
private const int ZOOM_LEVEL = 18;
|
||||||
private const int POINTS_COUNT = 10;
|
private const int POINTS_COUNT = 10;
|
||||||
private const int DISTANCE_BETWEEN_POINTS_M = 100;
|
private const int DISTANCE_BETWEEN_POINTS_M = 120;
|
||||||
private const double SATELLITE_RADIUS_M = DISTANCE_BETWEEN_POINTS_M * (POINTS_COUNT + 1);
|
private const double SATELLITE_RADIUS_M = DISTANCE_BETWEEN_POINTS_M * (POINTS_COUNT + 1);
|
||||||
private const int MAX_AVG_POINTS = 2;
|
private const int MAX_AVG_POINTS = 2;
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ public class GpsMatcherClient : IGpsMatcherClient
|
|||||||
process.StartInfo = new ProcessStartInfo
|
process.StartInfo = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = SecurityConstants.ExternalGpsDeniedPath,
|
FileName = SecurityConstants.ExternalGpsDeniedPath,
|
||||||
|
Arguments = $"zeromq --rep {gpsConfig.Value.ZeroMqPort} --pub {gpsConfig.Value.ZeroMqReceiverPort}",
|
||||||
WorkingDirectory = SecurityConstants.EXTERNAL_GPS_DENIED_FOLDER,
|
WorkingDirectory = SecurityConstants.EXTERNAL_GPS_DENIED_FOLDER,
|
||||||
CreateNoWindow = true
|
CreateNoWindow = true
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
"GpsDeniedClientConfig": {
|
"GpsDeniedClientConfig": {
|
||||||
"ZeroMqHost": "127.0.0.1",
|
"ZeroMqHost": "127.0.0.1",
|
||||||
"ZeroMqPort": 5555,
|
"ZeroMqPort": 5535,
|
||||||
"ZeroMqReceiverPort": 5556
|
"ZeroMqReceiverPort": 5536
|
||||||
},
|
},
|
||||||
"DirectoriesConfig": {
|
"DirectoriesConfig": {
|
||||||
"ApiResourcesDirectory": "stage",
|
"ApiResourcesDirectory": "stage",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"ModelBatchSize": 4
|
"ModelBatchSize": 4
|
||||||
},
|
},
|
||||||
"GpsDeniedConfig": {
|
"GpsDeniedConfig": {
|
||||||
"MinKeyPoints": 15
|
"MinKeyPoints": 12
|
||||||
},
|
},
|
||||||
"ThumbnailConfig": { "Size": "240,135", "Border": 10 }
|
"ThumbnailConfig": { "Size": "240,135", "Border": 10 }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user