18 March 2010

FYP Progress

Assalamulaikum wbt..

Alhamdulillah, skg nie msih lgi da kekuatan utk berfikir, consume knowledge atas keizinan Allah swt..Dipendekkan cite, aku xsure projek aku nie nk ke mana..Wat ms nie, saat nie, pkataan y seswai utk projek nie adalah "impossible" to me..Still stp hri kne keep thinking nk figure out cmana nk "possible"kn bnde nie..Bese ar, bnde nie sgt bru bg aku..name pn bdak network terjun lam field AI n grid computing..

"INSPORA - IN DETAILS"



Click to enlarge

Kat atas nie adalah main system framework utk projek aku..Main purpose bnde nie adalah utk membolehkan orag rmai dptkan info sal bunga dgn secepat y mungkin..igt tue, "secepat y mungkin"..Which means, this project should implement all necessary method to make it run faster and efficient, xksah ar processing algorithm ker, memory leak management ker..Aku explain ar sikit supaya korang senang nk phm k..

"1 - USER INPUT"

Utk system nie, ade dua main input iaitu mobile device or website. User bleh upload gambar bunga either melalui website (conventional way) or send directly from mobile thru MMS ke system..Utk website, team aku gune Silverlight 3 technology utk interface visualization (XAML), all animation n language C# utk sumer event handling..Silverlight nie slah satu component dlm .Net Framework (latest version 4.0) y specialize utk high user interface experience. Ape y best nye, Silverlight nie ade full integration with Asp.net..mksudnye, let say ar certain function xleh wat dlm Silverlight, kite bleh invoke Asp.net punyer function as a delegate function..

Next, utk integration between Silverlight page ngn Web Server, aku gune WCF utk manage data connection..WCF nie integated web service y operate based on SOA (service oriented architecture)..snang gune nie sbb programmer cm kite xperlu nk pk kn sal WSDL, UDDI, Object Serialization n etc since everything WCF dh handle..data serialization done by enumerable data collection.Tue part web, utk receive MMS, kne ader GSM Modem spya bleh receive image file from network provider..GSM modem nie lebih kurang cm broadband y kite bese gune, cume beza nye die ade antena kecik cam access point..Once user send MMS ker system, akan ade "daemon" apps y akn retrive image from GSM modem nie and transfer tue web server..So, for now web server dh ade flower image y die dpt either dri GSM Modem (MMS) or Silverlight (manual upload)..

"2 - WEB SERVER + GRID MANAGER"


Next, web server n grid manager actualy reside on two separate machines..One on windows n linux on the other..Utk communication n data transmission between 2 machine nie aku gune socket programming dgn UDP protocol, since aku assume both are on dedicated line n no service lookup is needed..just one-to-one mapping..Those y interested nk tw pe die socket programmng nie leh rujuk kat entry y lepas2 yer..Once web server dh dpt image tue, cam bese, path file akn di store lam MySql database, n image file dlm file server..Bleh je nk stor image dlm database gune format BLOB, tp nti nk load image akn jd lmbat..Then path file tue akn di pass as a forward request to Grid Manager..Kat sini, ngn bantuan Globus middleware and main language Java, any available image processing engine bleh di pick on round robin basis..Grid computing mmg pnting kat sini..Xleh nk citer byk sbb aku pn still ngah develop part nie..Examiner aku suggest gune ping method, kire machine y reply plig cepat, machine tu y akn di pick..

"3 - IMAGE PROCESSING"

Dlm projek Inspora nie, ade 2 part y plig pnting iaitu cross platform communication n image processing..After receive path file image td, ngn bantuan Matlab, system akn retrive blik image from file server, and go thru 1st phase which is image enhancement. Reason being is image from user bleh dtg ngn mcm2 format, ade 2, 3 or 8 megapixel, ade y jpeg, bitmap or png, ade y blur n low contrast..mcm2 lagi..After that, 2nd phase which is image recognition will take over..Bermula ngn binarization, elimination, then edge detection utk define degree of circularity or shape, n dominant color determination..process nie melibatkan bbrapa feature extraction algorithm y agk pnjag lebar kalu nk explain kt sini..so, xyah la explain erk..Data2 y dh di extract tu akn dicompare ngn system punye neural network based on back propagation algorithm..berkenaan ngn bnde nie, aku srahkan kat acad ar (team mate) sbb die majoring in AI..hehe..

"4 - FORWARD RESULT"

After dh dpt result n dh tw bunga tue bunga ape, retrieve reference id from database, pass back to web server. Based on id tue, web server akn retrieve necessary info n display result kat user (in case of Silverlight) or send to user using SMS via SMS gateway (in case of MMS)..SMS gateway nie plak actually 1 "daemon" apps y connect ngn external dummy gateway

"CURRENT PROGRESS"

Click to enlarge

Progress skg ? leh rujuk pic kat atas tu..mmg byk lagi y aku xwat..xtaw bile nk siap nie..bnde nie ssh nk wat sbb name pn projek bdak master, level cm kite nie ssh gak ar nk prah otak fikirkan kn bnde y kite xpnah blaja..Dlm project ni, aku responsible utk interprocess and cross platform communication on mobile n distributed grid computing, and team mate aku, Acad plak responsible utk image processing n neural network algorithm..exploration takes time kn..sabar je laa.

"SOME SCREENSHOT"

Kalu korang prasan ar, projek aku nie bleh kate 87% main programming kat background system..xder ar interface sgt pun..Projek Inspora nie da 1 interface jer iaitu from Silverlight website..So, aku tnjuk ar sikit2 shot ya ader..hak cipta terpelihara ok..watch out..

Main front page..Konsep die kt sini, besenye org taip keyword kat google utk cri image, but skg ktorang reverse, upload image utk cri keyword n explaination.


Sign up page..Main theme web site nie kaler kuning + grey..logo kaler hjau tu aku pick je mane2..


Front page after sign in..data xder lagi, sbb mlas nk goreng info..nk display jer pun.


Page utk display all image uploaded by user..sumer gmbar same sbb gune sample pic y sme.


Flower description..Once again, data kosong sbb mlas nk goreng info..


Page utk list all or favorite article..kosong gak sbb info n karangan len mlas nk isi..y ptg programming sumer siap..






.

No comments:

Post a Comment

terima kasih.