Skip to content
项目

关于

可将任何图像变成奥巴马的革命性新技术

设计与媒体

这些数字如何统计

实测星标增长

24小时
+10
7天
+134
15天
+138
1个月
+138

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

(try it here)

obamify

revolutionary new technology that turns any image into obama

example

How to use

Use the ui at the top of the window to control the animation, choose between saved transformations, and generate new ones. You can change the source image and target image, and choose how they are cropped to a square (tip: if both the images are faces, try making the eyes overlap). You can also change these advanced settings:

Setting Description
resolution How many cells the images will be divided into. Higher resolution will capture more high frequency details.
proximity importance How much the algorithm changes the original image to make it look like the target image. Increase this if you want a more subtle transformation.
algorithm The algorithm used to calculate the assignment of each pixel. Optimal will find the mathematically optimal solution, but is extremely slow for high resolutions.

Installations

Install the latest version in releases. Unzip and run the .exe file inside! Note for macOS users: Run 'xattr -C <path/to/app.app>' in your terminal to remove the damaged app warning.

Building from source

  1. Install Rust
  2. Run cargo run --release in the project folder

Running the web version locally

  1. Install Rust
  2. Install the required target with rustup target add wasm32-unknown-unknown
  3. Install Trunk with cargo install --locked trunk
  4. Run trunk serve --release --open

Contributing

Please open an issue or a pull request if you have any suggestions or find any bugs :)

How it works

magic

探索相关项目

加载中…