- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在尝试编写一个程序,根据时间戳将延时摄影照片组合在一起。
我正在尝试提出一种将照片分类为延时摄影的算法。
假设:
延时摄影由至少 5 张以上的连续照片组成
延时摄影间隔可能会有所不同,有时间隔 5 分钟,有时间隔 4 秒。
一些随机照片是在游戏中时光倒流之间拍摄的
只要对大部分时间流逝进行分组,允许轻微的误差是可以的。
一天拍摄的 CR2 原始时间戳可以在这里找到:
Full Dataset: https://pastebin.com/aYmPhYTx
Example:
2018-12-08 11:06:41
2018-12-08 11:09:20
2018-12-08 11:12:29
2018-12-08 11:12:42
2018-12-08 11:12:54
2018-12-08 11:13:07
2018-12-08 11:13:19
2018-12-08 11:13:31
2018-12-08 11:13:44
2018-12-08 11:13:56
2018-12-08 11:14:09
2018-12-08 11:14:21
2018-12-08 11:14:33
2018-12-08 11:14:46
2018-12-08 11:14:58
2018-12-08 11:15:11
以及我目前拥有的代码的摘录。 目前它只检查与前一张照片的时间差是否超过 5 分钟,以查看是否开始了新的延时摄影。这工作正常,但可以改进。
import exifread
import time
import glob
import collections # for ordered dictionary
import datetime
from itertools import groupby
def cat_algo(folder):
# Get a list with all the CR2 files in the folder we are processing
file_list = folder_to_file_list(folder)
# Extract the timestamp out of the CR2 file into a sorted dictionary
cr2_timestamp = collections.OrderedDict()
for file in file_list:
cr2_timestamp[file] = return_date_from_raw(file)
print str(file) + " - METADATA TIMESTAMP: " + \
str(return_date_from_raw(file))
cr2_category = collections.OrderedDict()
item_count = 1
group_count = 0
sequence_count = 0
index = 0
photo_difference_with_previous = collections.OrderedDict()
# Loop over the dictionary to compare the timestamps and create a new dictionary
# with a suspected group number per shot.
# get item and the next item out of the sorted dictionary
for item, nextitem in zip(cr2_timestamp.items(), cr2_timestamp.items()[1::]):
# if not the first CR2 file
if item_count >= 2:
# get the datestamp of the current and the next photo in the dict
current_date_stamp = item[1]
next_date_stamp = nextitem[1]
delta_previous = current_date_stamp - previous_date_stamp
delta_next = next_date_stamp - current_date_stamp
previous_difference_score = 0
if delta_previous > datetime.timedelta(minutes=5):
# if difference_score < 20:
print item[0] + " - hit - " + str(delta_previous)
group_count += 1
cr2_category[item[0]] = group_count
else:
cr2_category[item[0]] = group_count
# Calculations done, make the current date stamp the previous datestamp for the next iteration
previous_date_stamp = current_date_stamp
# If time difference with previous over X make a dict with name:number, in the end everything which has the
# same number 5+ times in a row can be assumed as a timelapse.
else:
# If it is the first date stamp, assign it the current one to be used in the next loop
previous_date_stamp = item[1]
# To help make sure this is not the first image in the sequence.
item_count += 1
print cr2_category
我认为要走的路是使用照片之间的百分比差异,并知道延时摄影是 5 张以上照片的序列,时间方差差异最小。
输出
Day 2/IMG_1995.CR2 - hit - 0:52:14
Day 2/IMG_2040.CR2 - hit - 0:07:01
Day 2/IMG_2117.CR2 - hit - 0:07:15
Day 2/IMG_2186.CR2 - hit - 1:02:05
Day 2/IMG_2206.CR2 - hit - 0:09:38
Day 2/IMG_2220.CR2 - hit - 0:08:45
Day 2/IMG_2372.CR2 - hit - 0:13:01
OrderedDict([('Day 2/IMG_1712.CR2', 0), ('Day 2/IMG_1713.CR2', 0), ('Day 2/IMG_1714.CR2', 0), ('Day 2/IMG_1715.CR2', 0), ('Day 2/IMG_1716.CR2', 0), ('Day 2/IMG_1717.CR2', 0), ('Day 2/IMG_1718.CR2', 0), ('Day 2/IMG_1719.CR2', 0), ('Day 2/IMG_1720.CR2', 0), ('Day 2/IMG_1721.CR2', 0), ('Day 2/IMG_1722.CR2', 0), ('Day 2/IMG_1723.CR2', 0), ('Day 2/IMG_1724.CR2', 0), ('Day 2/IMG_1725.CR2', 0), ('Day 2/IMG_1726.CR2', 0), ('Day 2/IMG_1727.CR2', 0), ('Day 2/IMG_1728.CR2',0), ('Day 2/IMG_1729.CR2', 0), ('Day 2/IMG_1730.CR2', 0), ('Day 2/IMG_1731.CR2', 0), ('Day 2/IMG_1732.CR2', 0), ('Day 2/IMG_1733.CR2', 0), ('Day 2/IMG_1734.CR2', 0), ('Day 2/IMG_1735.CR2', 0), ('Day 2/IMG_1736.CR2', 0), ('Day 2/IMG_1737.CR2', 0), ('Day 2/IMG_1738.CR2', 0), ('Day 2/IMG_1739.CR2', 0), ('Day 2/IMG_1740.CR2', 0), ('Day 2/IMG_1741.CR2', 0), ('Day 2/IMG_1742.CR2', 0), ('Day 2/IMG_1743.CR2', 0), ('Day 2/IMG_1744.CR2', 0), ('Day 2/IMG_1745.CR2', 0), ('Day 2/IMG_1746.CR2', 0), ('Day 2/IMG_1747.CR2', 0), ('Day 2/IMG_1748.CR2', 0), ('Day 2/IMG_1749.CR2', 0), ('Day 2/IMG_1750.CR2', 0), ('Day 2/IMG_1751.CR2', 0), ('Day 2/IMG_1752.CR2'.......
但是经过实验我还没有弄明白。有没有聪明的方法来做到这一点?我在寻找一个简单的解决方案吗?谢谢!
最佳答案
还有另一种实现方式:
import datetime
def diff(time1, time2):
t1 = datetime.datetime.strptime(time1, '%Y-%m-%d %H:%M:%S')
t2 = datetime.datetime.strptime(time2, '%Y-%m-%d %H:%M:%S')
return t2-t1
with open('file.txt', 'r') as f:
data = f.read()
dates = [x for x in data.split('\n')]
r = []
result = []
for i in range(len(dates)-1):
if diff(dates[i], dates[i+1]).total_seconds() > 300:
result.append(r)
r = []
r.append(dates[i])
result.append(r)
for i, r in enumerate(result):
print('Timelapse: {}. Photos: {}. Period: {} - {}. Duration: {}'.format(i+1, len(r), r[0], r[-1], diff(r[0], r[-1])))
按延时分割的日期:
[['2018-12-08 11:06:41', '2018-12-08 11:09:20', '2018-12-08 11:12:29', '2018-12-08 11:12:42', '2018-12-08 11:12:54', '2018-12-08 11:13:07', '2018-12-08 11:13:19', '2018-12-08 11:13:31', '2018-12-08 11:13:44', '2018-12-08 11:13:56', '2018-12-08 11:14:09', '2018-12-08 11:14:21', '2018-12-08 11:14:33', '2018-12-08 11:14:46', '2018-12-08 11:14:58', '2018-12-08 11:15:11', '2018-12-08 11:15:23', '2018-12-08 11:15:35', '2018-12-08 11:15:48', '2018-12-08 11:16:00', '2018-12-08 11:16:13', '2018-12-08 11:16:25', '2018-12-08 11:16:37', '2018-12-08 11:16:50', '2018-12-08 11:17:02', '2018-12-08 11:17:15', '2018-12-08 11:17:27', '2018-12-08 11:17:40', '2018-12-08 11:17:52', '2018-12-08 11:18:04', '2018-12-08 11:18:17', '2018-12-08 11:18:29', '2018-12-08 11:18:42', '2018-12-08 11:18:54', '2018-12-08 11:19:06', '2018-12-08 11:19:19', '2018-12-08 11:19:31', '2018-12-08 11:19:44', '2018-12-08 11:19:56', '2018-12-08 11:20:08', '2018-12-08 11:20:21', '2018-12-08 11:20:33', '2018-12-08 11:20:46', '2018-12-08 11:20:58', '2018-12-08 11:21:10', '2018-12-08 11:21:23', '2018-12-08 11:21:35', '2018-12-08 11:21:48', '2018-12-08 11:22:00', '2018-12-08 11:22:13', '2018-12-08 11:22:25', '2018-12-08 11:22:37', '2018-12-08 11:22:50', '2018-12-08 11:23:02', '2018-12-08 11:23:15', '2018-12-08 11:23:27', '2018-12-08 11:23:39', '2018-12-08 11:23:52', '2018-12-08 11:24:04', '2018-12-08 11:24:17', '2018-12-08 11:24:29', '2018-12-08 11:24:41', '2018-12-08 11:24:54', '2018-12-08 11:25:06', '2018-12-08 11:25:19', '2018-12-08 11:25:31', '2018-12-08 11:25:44', '2018-12-08 11:25:56', '2018-12-08 11:26:08', '2018-12-08 11:26:21', '2018-12-08 11:26:33', '2018-12-08 11:26:46', '2018-12-08 11:26:58', '2018-12-08 11:27:10', '2018-12-08 11:27:23', '2018-12-08 11:27:35', '2018-12-08 11:27:48', '2018-12-08 11:28:00', '2018-12-08 11:28:12', '2018-12-08 11:28:25', '2018-12-08 11:28:37', '2018-12-08 11:28:50', '2018-12-08 11:29:02', '2018-12-08 11:29:14', '2018-12-08 11:29:27', '2018-12-08 11:29:39', '2018-12-08 11:29:52', '2018-12-08 11:30:04', '2018-12-08 11:30:17', '2018-12-08 11:30:29', '2018-12-08 11:30:41', '2018-12-08 11:30:54', '2018-12-08 11:31:06', '2018-12-08 11:31:19', '2018-12-08 11:31:31', '2018-12-08 11:31:43', '2018-12-08 11:31:56', '2018-12-08 11:32:08', '2018-12-08 11:32:21', '2018-12-08 11:32:33', '2018-12-08 11:32:45', '2018-12-08 11:32:58', '2018-12-08 11:33:10', '2018-12-08 11:33:23', '2018-12-08 11:33:35', '2018-12-08 11:33:47', '2018-12-08 11:34:00', '2018-12-08 11:34:12', '2018-12-08 11:34:25', '2018-12-08 11:34:37', '2018-12-08 11:34:50', '2018-12-08 11:35:02', '2018-12-08 11:35:14', '2018-12-08 11:35:27', '2018-12-08 11:35:39', '2018-12-08 11:35:52', '2018-12-08 11:36:04', '2018-12-08 11:36:16', '2018-12-08 11:36:29', '2018-12-08 11:36:41', '2018-12-08 11:36:54', '2018-12-08 11:37:06', '2018-12-08 11:37:18', '2018-12-08 11:37:31', '2018-12-08 11:37:43', '2018-12-08 11:37:56', '2018-12-08 11:38:08', '2018-12-08 11:38:20', '2018-12-08 11:38:58', '2018-12-08 11:39:01', '2018-12-08 11:39:04', '2018-12-08 11:39:10', '2018-12-08 11:39:23', '2018-12-08 11:39:35', '2018-12-08 11:39:47', '2018-12-08 11:40:00', '2018-12-08 11:40:12', '2018-12-08 11:40:25', '2018-12-08 11:40:37', '2018-12-08 11:40:49', '2018-12-08 11:41:02', '2018-12-08 11:41:14', '2018-12-08 11:41:27', '2018-12-08 11:41:39', '2018-12-08 11:41:51', '2018-12-08 11:42:04', '2018-12-08 11:42:16', '2018-12-08 11:42:29', '2018-12-08 11:42:41', '2018-12-08 11:42:53', '2018-12-08 11:43:06', '2018-12-08 11:43:18', '2018-12-08 11:43:31', '2018-12-08 11:43:43', '2018-12-08 11:43:56', '2018-12-08 11:44:08', '2018-12-08 11:44:20', '2018-12-08 11:44:33', '2018-12-08 11:44:45', '2018-12-08 11:44:58', '2018-12-08 11:45:10', '2018-12-08 11:45:22', '2018-12-08 11:45:35', '2018-12-08 11:45:47', '2018-12-08 11:46:00', '2018-12-08 11:46:12', '2018-12-08 11:46:24', '2018-12-08 11:46:37', '2018-12-08 11:46:49', '2018-12-08 11:47:02', '2018-12-08 11:47:14', '2018-12-08 11:47:26', '2018-12-08 11:47:39', '2018-12-08 11:47:51', '2018-12-08 11:48:04', '2018-12-08 11:48:16', '2018-12-08 11:48:29', '2018-12-08 11:48:41', '2018-12-08 11:48:53', '2018-12-08 11:49:06', '2018-12-08 11:49:18', '2018-12-08 11:49:31', '2018-12-08 11:49:43', '2018-12-08 11:49:55', '2018-12-08 11:50:08', '2018-12-08 11:50:20', '2018-12-08 11:50:33', '2018-12-08 11:50:45', '2018-12-08 11:50:57', '2018-12-08 11:51:10', '2018-12-08 11:51:22', '2018-12-08 11:51:35', '2018-12-08 11:51:47', '2018-12-08 11:51:59', '2018-12-08 11:52:12', '2018-12-08 11:52:24', '2018-12-08 11:52:37', '2018-12-08 11:52:49', '2018-12-08 11:53:02', '2018-12-08 11:53:14', '2018-12-08 11:53:26', '2018-12-08 11:53:39', '2018-12-08 11:53:51', '2018-12-08 11:54:04', '2018-12-08 11:54:16', '2018-12-08 11:54:28', '2018-12-08 11:54:41', '2018-12-08 11:54:53', '2018-12-08 11:55:06', '2018-12-08 11:55:18', '2018-12-08 11:55:30', '2018-12-08 11:55:43', '2018-12-08 11:55:55', '2018-12-08 11:56:08', '2018-12-08 11:56:20', '2018-12-08 11:56:33', '2018-12-08 11:56:45', '2018-12-08 11:56:57', '2018-12-08 11:57:10', '2018-12-08 11:57:22', '2018-12-08 11:57:35', '2018-12-08 11:57:47', '2018-12-08 11:57:59', '2018-12-08 11:58:12', '2018-12-08 11:58:24', '2018-12-08 11:58:37', '2018-12-08 11:58:49', '2018-12-08 11:59:01', '2018-12-08 11:59:14', '2018-12-08 11:59:26', '2018-12-08 11:59:39', '2018-12-08 11:59:51', '2018-12-08 12:00:03', '2018-12-08 12:00:16', '2018-12-08 12:00:28', '2018-12-08 12:00:41', '2018-12-08 12:00:53', '2018-12-08 12:01:06', '2018-12-08 12:01:18', '2018-12-08 12:01:30', '2018-12-08 12:01:43', '2018-12-08 12:01:55', '2018-12-08 12:02:08', '2018-12-08 12:02:20', '2018-12-08 12:02:32', '2018-12-08 12:02:45', '2018-12-08 12:02:57', '2018-12-08 12:03:10', '2018-12-08 12:03:22', '2018-12-08 12:03:34', '2018-12-08 12:03:47', '2018-12-08 12:03:59', '2018-12-08 12:04:12', '2018-12-08 12:04:24', '2018-12-08 12:04:36', '2018-12-08 12:04:49', '2018-12-08 12:05:01', '2018-12-08 12:05:14', '2018-12-08 12:05:26', '2018-12-08 12:05:39', '2018-12-08 12:05:51', '2018-12-08 12:06:03', '2018-12-08 12:06:16', '2018-12-08 12:06:28', '2018-12-08 12:06:41', '2018-12-08 12:06:53', '2018-12-08 12:07:05', '2018-12-08 12:07:18', '2018-12-08 12:07:30', '2018-12-08 12:07:43', '2018-12-08 12:07:55', '2018-12-08 12:08:07', '2018-12-08 12:08:20', '2018-12-08 12:08:32', '2018-12-08 12:08:45', '2018-12-08 12:08:57', '2018-12-08 12:09:09', '2018-12-08 12:09:22', '2018-12-08 12:09:34', '2018-12-08 12:09:47', '2018-12-08 12:09:59'], ['2018-12-08 12:10:12', '2018-12-08 13:02:26', '2018-12-08 13:02:49', '2018-12-08 13:03:08', '2018-12-08 13:03:29', '2018-12-08 13:03:56', '2018-12-08 13:04:22', '2018-12-08 13:04:45', '2018-12-08 13:04:59', '2018-12-08 13:05:25', '2018-12-08 13:05:42', '2018-12-08 13:05:56', '2018-12-08 13:06:16', '2018-12-08 13:06:38', '2018-12-08 13:06:54', '2018-12-08 13:07:13', '2018-12-08 13:07:31', '2018-12-08 13:07:48', '2018-12-08 13:08:12', '2018-12-08 13:08:35', '2018-12-08 13:08:54', '2018-12-08 13:09:27', '2018-12-08 13:09:52', '2018-12-08 13:10:14', '2018-12-08 13:10:31', '2018-12-08 13:10:47', '2018-12-08 13:11:05', '2018-12-08 13:11:38', '2018-12-08 13:12:00', '2018-12-08 13:12:20', '2018-12-08 13:12:35', '2018-12-08 13:13:07', '2018-12-08 13:13:29', '2018-12-08 13:14:07', '2018-12-08 13:14:37', '2018-12-08 13:15:06', '2018-12-08 13:15:32', '2018-12-08 13:15:53', '2018-12-08 13:16:05', '2018-12-08 13:16:26', '2018-12-08 13:17:26', '2018-12-08 13:17:45', '2018-12-08 13:18:06'], ['2018-12-08 13:19:03', '2018-12-08 13:26:04', '2018-12-08 13:26:12', '2018-12-08 13:27:48', '2018-12-08 13:28:11', '2018-12-08 13:28:15', '2018-12-08 13:28:33', '2018-12-08 13:28:57', '2018-12-08 13:29:42', '2018-12-08 13:30:12', '2018-12-08 13:30:37', '2018-12-08 13:30:51', '2018-12-08 13:31:27', '2018-12-08 13:31:43', '2018-12-08 13:32:05', '2018-12-08 13:32:26', '2018-12-08 13:32:44', '2018-12-08 13:33:11', '2018-12-08 13:33:36', '2018-12-08 13:33:56', '2018-12-08 13:34:13', '2018-12-08 13:34:32', '2018-12-08 13:34:52', '2018-12-08 13:35:11', '2018-12-08 13:35:34', '2018-12-08 13:35:51', '2018-12-08 13:36:17', '2018-12-08 13:36:40', '2018-12-08 13:37:00', '2018-12-08 13:37:14', '2018-12-08 13:37:29', '2018-12-08 13:37:45', '2018-12-08 13:38:06', '2018-12-08 13:38:28', '2018-12-08 13:38:52', '2018-12-08 13:39:15', '2018-12-08 13:39:39', '2018-12-08 13:40:04', '2018-12-08 13:40:26', '2018-12-08 13:40:42', '2018-12-08 13:40:59', '2018-12-08 13:41:17', '2018-12-08 13:41:39', '2018-12-08 13:42:13', '2018-12-08 13:42:30', '2018-12-08 13:42:45', '2018-12-08 13:43:01', '2018-12-08 13:43:21', '2018-12-08 13:43:45', '2018-12-08 13:44:10', '2018-12-08 13:44:35', '2018-12-08 13:44:53', '2018-12-08 13:45:22', '2018-12-08 13:45:41', '2018-12-08 13:45:55', '2018-12-08 13:46:06', '2018-12-08 13:46:19', '2018-12-08 13:46:43', '2018-12-08 13:47:02', '2018-12-08 13:47:19', '2018-12-08 13:47:38', '2018-12-08 13:47:55', '2018-12-08 13:48:10', '2018-12-08 13:48:29', '2018-12-08 13:48:53', '2018-12-08 13:49:08', '2018-12-08 13:49:29', '2018-12-08 13:49:46', '2018-12-08 13:50:00', '2018-12-08 13:50:17', '2018-12-08 13:50:48', '2018-12-08 13:51:06', '2018-12-08 13:51:23', '2018-12-08 13:51:40', '2018-12-08 13:52:12', '2018-12-08 13:52:34'], ['2018-12-08 13:52:50', '2018-12-08 14:00:05', '2018-12-08 14:00:14', '2018-12-08 14:01:39', '2018-12-08 14:01:42', '2018-12-08 14:02:11', '2018-12-08 14:02:35', '2018-12-08 14:03:02', '2018-12-08 14:03:27', '2018-12-08 14:04:02', '2018-12-08 14:04:23', '2018-12-08 14:04:39', '2018-12-08 14:05:06', '2018-12-08 14:05:21', '2018-12-08 14:05:50', '2018-12-08 14:06:02', '2018-12-08 14:07:26', '2018-12-08 14:07:30', '2018-12-08 14:07:55', '2018-12-08 14:08:23', '2018-12-08 14:08:45', '2018-12-08 14:09:10', '2018-12-08 14:09:25', '2018-12-08 14:09:42', '2018-12-08 14:10:03', '2018-12-08 14:10:24', '2018-12-08 14:10:48', '2018-12-08 14:11:02', '2018-12-08 14:11:30', '2018-12-08 14:11:50', '2018-12-08 14:12:14', '2018-12-08 14:12:36', '2018-12-08 14:13:05', '2018-12-08 14:13:28', '2018-12-08 14:13:58', '2018-12-08 14:14:11', '2018-12-08 14:14:43', '2018-12-08 14:15:03', '2018-12-08 14:15:27', '2018-12-08 14:15:56', '2018-12-08 14:16:20', '2018-12-08 14:16:44', '2018-12-08 14:17:14', '2018-12-08 14:17:32', '2018-12-08 14:17:56', '2018-12-08 14:18:26', '2018-12-08 14:19:01', '2018-12-08 14:19:29', '2018-12-08 14:19:49', '2018-12-08 14:20:11', '2018-12-08 14:20:27', '2018-12-08 14:21:04', '2018-12-08 14:21:21', '2018-12-08 14:21:38', '2018-12-08 14:21:51', '2018-12-08 14:22:08', '2018-12-08 14:22:26', '2018-12-08 14:22:51', '2018-12-08 14:23:07', '2018-12-08 14:23:26', '2018-12-08 14:23:46', '2018-12-08 14:24:05', '2018-12-08 14:24:52', '2018-12-08 14:25:08', '2018-12-08 14:25:40', '2018-12-08 14:26:12', '2018-12-08 14:26:38', '2018-12-08 14:27:12', '2018-12-08 14:27:33'], ['2018-12-08 14:27:51', '2018-12-08 15:29:56', '2018-12-08 15:31:31', '2018-12-08 15:31:37', '2018-12-08 15:31:41', '2018-12-08 15:31:41', '2018-12-08 15:32:03', '2018-12-08 15:32:03', '2018-12-08 15:32:04', '2018-12-08 15:32:04', '2018-12-08 15:32:26', '2018-12-08 15:32:47', '2018-12-08 15:34:10', '2018-12-08 15:34:16', '2018-12-08 15:34:16', '2018-12-08 15:34:27', '2018-12-08 15:34:43', '2018-12-08 15:35:37', '2018-12-08 15:35:37', '2018-12-08 15:35:39'], ['2018-12-08 15:35:40', '2018-12-08 15:45:18', '2018-12-08 15:45:18', '2018-12-08 15:45:19', '2018-12-08 15:45:19', '2018-12-08 15:45:21', '2018-12-08 15:45:21', '2018-12-08 15:45:24', '2018-12-08 15:45:27', '2018-12-08 15:45:33', '2018-12-08 15:45:33', '2018-12-08 15:45:50', '2018-12-08 15:46:01', '2018-12-08 15:46:01'], ['2018-12-08 15:46:02', '2018-12-08 15:54:47', '2018-12-08 15:55:13', '2018-12-08 15:55:20', '2018-12-08 15:55:20', '2018-12-08 15:55:21', '2018-12-08 15:55:21', '2018-12-08 15:55:23', '2018-12-08 15:55:24', '2018-12-08 15:55:24', '2018-12-08 15:55:25', '2018-12-08 15:55:25', '2018-12-08 15:55:29', '2018-12-08 15:55:36', '2018-12-08 15:55:36', '2018-12-08 15:55:37', '2018-12-08 15:55:55', '2018-12-08 15:55:55', '2018-12-08 15:56:18', '2018-12-08 15:56:36', '2018-12-08 15:56:36', '2018-12-08 15:56:44', '2018-12-08 15:56:45', '2018-12-08 15:57:09', '2018-12-08 15:57:09', '2018-12-08 15:57:09', '2018-12-08 15:57:10', '2018-12-08 15:57:12', '2018-12-08 15:57:44', '2018-12-08 15:57:44', '2018-12-08 15:58:18', '2018-12-08 15:58:18', '2018-12-08 15:58:19', '2018-12-08 15:58:19', '2018-12-08 15:58:20', '2018-12-08 15:58:28', '2018-12-08 15:58:29', '2018-12-08 15:58:29', '2018-12-08 15:58:30', '2018-12-08 15:58:33', '2018-12-08 15:58:35', '2018-12-08 15:58:36', '2018-12-08 15:58:39', '2018-12-08 15:58:52', '2018-12-08 15:58:54', '2018-12-08 15:59:03', '2018-12-08 15:59:05', '2018-12-08 15:59:05', '2018-12-08 15:59:06', '2018-12-08 15:59:06', '2018-12-08 15:59:06', '2018-12-08 15:59:07', '2018-12-08 15:59:07', '2018-12-08 15:59:07', '2018-12-08 15:59:58', '2018-12-08 15:59:58', '2018-12-08 15:59:58', '2018-12-08 16:00:06', '2018-12-08 16:00:06', '2018-12-08 16:00:06', '2018-12-08 16:00:07', '2018-12-08 16:00:07', '2018-12-08 16:00:08', '2018-12-08 16:00:08', '2018-12-08 16:00:08', '2018-12-08 16:00:08', '2018-12-08 16:00:19', '2018-12-08 16:00:20', '2018-12-08 16:00:20', '2018-12-08 16:00:20', '2018-12-08 16:00:21', '2018-12-08 16:01:06', '2018-12-08 16:01:08', '2018-12-08 16:01:08', '2018-12-08 16:01:08', '2018-12-08 16:01:09', '2018-12-08 16:01:16', '2018-12-08 16:01:17', '2018-12-08 16:01:32', '2018-12-08 16:01:32', '2018-12-08 16:01:32', '2018-12-08 16:01:52', '2018-12-08 16:01:55', '2018-12-08 16:01:55', '2018-12-08 16:01:56', '2018-12-08 16:01:57', '2018-12-08 16:02:02', '2018-12-08 16:02:10', '2018-12-08 16:02:11', '2018-12-08 16:02:42', '2018-12-08 16:02:43', '2018-12-08 16:02:43', '2018-12-08 16:02:45', '2018-12-08 16:02:46', '2018-12-08 16:02:46', '2018-12-08 16:02:54', '2018-12-08 16:02:59', '2018-12-08 16:03:00', '2018-12-08 16:03:39', '2018-12-08 16:04:51', '2018-12-08 16:04:51', '2018-12-08 16:05:01', '2018-12-08 16:05:01', '2018-12-08 16:05:27', '2018-12-08 16:05:28', '2018-12-08 16:05:29', '2018-12-08 16:05:41', '2018-12-08 16:05:41', '2018-12-08 16:05:43', '2018-12-08 16:05:43', '2018-12-08 16:05:44', '2018-12-08 16:06:19', '2018-12-08 16:06:25', '2018-12-08 16:06:27', '2018-12-08 16:06:27', '2018-12-08 16:06:29', '2018-12-08 16:06:34', '2018-12-08 16:06:34', '2018-12-08 16:06:35', '2018-12-08 16:06:36', '2018-12-08 16:06:57', '2018-12-08 16:07:00', '2018-12-08 16:07:00', '2018-12-08 16:07:00', '2018-12-08 16:07:35', '2018-12-08 16:07:38', '2018-12-08 16:07:41', '2018-12-08 16:07:41', '2018-12-08 16:07:42', '2018-12-08 16:07:43', '2018-12-08 16:07:44', '2018-12-08 16:07:44', '2018-12-08 16:07:46', '2018-12-08 16:07:48', '2018-12-08 16:07:48', '2018-12-08 16:07:49', '2018-12-08 16:07:56', '2018-12-08 16:07:56', '2018-12-08 16:07:56', '2018-12-08 16:07:57', '2018-12-08 16:07:58', '2018-12-08 16:07:59', '2018-12-08 16:08:43', '2018-12-08 16:08:44', '2018-12-08 16:08:44', '2018-12-08 16:08:48', '2018-12-08 16:08:48', '2018-12-08 16:08:49', '2018-12-08 16:08:49', '2018-12-08 16:08:57', '2018-12-08 16:08:57', '2018-12-08 16:09:03'], ['2018-12-08 16:09:11', '2018-12-08 16:22:12', '2018-12-08 16:22:20', '2018-12-08 16:22:26', '2018-12-08 16:22:31', '2018-12-08 16:23:17', '2018-12-08 16:24:33', '2018-12-08 16:25:15', '2018-12-08 16:25:40', '2018-12-08 16:26:14', '2018-12-08 16:26:37', '2018-12-08 16:26:43', '2018-12-08 16:26:47', '2018-12-08 16:27:14', '2018-12-08 16:27:39', '2018-12-08 16:28:02', '2018-12-08 16:28:36', '2018-12-08 16:28:57', '2018-12-08 16:29:17', '2018-12-08 16:29:44', '2018-12-08 16:30:04', '2018-12-08 16:30:37', '2018-12-08 16:31:09', '2018-12-08 16:31:49', '2018-12-08 16:32:26', '2018-12-08 16:32:59', '2018-12-08 16:33:17', '2018-12-08 16:33:45', '2018-12-08 16:34:26', '2018-12-08 16:34:48', '2018-12-08 16:35:27', '2018-12-08 16:35:55', '2018-12-08 16:36:22', '2018-12-08 16:37:01', '2018-12-08 16:37:24', '2018-12-08 16:37:55', '2018-12-08 16:38:35', '2018-12-08 16:38:58', '2018-12-08 16:39:36', '2018-12-08 16:40:14', '2018-12-08 16:41:43', '2018-12-08 16:42:32', '2018-12-08 16:42:56', '2018-12-08 16:43:16', '2018-12-08 16:43:30', '2018-12-08 16:43:47', '2018-12-08 16:44:10', '2018-12-08 16:44:34', '2018-12-08 16:44:53', '2018-12-08 16:45:08', '2018-12-08 16:45:30', '2018-12-08 16:45:56', '2018-12-08 16:46:20', '2018-12-08 16:46:49', '2018-12-08 16:47:08', '2018-12-08 16:47:24', '2018-12-08 16:47:51', '2018-12-08 16:48:17', '2018-12-08 16:48:39', '2018-12-08 16:48:57', '2018-12-08 16:49:19', '2018-12-08 16:49:53', '2018-12-08 16:50:21', '2018-12-08 16:50:45', '2018-12-08 16:51:21', '2018-12-08 16:51:46', '2018-12-08 16:52:25', '2018-12-08 16:53:05', '2018-12-08 16:54:16', '2018-12-08 16:54:47', '2018-12-08 16:56:10', '2018-12-08 16:56:51', '2018-12-08 16:57:37', '2018-12-08 16:57:52', '2018-12-08 16:58:08', '2018-12-08 16:58:25', '2018-12-08 16:58:53', '2018-12-08 16:59:08', '2018-12-08 16:59:38', '2018-12-08 17:00:07', '2018-12-08 17:00:23', '2018-12-08 17:00:39', '2018-12-08 17:01:08', '2018-12-08 17:01:33', '2018-12-08 17:01:52', '2018-12-08 17:02:11', '2018-12-08 17:02:30', '2018-12-08 17:03:06', '2018-12-08 17:03:29', '2018-12-08 17:03:54', '2018-12-08 17:04:11', '2018-12-08 17:04:41', '2018-12-08 17:04:57', '2018-12-08 17:05:15', '2018-12-08 17:05:36', '2018-12-08 17:06:03', '2018-12-08 17:06:41', '2018-12-08 17:07:14', '2018-12-08 17:07:31', '2018-12-08 17:07:52', '2018-12-08 17:08:25', '2018-12-08 17:09:52', '2018-12-08 17:10:40', '2018-12-08 17:11:20', '2018-12-08 17:12:13', '2018-12-08 17:13:22', '2018-12-08 17:13:57', '2018-12-08 17:14:17', '2018-12-08 17:14:45', '2018-12-08 17:15:19', '2018-12-08 17:15:39', '2018-12-08 17:16:09', '2018-12-08 17:16:30', '2018-12-08 17:16:51', '2018-12-08 17:17:18', '2018-12-08 17:17:40', '2018-12-08 17:18:11', '2018-12-08 17:18:33', '2018-12-08 17:18:53', '2018-12-08 17:19:11', '2018-12-08 17:19:49', '2018-12-08 17:20:18', '2018-12-08 17:21:03', '2018-12-08 17:21:44', '2018-12-08 17:22:13', '2018-12-08 17:22:33', '2018-12-08 17:23:00', '2018-12-08 17:23:21', '2018-12-08 17:23:46', '2018-12-08 17:24:10', '2018-12-08 17:24:37', '2018-12-08 17:24:58', '2018-12-08 17:25:19', '2018-12-08 17:25:57', '2018-12-08 17:26:19', '2018-12-08 17:26:37', '2018-12-08 17:26:58', '2018-12-08 17:27:19', '2018-12-08 17:27:39', '2018-12-08 17:28:04', '2018-12-08 17:28:30', '2018-12-08 17:28:53', '2018-12-08 17:29:18']]
统计分类:
Timelapse: 1. Photos: 281. Period: 2018-12-08 11:06:41 - 2018-12-08 12:09:59. Duration: 1:03:18
Timelapse: 2. Photos: 43. Period: 2018-12-08 12:10:12 - 2018-12-08 13:18:06. Duration: 1:07:54
Timelapse: 3. Photos: 76. Period: 2018-12-08 13:19:03 - 2018-12-08 13:52:34. Duration: 0:33:31
Timelapse: 4. Photos: 69. Period: 2018-12-08 13:52:50 - 2018-12-08 14:27:33. Duration: 0:34:43
Timelapse: 5. Photos: 20. Period: 2018-12-08 14:27:51 - 2018-12-08 15:35:39. Duration: 1:07:48
Timelapse: 6. Photos: 14. Period: 2018-12-08 15:35:40 - 2018-12-08 15:46:01. Duration: 0:10:21
Timelapse: 7. Photos: 152. Period: 2018-12-08 15:46:02 - 2018-12-08 16:09:03. Duration: 0:23:01
Timelapse: 8. Photos: 143. Period: 2018-12-08 16:09:11 - 2018-12-08 17:29:18. Duration: 1:20:07
关于python - 通过时间戳算法将照片分组到游戏中时光倒流,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54688708/
您好,我是使用 xampp 的 PHPmyadmin 新手,没有 MYSQL 背景。当我喜欢研究它是如何工作的时,我的脑海中浮现出一个想法,它让我一周都无法休眠,因为我似乎无法弄清楚如何使用 MIN(
Go docs say (强调): Programs using times should typically store and pass them as values, not pointers.
我有一组用户在 8 月 1 日有一个条目。我想找到在 8 月 1 日有条目但在 8 月 2 日没有做任何事情的用户。 现在是 10 月,所以事件已经过去很久了。 我有限的知识说: SELECT * F
我有以下代码,主要编码和取消编码时间结构。这是代码 package main import ( "fmt" "time" "encoding/json" ) type chec
您能详细解释一下“用户 CPU 时间”和“系统 CPU 时间”吗?我读了很多,但我不太理解。 最佳答案 区别在于时间花在用户空间还是内核空间。用户 CPU 时间是处理器运行程序代码(或库中的代码)所花
应用程序不计算东西,但做输入/输出、读取文件、使用网络。我希望探查器显示它。 我希望像 callgrind 中的东西一样,在每个问题中调用 clock_gettime。 或者像 oprofile 那样
目前我的 web 应用程序接收 websocket 数据来触发操作。 这会在页面重新加载时中断,因此我需要一个能够触发特定事件的客户端解决方案。 这个想法可行吗? 假设你有 TimeX = curre
很难说出这里问的是什么。这个问题是含糊的、模糊的、不完整的、过于宽泛的或修辞性的,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开它,visit the help center 。 已关
我有一个 Instant (org.joda.time.Instant) 的实例,我在一些 api 响应中得到它。我有另一个来自 (java.time.Instant) 的实例,这是我从其他调用中获得
如何集成功能 f(y) w.r.t 时间;即 'y'是一个包含 3000 个值和值 time(t) 的数组从 1 到 3000 不等。所以,在整合 f(y) 后我需要 3000 个值. 积分将是不确定
可以通过 CLI 创建命名空间,但是如何使用 Java SDK 来创建命名空间? 最佳答案 它以编程方式通过 gRPC API 完成由服务公开。 在 Java 中,生成的 gRPC 客户端可以通过 W
我有一个函数,它接受 2 组日期(开始日期和结束日期),这些日期将用于我的匹配引擎 我必须知道start_date1和end_date1是否在start_date2和end_date2内 快进:当我在
我想从 Python 脚本运行“time”unix 命令,以计算非 Python 应用程序的执行时间。我会使用 os.system 方法。有什么方法可以在Python中保存这个输出吗?我的目标是多次运
我正在寻找一种“漂亮的数字”算法来确定日期/时间值轴上的标签。我熟悉 Paul Heckbert's Nice Numbers algorithm . 我有一个在 X 轴上显示时间/日期的图,用户可以
在 PowerShell 中,您可以格式化日期以返回当前小时,如下所示: Get-Date -UFormat %H 您可以像这样在 UTC 中获取日期字符串: $dateNow = Get-Date
我正在尝试使用 Javascript 向父子窗口添加一些页面加载检查功能。 我的目标是“从父窗口”检测,每次子窗口完全加载然后执行一些代码。 我在父窗口中使用以下代码示例: childPage=wi
我正在尝试设置此 FFmpeg 命令的 drawtext 何时开始,我尝试使用 start_number 但看起来它不会成功。 ffmpeg -i 1.mp4 -acodec aac -keyint_
我收到了一个 Excel (2010) 电子表格,它基本上是一个文本转储。 单元格 - J8 具有以下信息 2014 年 2 月 4 日星期二 00:08:06 EST 单元格 - L8 具有以下信息
我收到的原始数据包含一列具有以下日期和时间戳格式的数据: 2014 年 3 月 31 日凌晨 3:38 单元格的格式并不一致,因为有些单元格有单个空格,而另一些单元格中有两个或三个字符之间的空格。所以
我想知道是否有办法在我的 Grails 应用程序顶部显示版本和构建日期。 编辑:我应该说我正在寻找构建应用程序的日期/时间。 最佳答案 在您的主模板中,或任何地方。 Server version:
我是一名优秀的程序员,十分优秀!