  In this work we present a method to identify possible members of globular
clusters using data from Gaia DR2. The method consists of two stages: the first
one based on a clustering algorithm, and the second one based on the analysis
of the projected spatial distribution of stars with different proper motions.
In order to confirm that the clusters members extracted by the method
correspond to actual globular clusters, the spatial distribution, the vector
point diagram of the proper motions and the colour-magnitude diagrams are
analysed. We apply the developed method to eight clusters: NGC 1261, NGC 3201,
NGC 6139, NGC 6205, NGC 6362, NGC 6397, NGC 6712 and Palomar 13; we show the
number of members extracted, the mean proper motions derived from them and
finally we compare our results with other authors. In order to analyse the
efficiency of the extraction method we perform an estimation of the
completeness and the degree of contamination of the extracted members.
