You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
User:AbdealiJK/file-metadata: Difference between revisions
imported>AbdealiJK (Create page with instructions to install) |
imported>DrTrigon No edit summary |
||
Line 1: | Line 1: | ||
This page holds information about the file-metadata application which is my GSoC 2016 project in Wikimedia/pywikibot. The crux of the project is to categorize images on wikimedia using a smart bot, mainly with exif data and computer vision techniques. It is a revamp of the older catimages script which was being run by [[ | This page holds information about the file-metadata application which is my GSoC 2016 project in Wikimedia/pywikibot. The crux of the project is to categorize images on wikimedia using a smart bot, mainly with exif data and computer vision techniques. It is a revamp of the older catimages script which was being run by [[DrTrigonBot]]. | ||
We've run some of the analysis on a large number of files on wikimedia, and the analysis of those results can be found at [ | We've run some of the analysis on a large number of files on wikimedia, and the analysis of those results can be found at [https://commons.wikimedia.org/w/index.php?title=Special:PrefixIndex&prefix=AbdealiJKTravis%2Flogs&namespace=2 c:User:AbdealiJKTravis/logs/...]. | ||
== Installation on ToolsLab == | == Installation on ToolsLab == | ||
To install the application on Tools Lab, | To install the application on Tools Lab, confer the instructions given in [[c:User:AbdealiJK/file-metadata]]. We first create a python virtual environment so that <code>pip</code> can be used to install packages. Let us make a virtualenv in the <code>venv</code> folder: | ||
<pre> | <pre> | ||
$ virtualenv venv | $ virtualenv venv | ||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
Now you can use all the analysis features provided by file-metadata. For further information about using file-metadata visit [[ | Now you can use all the analysis features provided by file-metadata. For further information about using file-metadata visit [[c:User:AbdealiJK/file-metadata#Usage]]. |
Latest revision as of 08:45, 26 June 2016
This page holds information about the file-metadata application which is my GSoC 2016 project in Wikimedia/pywikibot. The crux of the project is to categorize images on wikimedia using a smart bot, mainly with exif data and computer vision techniques. It is a revamp of the older catimages script which was being run by DrTrigonBot.
We've run some of the analysis on a large number of files on wikimedia, and the analysis of those results can be found at c:User:AbdealiJKTravis/logs/....
Installation on ToolsLab
To install the application on Tools Lab, confer the instructions given in c:User:AbdealiJK/file-metadata. We first create a python virtual environment so that pip
can be used to install packages. Let us make a virtualenv in the venv
folder:
$ virtualenv venv
Once the virtualenv has been enabled, we activate it using:
$ source venv/bin/activate
If a virtual environment is active, the name of the virtual env is added to the beginning of the command line prompt (Example: (venv)abdealijk@tools-bastion-03:~$
). Once the virtual environment is active, we update pip (To be able to use python wheels for a faster installation) and install file-metadata using:
(venv)$ pip install -U pip (venv)$ pip install file-metadata
Now you can use all the analysis features provided by file-metadata. For further information about using file-metadata visit c:User:AbdealiJK/file-metadata#Usage.