{"id":13731726,"url":"https://github.com/jamriska/styleblit","last_synced_at":"2025-07-13T00:33:42.147Z","repository":{"id":90341762,"uuid":"185348104","full_name":"jamriska/styleblit","owner":"jamriska","description":"StyleBlit is an efficient example-based style transfer algorithm that can deliver high-quality stylized renderings in real-time.","archived":false,"fork":false,"pushed_at":"2019-06-11T00:41:03.000Z","size":19528,"stargazers_count":172,"open_issues_count":4,"forks_count":28,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-07T03:01:37.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dcgi.fel.cvut.cz/home/sykorad/styleblit.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamriska.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-07T07:39:35.000Z","updated_at":"2025-02-05T02:50:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b755150-14c0-4e36-a76b-d5547886bd6f","html_url":"https://github.com/jamriska/styleblit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamriska/styleblit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamriska%2Fstyleblit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamriska%2Fstyleblit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamriska%2Fstyleblit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamriska%2Fstyleblit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamriska","download_url":"https://codeload.github.com/jamriska/styleblit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamriska%2Fstyleblit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265075798,"owners_count":23707510,"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":[],"created_at":"2024-08-03T02:01:37.102Z","updated_at":"2025-07-13T00:33:40.689Z","avatar_url":"https://github.com/jamriska.png","language":"C","readme":"# StyleBlit: Fast Example-Based Stylization with Local Guidance\r\n_[D.Sýkora](https://dcgi.fel.cvut.cz/home/sykorad/), [O. Jamriška](https://dcgi.fel.cvut.cz/people/jamriond), [O. Texler](https://ondrejtexler.github.io/), [J. Fišer](https://research.adobe.com/person/jakub-fiser/), [M. Lukáč](https://research.adobe.com/person/michal-lukac/), [J. Lu](https://research.adobe.com/person/jingwan-lu/), and [E. Shechtman](https://research.adobe.com/person/eli-shechtman/)_\r\n\r\n[[`WebPage`](https://dcgi.fel.cvut.cz/home/sykorad/styleblit.html)], [[`Paper`](https://dcgi.fel.cvut.cz/home/sykorad/Sykora19-EG.pdf)], [[`Slides`](https://dcgi.fel.cvut.cz/home/sykorad/Sykora19-EG.pptx)], [[`BiBTeX`](#CitingStyleBlit)], [[`Unity3D Asset`](https://dcgi.fel.cvut.cz/home/sykorad/StyleBlit/unity_plugin.zip)]\r\n\r\n## Short Abstract\r\nStyleBlit is an efficient example-based style transfer algorithm that can deliver high-quality stylized renderings in real-time on a single-core CPU. Our technique is especially suitable for style transfer applications that use local guidance - descriptive guiding channels containing large spatial variations. Local guidance encourages transfer of content from the source exemplar to the target image in a semantically meaningful way. Typical local guidance includes, e.g., normal values, texture coordinates or a displacement field. Contrary to previous style transfer techniques, our approach does not involve any computationally expensive optimization. \r\n\r\n## StyleBlit live-web-demo\r\n\r\n\u003c!-- [![Live-web-demo](styleblitlive.gif)](https://dcgi.fel.cvut.cz/home/sykorad/StyleBlit/demo.html) --\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://dcgi.fel.cvut.cz/home/sykorad/StyleBlit/demo.html\"\u003e\u003cimg src=\"styleblitlive.gif\" width=\"600px\" /\u003e \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n## Build / Installation\r\nLike the demo above? ... try it by yourself!\r\n\r\nThis implementation is written in C++ using OpenGL3.2. Build scripts for web-app, MacOS desktop app, and Windows desktop app are provided.\r\n\r\n### Build StyleBlit as Web application\r\n* We use Emscripten SDK to build the web app - to setup the Emscripten SDK, follow the instructions here: https://emscripten.org/docs/getting_started/downloads.html\r\n* Once Emscripten SDK is configured (i.e., em++ command is found on your PATH and works), run `build-emscripten.bat`\r\n* Run `styleblit.html` in your browser\r\n* Possible issue: Google Chrome for security reasons might refuse to run html with emscripten code without http (file:///C:/.../styleblit.html), use different web browser or run it using HTTP server. For example `python -m http.server 8000` (http://\u003cspan\u003e\u003c/span\u003elocalhost:8000/styleblit.html)    \r\n\r\n\r\n### Build StyleBlit for Windows\r\n* Make sure you have Visual Studio installed (cl.exe compiler)\r\n* Run `build-windows.bat`\r\n* Run `styleblit.exe`\r\n\r\n\r\n### Build StyleBlit for MacOS\r\n* Make sure you have clang compiler\r\n* Run `build-macos.sh`\r\n* Run `styleblitapp`\r\n\r\n\r\n## \u003ca name=\"CitingStyleBlit\"\u003e\u003c/a\u003eCiting StyleBlit\r\nIf you find StyBlit usefull for your research or work, please use the following BibTeX entry.\r\n\r\n```\r\n@Article{Sykora19-EG,\r\n  author =  \"Daniel S\\'{y}kora and Ond\\v{r}ej Jamri\\v{s}ka and Ond\\v{r}ej Texler \r\n             and Jakub Fi\\v{s}er and Michal Luk\\'{a}\\v{c} and Jingwan Lu and Eli Shechtman\",\r\n  title =   \"{StyleBlit}: Fast Example-Based Stylization with Local Guidance\",\r\n  journal = \"Computer Graphics Forum\",\r\n  volume =  38,\r\n  number =  2,\r\n  pages =   \"83--91\",\r\n  year =    2019,\r\n}\r\n```\r\n","funding_links":[],"categories":["C","Graphics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamriska%2Fstyleblit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamriska%2Fstyleblit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamriska%2Fstyleblit/lists"}