{"id":19163641,"url":"https://github.com/auduno/mosse","last_synced_at":"2025-06-13T13:37:37.570Z","repository":{"id":6041476,"uuid":"7265966","full_name":"auduno/mosse","owner":"auduno","description":"Fast javascript correlation filters for tracking objects in video","archived":false,"fork":false,"pushed_at":"2017-04-29T11:21:20.000Z","size":16793,"stargazers_count":26,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T23:52:04.697Z","etag":null,"topics":["computer-vision"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/auduno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-20T23:17:09.000Z","updated_at":"2025-03-04T03:06:25.000Z","dependencies_parsed_at":"2022-09-20T17:49:04.958Z","dependency_job_id":null,"html_url":"https://github.com/auduno/mosse","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/auduno/mosse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auduno%2Fmosse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auduno%2Fmosse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auduno%2Fmosse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auduno%2Fmosse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auduno","download_url":"https://codeload.github.com/auduno/mosse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auduno%2Fmosse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259654175,"owners_count":22890971,"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":["computer-vision"],"created_at":"2024-11-09T09:16:12.018Z","updated_at":"2025-06-13T13:37:37.545Z","avatar_url":"https://github.com/auduno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"mosse\n=====\n\n**mosse.js** is a javascript implementation of MOSSE correlation filters as described in [*Visual Object Tracking using Adaptive Correlation Filters*](http://www.cs.colostate.edu/~draper/papers/bolme_cvpr10.pdf) by David Bolme. The library provides three prebuilt MOSSE filters for tracking of left and right eye and face, as well as tools for building your own filters. These three filters were trained on faces from the MUCT image database.\n\n[Video example (tracking of eyes)](https://auduno.github.io/mosse/examples/filtertest_video.html) - [Webcam example (tracking of eyes)](https://auduno.github.io/mosse/examples/filtertest_gum.html) - [Webcam example (tracking of face)](https://auduno.github.io/mosse/examples/filtertest_gum_face.html)\n\n### Usage ###\n\nTo use with precreated filters, include `build/mosse.js` in your code:\n\n```html\n\u003cscript src=\"js/mosse.js\"\u003e\u003c/script\u003e\n```\n\nthen run the mossefilter on a canvas element:\n\n```JavaScript\nvar mfilter = new mosse.mosseFilter();\nmfilter.load(mosse.filters.face_filter);\nvar mode = mfilter.track(element, left, top, width, height);\n// returns mode of correlation filter output inside window, relative to midpoint of window\n// where `element` is a canvas element, and `left`, `top`, `width` and `height` \n// define the window on the canvas element\n```\n\nYou can also update filter during tracking, by setting final parameter to true:\n\n```JavaScript\nmfilter.track(element, left, top, width, height, true);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauduno%2Fmosse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauduno%2Fmosse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauduno%2Fmosse/lists"}