{"id":20400620,"url":"https://github.com/efecanxrd/signature-recognition","last_synced_at":"2026-05-07T23:03:14.592Z","repository":{"id":187301060,"uuid":"676666623","full_name":"efecanxrd/Signature-Recognition","owner":"efecanxrd","description":"Signature recognition using template matching and correlation","archived":false,"fork":false,"pushed_at":"2023-08-11T11:05:16.000Z","size":151,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T11:50:00.098Z","etag":null,"topics":["opencv","signature","signature-detection","signature-recognition","signature-validation","signature-verification","signatures","template-matching"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efecanxrd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-09T18:14:29.000Z","updated_at":"2024-05-31T09:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"2dc0662f-8cb8-49bd-8e23-74f0ee61ce3c","html_url":"https://github.com/efecanxrd/Signature-Recognition","commit_stats":null,"previous_names":["efecanxrd/signature-recognition"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efecanxrd%2FSignature-Recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efecanxrd%2FSignature-Recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efecanxrd%2FSignature-Recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efecanxrd%2FSignature-Recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efecanxrd","download_url":"https://codeload.github.com/efecanxrd/Signature-Recognition/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241950081,"owners_count":20047587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opencv","signature","signature-detection","signature-recognition","signature-validation","signature-verification","signatures","template-matching"],"created_at":"2024-11-15T04:41:48.303Z","updated_at":"2026-05-07T23:03:09.543Z","avatar_url":"https://github.com/efecanxrd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003e Signature Recognition \u003c/h2\u003e\n\u003ch3\u003e Signature recognition using template matching and correlation \u003c/h3\u003e\n\u003cimg src=\"https://i.imgur.com/qHAcfhX.gif\"\u003e\n\u003ch3\u003e Setup The Project \u003c/h3\u003e\n \u003ch4\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/efecanxrd/efecanxrd/main/images/xe.gif\" width=\"30\"\u003e Download Dataset \u003ch4\u003e\n\u003ch5\u003e https://www.kaggle.com/datasets/robinreni/signature-verification-dataset \u003c/h5\u003e\n\u003ch4\u003e\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/efecanxrd/efecanxrd/main/images/xe.gif\" width=\"30\"\u003e Install the libraries with pip \u003c/h4\u003e\n \u003ch5\u003epip install tkinter opencv-python pandas numpy Pillow \u003c/h5\u003e\n\u003ch2\u003e How this is working? \u003c/h2\u003e\n  \u003ch4\u003eUses the template matching technique in OpenCV to match the signature in an image with the signatures from the dataset.\nFirst loads the image and converts it to grayscale using the cv2.imread and cv2.cvtColor functions. Next, we set a correlation value for template matching.\n\nAs searches for the signature, it iterates over the folders in the dataset and loads each signature image. The code implements template matching using the cv2.matchTemplate function and checks if a match is found using the correlation value. \u003cbr\u003e\nThis function shifts the template image over the source image and calculates a similarity measure between the template and each region of the source image. The similarity measure used in this case is cv2.TM_CCOEFF_NORMED.\n\nThe result of template matching is a 2D array of similarity values. The code uses the np.where function to find all locations in this sequence where the similarity value is greater than or equal to the correlation value.\n\u003c/h4\u003e\n\n\u003cimg src=\"https://i.hizliresim.com/mp064yd.jpeg\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefecanxrd%2Fsignature-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefecanxrd%2Fsignature-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefecanxrd%2Fsignature-recognition/lists"}