This file contains 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
from selenium import webdriver | |
import os | |
import sched, time | |
driver_path = "/Users/tahasonmez/Downloads/chromedriver" | |
driver = webdriver.Chrome(executable_path=driver_path) | |
driver.get('https://bau.edu.tr/idari-birimler/daire-baskanliklari/ogrenci-isleri-daire-baskanligi') | |
def announce(): |
This file contains 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
// example with CIColorPosterize | |
let context = CIContext(options: nil) | |
var ciImage = CIImage(cgImage: image.cgImage!) | |
ciImage = ciImage.applyingFilter("CIColorPosterize", parameters: ["inputImage" : ciImage, "inputLevels" : 2]) | |
let cgImage = context.createCGImage(ciImage, from: ciImage.extent)! | |
let filteredUiImage = UIImage(cgImage: cgImage, scale: image.scale, orientation: .up) |