Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.56 KB

README.md

File metadata and controls

66 lines (42 loc) · 1.56 KB

Image Compare (frontend)

This is a citizen science project which aims to understand what is considered by people as a "good" image when it comes to images that have been artificially recovered from some type of image degradation.

Currently we are testing images that have been denoised using a modified first-order primal-dual algorithm.

Technical info

This frontend is made with the framework Yew and uses Trunk to bundle the Rust code to WebAssembly.TailwindCSS was used for styling, svg icons in src/assets/ were obtained from heroicons.com.

Tests:

Requires wasm-pack.

wasm-pack test --firefox --headless

wasm-pack test --chrome --headless

How to run:

Requires node, rust and trunk.

Install the wasm target if you don't have it already:

rustup target add wasm32-unknown-unknown

Then:

npm install

npm run tailwind-watch

trunk serve

You should now be able to see something like:

INFO 📡 server listening at http://127.0.0.1:8080

Building for production:

npm run tailwind-minify

trunk build --release

Artifacts will be in the dist folder.

Copyright

See [LICENSE]

src/static/robots.txt is based on the project: https://github.com/ai-robots-txt/ai.robots.txt