summaryrefslogtreecommitdiff
path: root/templates/template-view_photo.tmpl
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-09 21:20:13 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-09 21:20:13 +0200
commit69d1615d7dc7500039dbde951fa6cbb920eb99b8 (patch)
tree93942d2a2dfe7a3996c3b3d217de0955000daa1d /templates/template-view_photo.tmpl
parenta1e7a92e93e4760863105ae9f61ced93510e8cb2 (diff)
downloadcataract-69d1615d7dc7500039dbde951fa6cbb920eb99b8.tar.xz
Add support for squared thumbnails
Disabled by default, only very simple center crop implemented. The SQUARED_SIMPLE_SHAVE_AMOUNT constant may be slightly adjusted according to future experience. It's a really dumb algorithm which may not be suitable for every picture. Looking for a fast and smart algorithm to determine image weight center and radius, i.e. focus on object of interest. The OpenCV's face recognition features are worth to test and consider, though I fear the speed issues.
Diffstat (limited to 'templates/template-view_photo.tmpl')
-rw-r--r--templates/template-view_photo.tmpl1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/template-view_photo.tmpl b/templates/template-view_photo.tmpl
index 7fe58e2..7557846 100644
--- a/templates/template-view_photo.tmpl
+++ b/templates/template-view_photo.tmpl
@@ -74,4 +74,3 @@
</body>
</html>
-