|
|
@@ -212,7 +212,10 @@ public class DspCallbackServiceImpl implements IDspCallbackService { |
|
|
|
String startFrame = frame.substring(0, frame.indexOf("-")); |
|
|
|
//统一按照25帧计算 |
|
|
|
int second = Integer.parseInt(startFrame) / 25; |
|
|
|
long shootTime = inspection.getExecutionStartTime().getTime() + second; |
|
|
|
|
|
|
|
// 解决离线视频分析的问题都是一个坐标问题 |
|
|
|
// long shootTime = inspection.getExecutionStartTime().getTime() + second; |
|
|
|
long shootTime = Long.parseLong(flightDataList.get(flightDataList.size() - 1).getTimestamp()) + second * 1000; |
|
|
|
FlightData flightData_off = getFlightDataByTime(flightDataList, shootTime); |
|
|
|
if (ObjectUtil.isNotNull(flightData_off)) { |
|
|
|
inspectionFile.setLongitude(flightData_off.getLng()); |