Storage Container State Detection via Occlusion Subtraction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining the open or closed state of a storage container lack flexibility and accuracy, particularly in game scenarios where identifying the state of game props is crucial for recording game states.
Innovation Solution
A method and device that acquire a to-be-detected image of a storage container, determine a region of interest by subtracting the occlusion range in a closed state from the occlusion range in an open state, and use pixel values to determine the number of storage spaces, with the processor determining whether the container is open or closed based on preset value ranges.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional methods are used to determine open or closed state of storage container, then the method is simple to implement, but the accuracy and flexibility of state identification is insufficient
Solution Approach 1:
The patent divides the image processing task into distinct segments: acquiring the image, determining the region of interest by subtracting occlusion ranges, analyzing pixel values in the region of interest, and comparing with preset value ranges. This segmentation allows each step to be optimized independently, improving overall accuracy without overwhelming complexity.
Solution Approach 2:
The patent pre-determines the occlusion ranges for both open and closed states of the storage container before actual state identification. By calculating the difference between these pre-determined ranges to create the region of interest, the system prepares all necessary reference data in advance, enabling accurate real-time state detection without complex computational overhead during execution.
2Adaptability or versatility
If the occlusion range method is used to determine storage container state, then the flexibility of state determination is improved, but the complexity of image processing increases
Solution Approach 1:
The patent focuses analysis exclusively on the region of interest derived from the occlusion range difference, rather than processing the entire image. By concentrating computational resources on this specific local area where state information is most indicative, the system achieves flexible and accurate state determination with reduced overall processing complexity.
3Measurement precision
If pixel value analysis is performed on the entire image, then comprehensive state information is obtained, but processing time and computational resources increase
Solution Approach 1:
The patent extracts and analyzes only the pixel values within the region of interest, which is derived by subtracting the closed state occlusion range from the open state occlusion range. This extraction approach isolates the critical information needed for state identification, achieving accurate results while significantly reducing processing time compared to analyzing the entire image.
Data Source
AI summary
A method and device for identifying a state, electronic device and computer-readable storage medium are provided. The method includes: acquiring a to-be-detected image for a specific scene and determining a region of interest in the to-be-detected image; the region of interest being a region obtained by subtracting an occlusion range of the storage container in a closed state from an occlusion range in an open state; determining a positional relation between the region of interest and specific object regions where the specific objects are positioned in the to-be-detected image; determining at least one value based on values of pixels in the region of interest, when the positional relation represents that there is no specific object region partially overlapping the region of interest; and determining whether the storage container is in an open state or closed state based on the at least one value and a preset value range.


