http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11532
Revision: 11532 Author: drtrigon Date: 2013-05-13 19:35:40 +0000 (Mon, 13 May 2013) Log Message: ----------- bug fix; ImportError: No module named _bob (minor since for testing/experimental part only)
Modified Paths: -------------- trunk/pywikipedia/catimages.py
Modified: trunk/pywikipedia/catimages.py =================================================================== --- trunk/pywikipedia/catimages.py 2013-05-13 19:25:20 UTC (rev 11531) +++ trunk/pywikipedia/catimages.py 2013-05-13 19:35:40 UTC (rev 11532) @@ -425,6 +425,7 @@ smallImg = np.empty( (cv.Round(video[0].shape[1]/scale), cv.Round(video[0].shape[0]/scale)), dtype=np.uint8 ) video = [ cv2.resize( img, smallImg.shape, interpolation=cv2.INTER_LINEAR ) for img in video ]
+ sys.path.append(os.path.join(scriptdir, 'dtbext')) import _bob as bob import xbob_flandmark as xbob