Skip to main content

Basic implementation of a Siamese network structure for detecting copyright infringement

Project description

A neural network is implemented here to detect copyrigt infringement violations in newly uploaded video files. The model takes the general form of a Siamese network, with two images filtered through the same convolutional neural network before a classification is made concerning the probability that the two images are a match. In order to train the model, frames were extracted from a set of high-resolution video files of movies and a corresponding set of lower-quality recordings of those movies. Randomly selected frames from the high-quality files were paired with the corresponding frame from the recorded version (a match) as well as a frame from another movie (not a match); these are referred to as triplets. Each of the images is run through the initial set of convolutional layers, which take the structure and weightings from the pre-trained VGG16 neural network, and a vector of length 4096 is returned. This serves as the input to a new set of top layers meant to classify the paired images as a match or not. In addition to the feature extraction and classification model, a means of aligning the recorded clip with the full movie is implemented to optimize the neural net performance. The top level function outputs a single probability of infringement that emerges as the average of the predicted match probabilities along the length of the potentially infringing clip.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cimese_net-0.37.tar.gz (55.3 MB view details)

Uploaded Source

Built Distribution

cimese_net-0.37-py2.7.egg (56.5 MB view details)

Uploaded Source

File details

Details for the file cimese_net-0.37.tar.gz.

File metadata

  • Download URL: cimese_net-0.37.tar.gz
  • Upload date:
  • Size: 55.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cimese_net-0.37.tar.gz
Algorithm Hash digest
SHA256 11542ff3c1662a606530e19207c259afdb20d522a1d63da1ed5bf67e88f9e199
MD5 38005b6c6a3a26115c6080063b84c367
BLAKE2b-256 b42e8919c69d8eb11e399c52e487b57afabef172f34ce3d2191f4cc5f0852b01

See more details on using hashes here.

File details

Details for the file cimese_net-0.37-py2.7.egg.

File metadata

File hashes

Hashes for cimese_net-0.37-py2.7.egg
Algorithm Hash digest
SHA256 2f188a8a07339ccf574bfaf4ed4324106c7b6800d21f405893813c721966589a
MD5 d42412d4fdb738c1226f604614532729
BLAKE2b-256 f3254d8d2cbcf9cddb489abbbfa8199448bd035d0509425663bbc848d1ddbcba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page