Capsule Network for Geometric Image Recognition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional neural networks, such as CNNs, face challenges in recognizing objects with geometric variations like rotation or flipping, leading to inaccurate feature representation and detection, especially with artificially manipulated images, and lack effective understanding of geometric information.
Innovation Solution
The proposed image recognition method employs a capsule network architecture that includes a convolution layer, primary capsule layer, routing capsule layers, and an output layer, where feature vectors and geometric feature points are input to generate activity vectors, enhancing the geometric understanding and recognition accuracy by incorporating geometric information into the recognition mechanism.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional CNN is used for image recognition, then the recognition process is simple and fast, but the geometric relationship understanding is poor and recognition accuracy decreases for rotated or flipped objects
Solution Approach 1:
The network is segmented into distinct functional modules: convolutional layers for feature extraction, primary capsule layers for detecting geometric features, and routing capsule layers for hierarchical relationship modeling. Each segment performs a specific function, allowing the system to handle geometric variations while maintaining manageable complexity through modular design.
Solution Approach 2:
The patent transitions from scalar outputs in conventional CNNs to vector outputs in capsule networks. The vector dimension captures geometric information (position, size, orientation) explicitly, adding a new dimension of information representation that enables accurate recognition of geometrically transformed objects without proportionally increasing network complexity.
2Adaptability or versatility
If capsule network is used to understand geometric information, then the geometric relationship understanding is improved, but the network complexity increases
Solution Approach 1:
The capsule network structure serves multiple functions simultaneously: it detects presence of objects, determines their geometric properties (position, size, orientation), and models hierarchical relationships between components. This multi-functionality is achieved through the vector output mechanism that encodes multiple geometric attributes in a single representation, reducing the need for separate specialized modules.
Solution Approach 2:
The primary capsule layer acts as an intermediary between the convolutional feature extraction layer and the routing capsule layers. It transforms scalar features into vectors that preserve geometric information, serving as a bridge that enables subsequent layers to understand spatial relationships without requiring direct complex interactions between all network components.
3Reliability
If conventional neural network is used, then the training data requirement is high, but the training efficiency is low
Solution Approach 1:
The patent changes the fundamental parameter representation from scalars to vectors in the capsule layers. This parameter transformation allows the network to encode geometric invariance directly in the vector dimensions, enabling the model to generalize better from fewer training samples. The vector parameters naturally capture rotation and scaling relationships, reducing the need for extensive data augmentation and longer training times.
Data Source
AI summary
The disclosure provides an image recognition method and an image recognition device. The method includes: acquiring an image and capturing a plurality of feature points in the image; obtaining a capsule network, where the capsule network sequentially includes a convolution layer, a primary capsule layer, a routing capsule layer, and an output layer; inputting the image and the feature points into the convolution layer to generate a plurality of feature vectors; inputting the feature vectors and the feature points into the primary capsule layer to generate a plurality of activity vectors; and generating a recognition result corresponding to the image by the routing capsule layer and the output layer based on the activity vectors.


