Circuit diagram is the very foundation of electrical and electronic sciences. A circuit diagram consists of various symbols called circuit components that specify the functionality of that circuit. Every day-today gadgets that we use are made up with a number of electrical/electronic circuits to play out their particular tasks. Till date circuit designers have to physically enter all data from the hand-drawn circuits into computers, and this procedure requires some investment in terms of time and carries mistakes with high likelihood. To this end, in this paper, we propose a method that relaxes this constraint by introducing a method for recognition of hand-drawn electrical and electronic circuit components, with both analog and digital components included. In the proposed method, the pre-processed images of circuit components are used for training and testing a recognition model using a feature set consisting of a texture based feature descriptor, called histogram of oriented gradients (HOG), and shape based features that include centroid distance, tangent angle, and chain code histogram. In addition, the texture based feature, being large in number compared to others is optimized using a feature selection algorithm called ReliefF. Classification of components is done by using sequential minimal optimization (SMO) classifier. The proposed method has been evaluated on a dataset of 20 different circuit components with 150 samples in each class. The experimental outcome shows that the proposed approach provides average 93.83% accuracy on the present database. We also compare our method with some of the state-of-the-art methods and we see that our method outperforms these methods.