quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
1.99k stars 882 forks source link

Would like to extend the app to the 13 Line Naskh Mushaf: should I use these images of the mushaf pages to start compiling the ayah info database? #1196

Open zamanzamzz opened 5 years ago

zamanzamzz commented 5 years ago

I would like to extend this app's functionality to cover the 13 Line Naskh Mushaf.

Should I use these images of the mushaf pages to start compiling the ayah info database?

Here is a google drive folder with all the page images: https://drive.google.com/open?id=1i9ntWjnB93QgcSE_44UvSs0bE5YYg9Ao

Here is an example page: 13_pg_60

From what I know, the app currently uses three (?) different sets of pages of different sizes that the app dynamically determines based on the device screen size. Would I need to build separate databases for different sizes? I'm not sure if this is just for the images that are generated from the quran image generator script.

Most importantly, would these set of images be good enough?

ahmedre commented 5 years ago

wa3laikum alsalam, jazakumAllah khairan for this, many people would benefit from this in sha' Allah - i think they might work fine (the images we use for new madani, for example, are 1260x2038, for example). i am a bit concerned though that the height is only 1440. can you try it on your phone and see how it looks like?

i don't think we'd need multiple sizes here (though cc @asimmohiuddin who did the original naskh images since he might have a different idea and can give his input here in sha' Allah?).

to make the database, you can use some scripts here: quran/ayah-detection - you'd need both the make transparent script to make it transparent and then the ayah detection script to detect the positions of the verses.

walsalam 3alaikum.