This file was generated automatically based on this two sources:
- /etc/nginx/mime.types
- http://www.garykessler.net/library/file_sigs.html
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
| import cv2, numpy as np, random, math | |
| # Find contour edges | |
| # Find the edge that is torn | |
| # use the hough line transform | |
| # create a mask image where the lines and white on a black background | |
| # check if the point is in a white or black region | |
| # Rotate the torn edges | |
| # Measure how much they overlap | |
| # The rotation with the maximum overlap will be how they should align |
This file was generated automatically based on this two sources:
This is a JSON object by following structure:
[string ext] : {
signs: [sign]