Skip to content
a banner generate which based on the feature calculate
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aliBanner
code
1.png
README.md
background.jpg
banner.png
db.sqlite3
final.png
gabage.png
image.png
image.txt
initialize.png
manage.py
msyh.ttf
requirements.txt
subtitle.png
templateM.json
title.png

README.md

Banner generate

This project coded by python django and pil. It can generate a banner when you give the material , background, title , detail and so on. And this work is based on the paper "Learning layouts for single-pagegraphic designs"

Banner generate have two parts , the first is generating the banner which based on the template and the second is optiming , which based on the paper' method -- feature calculating and Simulated annealing algorithm. Also I implement the algorithm NIO(Non-linear Inverse Optimization), however , this algorithm have no obviously effect , so I just implement it in alibanner/alibanner/views.py and never use it.

demo demo

Install

  1. pip install -r requirements.txt
  2. If you don't care the security or you just run it for your curiosity , you can run python manage.py runserver 0.0.0.0:8000 . Or you should deploy it as the offical document
You can’t perform that action at this time.