Kas 112016
 
11.590 views

Python ile Harflerden Resim Kodlamak

Python ile çok farklı alanlarda çalışmak mümkün. Örneğin herhangi bir görüntüyü alıp, onu sadece ASCII tablosunda yer alan bazı işaretleri kullanacak şekilde kodlamak mümkün. İngilizcede bu tür çalışmalar “ASCII Art” terimiyle ifade ediliyor. Dilimizde somut bir karşılığı yok.

Aşağıdaki görüntü, günümüzün popüler dizilerinden birindeki Defne karakterini canlandıran sanatçı Elçin Sangu‘ya ait.

Resim Kodlamak

Bu kodlamayı gerçekleştiren küçük pyhon betiğini https://gist.github.com/cdiener/10491632 adresinden indirebilirsiniz.

Bu betik aslında doğrudan komut modunda çalıştırılmak üzere hazırlanmış. Ben, onun yerine belli bir resmi kullanacak şekilde küçük bir değişiklik yaptım.

chars dizisinin içeriği ile oynayarak tonlamalarda farklı sonuçlar elde etmek mümkün. Benzer şekilde SC, GCF ve WCF parametreleriyle de oynayabilirsiniz.

Kodlar şöyle:

Kullandığım orijinal resimdeki renkler ve gölge kontrastları, yapılan dönüşüm için çok uygun değildi. Siz, kontrastı daha güçlü görseller kullanarak daha çarpıcı sonuçlar elde edebilirsiniz. Parametrelerle de oynamak gerekebilir.

Yapay zeka çalışmalarıyla günümüzde olağanüstü görseller elde edilebiliyor artık. Biz de şimdilik “çöp adam çizer gibi” bir ucundan başlayalım dedik. İleride daha kapsamlı çalışmalar da yapabiliriz fırsat bulursak.

Ne dersiniz?

Deneme sonuçlarınızı lütfen benimle de paylaşın!

Yukarıdaki kodları Ubuntu 16.04 üzerinde, Python 3.5.2 ile çalıştırdım.
Sisteminizde hazır değilse PIL ve numpy kütüphanelerini öncelikle kurmanız gerekeceğini unutmayın.

Ahmet Aksoy

http://gurmezin.com/python-ile-harflerden-resim-kodlamak

Ek açıklama: Yukarıda kodlarını paylaştığım yazarın satırlarına gist.github.com üzerinden ulaşmıştım. Buradaki kodların arasında ayrıntılı lisans bilgileri mevcut değildi. O yüzden sadece kodların orijinal linkini vermekle yetinmiştim.
Ancak yazarın github sayfasında aynı kodlara ilişkin lisans bilgileri de mevcut. Etik olarak bu satırları da sayfaya eklemenin daha doğru olacağını düşünüyorum.
Sonuç itibariyle etkin kod satırlarımızın sayısında bir değişiklik olmayacak zaten.

Ara 292015
 
3.588 views

Talking walls from Kadikoy

The following murals are not new paintings. But I couldn’t find an appropriate time to fix them into my timeline.

Yes, at the end, even the atmospheric conditions were not ideal to photograph, I got a few shots from two murals today. Both of the murals are from the crossing of Talimhane and Reşit Efendi streets.

Now, I want to share them with you.

Talking walls from Kadikoy

Mural from crossing of Talimhane street and Reşit Efendi street

Talking walls from Kadikoy

Mural from crossing of Talimhane street and Reşit Efendi street

You can find some more murals and graffities from Kadikoy – Istanbul in http://graffiti.axtelsoft.com/ also.

Ahmet Aksoy

Tem 102015
 
4.615 views

Mural by Kristy and Levi

Kristy Sandoval and Levi Ponce are the creators of a new mural in Kadikoy Rasimpasa.

On July 10th, 2015 they have completed their paintings.

All of the following photographs are taken at the final stage of the mural – wall paintings.

Mural by Kristy and Levi

Mural by Kristy and Levi

mural by kristy and levi

Kristy – tired but happy

mural by

Kristy – working on top of the boom

mural bay

Kristy’s crows

mural by

Levi – at work

Mural by Kristy and Levi

Levi – signing

Mural by Kristy and Levi

Levi – Before the last touches

If you like to see the previous mural on the same location click th following link: http://gurmezin.com/murals-of-kadikoy/

Tem 092015
 
4.806 views

Can you count the horses?

Some optical illusions are awful. And, some of them conflict with the reality. They are very important devices for awareness.

Here is a camouflage masterpiece. Can you count the horses? Can you say how many of them are there in the picture?

can you count the horses?

Do not believe in your eyes always!
Optical illusions are real!

gurmezin.com

Tem 022015
 
5.177 views

Murals of Kadikoy

I had photographed the following murals and graffities on October 19th,2013.

If you visit Istanbul, you can see them on the walls of the buildings in Kadikoy.

Murals of Kadikoy

Rasim pasa Karakolhane str – Muhendis Sari Ali str

Karakolhane street and Muhendis Sari Ali street Crossing

Murals of Kadikoy

From Kir Kahvesi street

The above mural is at the Kir Kahvesi street.

Murals of Kadikoy

From Kir Kahvesi street

Again, a mural from Kir Kahvesi street.

The murals above belongs to the concept of Mural-Ist Wall Painting Festival. The first paintings were made on 2012.

This year the fourth festival is giving birth to new murals. The festival will be active in whole summer.

The walls will be enlightened by the new Murals of Kadikoy.

ahmet aksoy

References:

Ara 032014
 
3.220 views

Musical Instruments From Vegetables

Musical Instruments From Vegetables

redit: funmozar.com

Linsey Pollak from Australia, turns a carrot into a clarinet using an electric drill, a carrot, and a saxophone mouthpiece. In only five minutes…

Amazing! If you have children loving musing, but not eating carrots, show them how useful carrots are…

(*** Press title if the videos are not seen ***)

And here a vegetable Orchestra from Vienna.

Listen to them. It is the sound of nature.

And, this is from China! Beautiful! 🙂

Marveleous!

Sources: