The Application of Graphology and Enneagram Techniques in Determining Personality Type Based on Handwriting Features

This research was conducted with the aim of developing previous studies that have successfully applied the science of graphology to analyze digital handwriting and characteristics of his personality through shape based feature extraction, which in the present study will be applied one method of psychological tests commonly used by psychologists to recognize human's personality that is Enneagram. The Enneagram method in principle will classify the personality traits of a person into nine types through a series of questions, which then calculated the amount of the overall weight of the answer. Thickness is what will provide direction personality type, which will then be matched with the personality type of the result of the graphology analysis of the handwriting. Personality type of handwritten analysis results is processed based on the personality traits that are the result of the identification of a combination of four dominant form of handwriting through the software output of previous studies, that Slant (tilt writing), Size (font size), Baseline, and Breaks (respite each word). From the results of this research can be found there is a correlation between personality analysis based on the psychology science to the graphology science, which results matching personality types by 81.6% of 49 respondents data who successfully tested.


Introduction
Generally, the recognation or tests a human's personality is done by implementing a variety of methods in psychology, such as DAP test, MBTI, Wartegg, MAPP, Baum Tree with the intent and specific purpose, such as for the recruitment of new employees to fit the field of the selected job, requirements to go to college for prospective students and others.Each type of test can not be done in a single (only one method) and the result would only be known by psychologists through a series of lengthy analysis and takes time.This is the main reason for researchers to develop further research on the science of personality through handwriting analysis, in order to be able to replace conventional ways, namely through a psychological analysis with a shape feature extraction method based on science of graphology.
From the results of previous studies entitled ' Application  fully developed a software that can provide results predominant form of a set of handwritten digital tested and the analysis of his personality to the level accuracy of 62.3 -63.3%.The personality analysis obtained through the implementation of clustering methods, shape-based feature extraction, and the science of graphology to 23 authors (handwriting).However, the result of these studies obtained also some drawbacks such a side validation is only based on the results of the analysis of graphologists named Clifford Howard [8], and the type of personality that represented only through four categories of the dominant form of handwriting that size, slant, breaks, and baseline.
Shortage is what researchers want to improve by trying to complete through the Enneagram method, in which the test results were expected to be able to prove the validity of the graphology science in recognizing one's personality and how big the accuracy of the software that was developed after matching with the science of psychology.
Enneagram method is one of psychology method that uses a series of questions to determine a human's personality (Figure 1).In addition to the Enneagram, there are several other types of tests.However, it's categorized as a method Enneagram personality test is most accurate when compared with the method or type of other questionnaire based test, with the percentage of accuracy between 80 -87% [16][14].This is because the method of assessing the Enneagram personality types based on the experience of someone who happened since early age.This is the reason researchers uses the Enneagram method in the study of psychology as a basic reference for assessing a human's personality that will be matched with the results of the personality assessment of the graphology science.

Preprocessing
An early stage that needs to be done to get the post data in digital form with the size of the pixel and gray level values or the same gray level of a set of handwritten analog that has been digitized through the scanner.This phase consists of the conversion of RGB colors to greyscale and thresholding.

RGB to Greyscale Color Conversion
RGB color conversion to greyscale is the stage for 24-bit color values to 8 bits, so the size of the resulting color will be smaller with the interval between 0 and 255 [2] : where R is the pixel value of red color, G is the pixel value of green, and B is the pixel value of blue color.

Thresholding
Thresholding is a process to separate the object region (foreground) to the background area over a certain threshold value [6].In this study, the threshold value is also determined by trial and error.Dian Pratiwi, The Application Of Graphology 13 Formation of ROI Formation of ROI (Region of Interest) is a technique that is generally done to help the analysis of the object to be observed, such as fMRI image analysis conducted by researchers from the UCLA -Los Angeles, Russel A. Poldrack in 2007 [5].This technique can improve the success of the recognition phase, due to the formation of ROI, feature extraction process to be performed is limited to a specific region or area that has been restricted.In this study, each handwritten documents that have been scanned and automatically crop (the size of 200 x 500 pixels) will be divided into grids with each grid size of 100 x 100 pixels (see Figure 2).The results of this gridding process will provide a total grid as 2 x 5 grid for each document of the handwriting.Each grid of each image document will then be carried shape based feature extraction process.Another example of ROI process is shown in Figure 3.

Feature Extraction
Feature extraction is an important stage of recognition application and pattern analysis.This stage will return the values of the features to be measured or identified as a pattern.With the extraction of features or characteristics, important information of the data (which in this study is in the form of handwritten image data) will be taken and stored in the feature vector [6].Features that can be extracted in the form of image data including color features, shape, and texture.And in this study, the features will be extracted is based on the representation of the handwritten form.
In Figure 4, the values of the shape based features of the handwritten extraction will be binary values (values '0' or '1') to each grid for each image, where the value of '0' will be given if the representation of the grid is the background object, and a value of '1' if the representation of the grid is a foreground object with a minimum of 15% of total pixels of each grid is a foreground object [1].

Formation of Cluster
Formation of clusters that are used in a previous study that is to classify the extracted shape features, in accordance with the number of clusters referenced handwritten form on the science of graphology.The method used is Fuzzy C-Means, the development method of Hard K-Means, where the centroid (center of cluster) determined from the acquisition of membership values search repeatedly with minimal distance.Fuzzy C-Means in their utilization can also be used for medical image segmentation, thus simplifying the diagnostic process as in research of Zhou et al [9].Fuzzy C-Means formula is as follows : (3) where Xi is the image of handwritten to i with a total of N feature vectors, Vk is the cluster center (centroid) to k of the c total class, and J is the distance obtained quantitatively.To initialize the beginning, the center of cluster (V) will be randomly selected from the overall total image of the handwriting used.While u the value of the feature vector of k cluster center up to a total m cluster center.

Pattern Recognition
Pattern recognition is one of the techniques of the science of Artificial Intelligence, which aims to recognize the features or the specific characteristics of data set (both text and image documents) and classifies [3].Pattern recognition can be done in several ways, one of which is by using Similarity Measures.
Similarity measure is a method that can be used to find the similarity of objects to one another, by calculating the distance among them [4].As the research conducted Anna Huang in 2008, this study also used the technique similarity measures in recognizing handwritten patterns by calculating the distance between the patterns by using the Euclidean distance formula [4]: where d is the total distance between the handwritten image pixel values with each other, q and p are the pixels image.

Interpretation of Graphology
Graphology is a science which studies reading techniques of human character through handwriting from various viewpoints [8].Research on the graphology science has been widely used to help figure out a human's personality and character.
The experts of graphology (graphologist) states that a handwriting analysis can provide information on: 1) Strengths and weaknesses of one's character; 2) Human's behavior in a given situation; 3) The health condition of psychology, mental, and the ability of a person interactions on the current situation.In providing the analysis, the science of graphology has some readings angle from handwriting form category, such as the slope of writing, pressure, size, and spacing writing [10].Each category has a handwriting analysis of personality and character are different also.

Interpretation of Psychology
Psychology is defined as the scientific study of the behavior and mental processes of an organism [15].By scientific meaningful studies conducted and data collected follows a systematic procedure, using psychological tests.
Psychological testing is a structured technique used to produce the examples chosen behavior.Example of this behavior will be used to make inferences about the psychological attributes of a person [15].
Enneagram is a method that has been proven to be very accurate to describe human personality [13][16].This is because the method of assessing the personality types based on the experience of someone who happened since early age and see the influence of genetics.

Calculation of Accuracy and Validity
This stage is the final step, in which each of the results of handwriting analysis using graphology and enneagram questionnaire answers matched:   ℎ  ℎ   ℎ    100% The results of these matches will give system accuracy and prove the validity of the method of graphology in recognizing humas's personality.

Data Collection Technique
Collecting data in this research through the istribution of questionnaires directly to the various speakers, which in this study were collected totaled 50 data.The questionnaire contains 90 questions and an empty column to fill this handwriting will be processed in software to produce in accordance with the type of personality psychology and graphology.

Research Design
In Figure 5 can be seen that in this study the researchers used comparison of the results of the introduction of personality types based on analysis graphology and psychology (through enneagram methods) to determine the accuracy of the system being developed.The personality characteristics of 11 features cluster referenced handwritten form obtained by reference to the science of graphology [8][11] [12] and the results of research conducted by researchers previously [17].Among the clusters 'Baseline', 'Slant', 'Breaks', and 'Size'.Baseline consists of 'Up', 'Flat', 'Down'.Slant consists of 'Leaning to the Left', 'Leaning to the Right' and 'Vertical'.Size consists of 'Large', 'Small', and 'Medium'.Breaks consists of 'Dashed', 'Connected'.Table 1 is a mapping table of handwriting form features into the enneagram through psychologists analysis results.

Results and Analysis
From the 50 data collected (Table 2), 1 data is considered not valid because the filling in its questionnaire that do not fit.Thus, the data examined totaled 49, where testing is done using software which has been developed.The results of the answers in the enneagram menu (Figure 6), then calculated to determine the most weight.The highest weights will determine  Dian Pratiwi, The Application Of Graphology 17 the type of personality that is owned by the respondent.
Figure 7 shows that the respondent data were tested had the greatest weight value on types 4, 5, and 6.These results will then be matched with the testing of graphology method, which analyze trends owned personality type from the Andwriting to see the shape features.
On the menu at the top (see Figure 8), shows that images of handwritten notes of the respondents will be extracted the shape features with a series of processes, which will then be assessed by a system of personality types and descriptions.Those results will then be matched with the enneagram assessment results : And from the 49 tested data (1 data is not valid), this study got a match rate of 81.6% between the personality analysis of psychology to the graphology science.Where these percentages obtained from 40 data were tested with similar results, and 9 data have different results for the personality type (at Table 2).Thus, this study was able to prove that there is a correlation between a human's personality by the shape of her Andwriting, so that in analyzing the behavior, characteristics, psychological condition of someone can through handwriting and not necessarily through psychological tests.

Conclusion
From these results, the researchers can then provide conclusions include : Implementation of graphology method in analyzing someone's personality type of handwriting can have the same results with the analysis using enneagram method in psychology, with a match rate of 81.6%.So therefore, the science of graphology has been scientifically proven its validity through this research.
Implementation of graphology in giving analysis of human's personality results can be faster than the application of the enneagram, because graphology analysis requires only handwriting samples with simple sentences and without going through a series of questions and take as many psychological tests with enneagram.
of Graphology Science in Developing Handwritten Analyzer Device based on Shape Feature Extraction'[17], researchers have success-12 Jurnal Ilmu Komputer dan Informasi (Journal of Computer Science and Information), Volume 10, Issue 1, June 2017