This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2.cv as cv | |
import tesseract | |
gray = cv.LoadImage('captcha.jpeg', cv.CV_LOAD_IMAGE_GRAYSCALE) | |
cv.Threshold(gray, gray, 231, 255, cv.CV_THRESH_BINARY) | |
api = tesseract.TessBaseAPI() | |
api.Init(".","eng",tesseract.OEM_DEFAULT) | |
api.SetVariable("tessedit_char_whitelist", "0123456789abcdefghijklmnopqrstuvwxyz") | |
api.SetPageSegMode(tesseract.PSM_SINGLE_WORD) | |
tesseract.SetCvImage(gray,api) | |
print api.GetUTF8Text() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:0,095.20 | Athens Deejay FM, Athens (Mainstream Pop, Top Hits) - 95.2 Athens DeeJay | |
http://94.23.0.114:41972 | |
#EXTINF:0,089.20 | Music, Athens (Mainstream Pop, Top Hits) - Music 89.2 | |
https://stream.radiojar.com/k0hua7u1yk5tv | |
#EXTINF:0,101.60 | Radio Paradise, Poros (Mainstream Pop, Top Hits) - Netcast | |
http://213.239.206.179:8850 | |
#EXTINF:0,088.90 | Hit, Athens (Pop, Top Hits) - HIT 889 radio | |
https://stream.radiojar.com/wgv51425e3quv | |
#EXTINF:0,106.20 | Mad, Athens (Mainstream House, Pop) - MAD RADIO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
prestashop-lib — © 2015 Chloé Tigre Rouge <chloe@tigres-rouges.net> | |
This is licensed under the same terms as Prestashop. | |
PrestaShop library to create products, categories and all sorts of things | |
programmatically by passing arrays around | |
It needs a bootstrapped PrestaShop framework (you can get one by defining | |
_PS_ROOT_DIR_ and by a | |
require_once(_PS_ROOT_DIR_.'config/config.inc.php'); |