http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11531
Revision: 11531 Author: drtrigon Date: 2013-05-13 19:25:20 +0000 (Mon, 13 May 2013) Log Message: ----------- improvement; removed all productive 'dtbext' references, testing keeped only
Modified Paths: -------------- trunk/pywikipedia/catimages.py
Modified: trunk/pywikipedia/catimages.py =================================================================== --- trunk/pywikipedia/catimages.py 2013-05-13 17:52:17 UTC (rev 11530) +++ trunk/pywikipedia/catimages.py 2013-05-13 19:25:20 UTC (rev 11531) @@ -101,16 +101,11 @@ externals.check_setup('pydmtx') # <<< !!! test OS package management here !!! externals.check_setup('py_w3c') # externals.check_setup('_zbar') # - -# DrTrigonBot framework packages -target = os.path.join(scriptdir, 'dtbext') -sys.path.append(target) import pycolorname #import _mlpy as mlpy from colormath.color_objects import RGBColor from py_w3c.validators.html.validator import HTMLValidator, ValidationFault #from pdfminer import pdfparser, pdfinterp, pdfdevice, converter, cmapdb, layout -#sys.path.remove(target)
locale.setlocale(locale.LC_ALL, '')
@@ -775,6 +770,7 @@ # BoWclassify /data/toolserver/pywikipedia/dtbext/opencv/VOC2007 /data/toolserver/pywikipedia/dtbext/opencv/data FAST SURF BruteForce | tee run.log # BoWclassify /data/toolserver/pywikipedia/dtbext/opencv/VOC2007 /data/toolserver/pywikipedia/dtbext/opencv/data HARRIS SIFT BruteForce | tee run.log # http://experienceopencv.blogspot.com/2011/02/object-recognition-bag-of-keypo... + sys.path.append(os.path.join(scriptdir, 'dtbext')) import opencv
if os.path.exists(bowDescPath):