Detection of Behavior Using Machine Learning

Page 1

International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page258 Detection of Behavior Using Machine Learning Athri Kumar Sagara Anantha Krishna1 , Darshan Dyamavvanahalli Rudreshi2 , Indraneel S3 , Gunda Umamaheshwar Gupta4 , Vamsi Krishna Adusumilli5 , Md Tabish Alam6 *** Abstract Asintheeraofthismodernglobalhumanvalues end up crucial for persona development of human so this paper is designed to predict human behavior through diverseparameter,signatureand handwriting analysisthru newparametersandinconjunctionwithloopsof‘i’and‘f’by usingtheusageofnumerouspcorientatedtechniquesand withthehelpof MATLAB toolstogetherwith BPN, SVM asa first ratedevice. Key Words : handwriting , MATLAB , SVM , BPN

1.INTRODUCTION

Tomakesignatureandhandwritinganalysisautomaticwe measuredsixmajoruniquesortsofcapabilities:

Professionalhandwritingexaminersknownasgraphologists oftenpredictthepersonaofapersonwiththeassistofabit ofpaper.Buttheaccuracyoftheresultsreliesuponatthe abilitiesoftheanalyst.Thisguideprocessofsignatureand handwriting evaluation is very high priced and time ingesting.Hencetheproposedtechniquemakesaspecialty ofgrowingatoolforconductanalysisthatcanpredictthe persona trends mechanically. The various features in signature via which behavior may be predicted are pen pressure,baseline,peakoffirstletter,durationofsignature, andvariousparametersofhandwritinglikepeakofbar on letter ‘t’, letter ‘g’, etc. In this paper a method has been proposed to expect the behavior of someone from six parameters baseline, peak of first letter, duration of signature,penpressure,letter‘i’andletter‘f’.

2. DATA ACQUISITION Signaturesamplesareuploadedtothesystem.Theuploaded photograph is preprocessed, cropped and resized to the suitableorientation.Theutilityallowsuserstocroppictures into traces, phrases, and characters after the pics are cropped, the cropped photographs may be proven on the scratchpadthenthecroppedphotographmaybeloaded.

3. PREPROCESSIG

The preprocessing consists of characteristic exaction system. In this level, we extract the capabilities of a signature.Theparameterswhichcanbehadtocalculateare asfollows:

Ifwehavea lookathandwriting evaluationandsignature analysisisknownasgraphologythatisusedforfiguringout, evaluatingpersonacharacteristicsofhuman.Signatureisthe fastdepictionofhandwriting.Everypersonalitytendencies ofapersonisrepresentedbyusinganeurologicalsamplein mind.Thesebrainpatternsproduceauniqueneuromuscular motion which has similarities for all and sundry who has unique persona trait. While writing, actions occur unconsciously. Pen stress, baseline implemented whilst writing can screen precise persona tendencies. Similarly handwriting represents the viable way of intellectual reputation and together with this it profiles the human conductinplaceofsocialskills,success,thinkingstyles,or behaviour.Withthehelpofgraphologyhandwritinganalysts predict the attitudes, qualities, sentiments or postures. In thispaper,awayhasbeenproposedtoexpecttheconductof someone from the capabilities extracted from his/her signature.Thepersonatrendsdiscoveredbyusingbaseline, penstrain,heightoffirstletter,periodofsignature,letter‘i’ and letter ‘f’ as discovered in character’s handwriting are explored on this paper. In our task, we're examining the handwriting of a awesome individual to represent the personalityofthatmanorwoman 1.1 System Overview

(I) Pen strain, (II) Length of signature, (III) Baseline, (IV) Height offirstletter,(V)Letter i,(VI)Letterfanda file to becomeawareofthepersonaoftheauthor.Segmentationis usedtoestimatethecapabilitiesfromthevirtualsignature whereinthelettersorphrasesaresegmentedwiththeaidof pictureprocessingandplacedonnumeroussteps.Signature photograph is uploaded by means of the person through MATLAB code after which the snap shots of signature are uploaded,thenthesesamplesofsignatureemergeasdigital signature and then it is fed to SVM, which predict the behaviorofcharacter.Thesystemofsignatureevaluationis executedasprovenwithintheblockdiagram.

Figure 1: ImageAcquisition&Processing

Fifth parameter i.e. The formation of letter ‘i’ provides a variety of correct facts about the author. The ‘i’ is the handiestletterinEnglishlanguagethatreferscompletelyto Light Pen Pressure: Mean Grey level> threshold‘th0’ Heavy Pen Pressure: Mean Greylevel<threshold ‘th0’ CategoriesSignature

Deepthinkerandlastingfeelings andfeelssituationsextremely.

Raising the baseline Optimistic,determinedhopeful. baselineFalling Exhausted, suspicious, not hopeful baselineStraight Strong minded,stayontrack,self motivated, control emotions, dependable,steady baselineErratic Unpredictable, emotionally unsettled, Far wordsspaced Needsmorespace,enjoyssecrecy Close wordsspaced The closeness of sentiment and intelligence Size of the first letter is capital Thepersonhasmorepronounced self esteem Size of first letterissmall Thepersonismoregrounded Long length ofsignature Reliable,assertive,tedious

Light pen pressure Person can bear traumatic experiences without being extremelyaffectedandemotional experiencesdonotmakealasting impression.

Table -2: Formationoffpersonalitytraits

Psychological Personality Behavior

One of a sortofthemostadvancedforemostfunctionsina signature pattern is the strain of writing. The pressure carriedouttothepaperatthesametimeaswritingshows thenotionoffeeling,alsoknownasemotionalinterest,ofthe author.Inordertotakealookatthepenstress,thescanned pixismodifiedintoagrayscaleimageandimplygraydegree price is intended by means of the gray level values of the photographpixels.Meangraydegreepriceoftheimageis connectedwiththepre decidedthresholdvalue,thoofthe scannedsnapshots.Thehighercostofthesuggestfactorto lighterstressandifthemeanismuchlessthantho,thenthe writingpressureisfineconcept outtobehighsuchsomeone hasprecisedeepandpersistentfeelings. So,theconditionsoflightandheavypenpressureare 3.2 The Slant of Baseline BaselineofSignaturediscloseslotsofaccurateinformation abouttheauthor.Thebaselineisthelinebesidewhichthe signatureflows.Thefashionlinethatwecalculateiscalled theregressionlineandthisregressionlineiscalculatedwith the aid of Least Squares Linear Regression. For Standard reference attitude (θo) is nicely idea out to be 90o. θ is associatedwithθotocategorisetheslanttop.Tocalculate theslant,theformulationis ( y2 y1) (x2 x1 ) After going through various researches and through psychological factsonhumanbehaviorwemadefollowing tableshownbelow.

Pen Pressure

Table -1: PersonalityTraitsPredictedbyVarious SignatureStyles

International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page259 3.1

Heavy pen pressure

International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page260

BasedontheMATLABcodesandprepossessingstrategiesto locatethecapabilitiesofhandwritingwefollowtheANNand then predict the conduct of human based totally on pen pressure. After scanning the signature with the aid of PC then, we ought to estimate the function of signature. By executingnumerousMATLABcodestocalculatepenstrain, alignment,andsoon.Themethodthatisusedtoeducatethis ischallengeisthelowerback propagationsetofrulesandits method, so first we talk the (MSE) or Mean Squared Deviation(MSD)ofanestimatormeasurestheaverageofthe squaresofthemistakesthisis,theaveragesquaredvariance between the calculated values and target cost . In imply rectangularerror,wehavealookatthesuggestofthesquare of errors or deviation of output from the target fee. It describesarelationamongoutputandpreferredoutput.

4.1 Back propagation Algorithm

4. IMPLEMENTATION

MSE Yi Yi n i Where Y = calculated value and Y is expected value Meansquareerrorofthesignature.

3.3 Support Vector Machines SVMaresupervisedgetting toknowfashionswith related gainingknowledgeofalgorithmsthatexaminestatisticsand apprehend styles, used for category we used RBF to give inputtotheSVMbasicallySVMtakesinputasafeature.SVM givesthehigherandpreciseendresult.

n1  theauthor.Table 3suggeststhenotunusualformationsof‘i’ andthecorrespondingpersonalitytendencies. Thispaintingsisappliedbyusingnumeroustechniquesfirst byusingpre processingandextractingfunctionsbywayof theuseofvariousfunctionsinMATLABcode.Theinputto thegadgetisascannedphotographofasignaturesample. The behavioral inspection is done by means of inspecting severalcapabilitiessuchthatpenstrainwhichcalculatesthe emotionalcountryofapersonandbaselineslant,theslantof the signature size of letters, and then these extracted featuresofdigitalsignaturearefedtoSVMwhichtakethe enterintheRBFshape.Thenthoseoutputswhichwegetare afixedofbehaviorpersonalitiesofthecharacter.

3.4 Radial Basis Function RBFisaactual valuedcharacteristicwhosepricereliesupon handiestonthedistancefromthefoundationSumsofradial foundation functions are commonly used to approximate given functions. This approximation manner can also be interpretedasasimpleformofneuralnetwork.RBFsalso areusedasainputinhelpvectorclass.

In 1969, a way for learning in a multi layer community, lower back propagation, was designed by Bryson and Ho. TheBackpropagationAlgorithmisapracticalapproachfor isolatingthecontributionofeachweight.Back propagation setofrulesisutilizedinmultilayerfeedforwardcommunity based totally upon gradient descent studying rule. The essentialgoalofreturned propagationalgorithmistoassign therightweightstothesesuperiorities.

2

International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page261 CONCLUSION A method has been evolved to expect the behavior of a personfromthefeaturesextractedfromhishandwriting.Six parameters,baseline,topoffirstletter,periodofsignature, penstress,letter‘i’andletter‘f’areentertotheANNwhich outputsthepersonatraitoftheauthor.Theevaluationofpen pressure makes use of gray degree threshold fee, various MATLABgearandcodeshavebeenused.Henceadvanced MATLAB codes were used to predict behavior it will be provedusefultotreatfolkshence. REFERENCES [1] AmeurBensefia,AliNosary,ThierryPaquet,Laurent Heutte, “Writer’s Identification By Writer’s Invariants”,ProceedingsoftheeighthInternational 2002,WorkshoponFrontiersinHandwritingRecognition,pp.274279. [2] ChampaH.N,KRAnandaKumar,“Automatedhuman behaviorpredictionthroughhandwritinganalysis”, First International Conference on Integrated pp.IntelligentComputing,IEEEComputerSociety,2010,160165. oNSr. Name Signature ErrorSquareMean PressurePen Alignment Height of the first letter Length Of Sign Behavior 1 Athri Kumar Sagara AnanthaKrishna 0.5642 2.825 0.371 0.9 4.1 attitude,Cheerful,Positive 2 RudreshiDyamavvanahalliDarshan 0.6484 1.856 0.117 0.7 3.6 SteadyDependable, 3 IndraneelS 0.536 2.213 0.423 1.2 3.9 HopefulDetermined 4 Vamsi Krishna Adusumilli 0.6479 1.748 0.223 1.1 3.5 self motivated 5 GuptaUmamaheshwarGunda 0.3336 2.448 0.378 0.4 3.3 thinkingGroundedDetermined,Deep 6 MdTabishAlam 0.6506 1.875 0.332 0.5 3.2 Cheerful

[3] Champa HN, KR Ananda Kumar, “Artificial Neural Network for Human Behavior Prediction through Handwriting Analysis”, International Journal of ComputerApplications,Vol.2,May2010,pp.36 41

[10] Sung HyukCha,SargurNSrihari,“AprioriAlgorithm for sub category classification analysis of handwriting”,ProceedingsofthesixthInternational ConferenceonDocumentAnalysisandrecognition, 2001,pp.1022 1025.

[6] Ling Gang; Verma, B., Kulkarni, S., “Experimental analysisofneuralnetworkbasedfeatureextractors for cursive handwriting recognition”, IJCNN, pp. 2837 2842,2002.

[4] Lorette,G.,Bercu,S.,Menier,G.,Anquetil,E.,“On line cursive handwriting analysis and recognition: paradigmsandsystems”,HandwritingAnalysisand Recognition:AEuropeanPerspective,2002 [5] N. Mogharreban, Shahram Rahimi, M. Sabharwal, “A combined crisp and fuzzy approach for handwriting analysis”, IEEE Annual Meeting of the Fuzzy InformationProcessingSociety,2004,pp.351 356.

[7] Parmeetkaur Grewal, Deepak Prashar, “Behavior predictionthroughhandwritinganalysis”,IJCSTVol3 2012. [8] RuthGardner,“InstantHandwritingAnalysis:AKey toPersonalSuccess”,LlewellynPublications. [9] Shitala Prasad, Vivek Kumar Singh, Akshay Sapre, “HandwritingAnalysisbasedonSegmentationMethod forPrediction ofHumanPersonalityusingSupport VectorMachine”,InternationalJournalofComputer Applications,Vol.8,October2010,pp.25 29.

International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page262

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.