主权项 |
1. A computer-implemented method for uploading video data, the method comprising:
receiving, from an image capture device, sampled video data associated with first video data, the sampled video data having a first frame rate that is different than a second frame rate of the first video data and comprising a first portion associated with a first time and a second portion associated with a second time captured after the first time; determining a plurality of color histograms, including determining a first color histogram that corresponds to a first video frame in the sampled video data; determining a plurality of similarity scores, including:
determining a first similarity score, which corresponds to a first similarity between a first video frame and a second video frame in the sampled video data, by comparing the first color histogram to a second color histogram corresponding to the second video frame; anddetermining a second similarity score, which corresponds to a second similarity between the first video frame and a third video frame in the sampled video data, by comparing the first color histogram to a third color histogram corresponding to the third video frame; determining that a first group of similarity scores of the plurality of similarity scores are within a first range; determining a first series of contiguous video frames corresponding to the first group of similarity scores; determining that a second group of similarity scores of the plurality of similarity scores are within a second range; determining a second series of contiguous video frames corresponding to the second group of similarity scores, the second series beginning with a fourth video frame in the sampled video data; determining a plurality of transition points in the sampled video data, including determining a first transition point that corresponds to an intersection between the first series and the second series by determining that a third similarity score, which corresponds to a third similarity between the first video frame and the fourth video frame, is below a threshold; determining a first number of the plurality of transition points corresponding to the first portion; determining a second number of the plurality of transition points corresponding to the second portion; determining that the second number of transition points exceeds the first number of transition points; and sending, to the image capture device, a request to send the second portion prior to sending the first portion. |