Precise and portable RGB extraction device based on smart phone
By designing an RGB extraction device based on a smartphone, using a light-proof system and a built-in light source system, the problems of external light interference and human subjective judgment when extracting RGB information in optical detection are solved, and the accurate extraction and recognition of RGB information on the test strip is realized, and the detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202421635331.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2034-07-11
AI Technical Summary
In the fields of optical detection and image processing, it is difficult for the prior art to accurately extract RGB color information of the test strips without avoiding external light interference and human subjective judgment.
A smartphone-based RGB extraction device is designed, including a smartphone, a light-proof system and a built-in light source system. The light-proof system provides a light-proof environment through opaque material, the built-in light source system provides a stable light source, and the smartphone extracts RGB information through the downloaded color recognizer software.
It realizes accurate extraction and recognition of RGB color information of test strips in a light-proof environment, reduces the impact of external light interference and human subjective judgment, and improves the efficiency and accuracy of optical detection and image processing.
Smart Images

Figure CN222776242U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of optics and relates to an accurate and portable RGB extraction device based on a smart phone. Background Art
[0002] In the fields of optical detection and image processing, the extraction of RGB color information is crucial for subsequent color analysis, image reconstruction and other processing steps. However, the human eye has different sensitivities to the three color components, and directly using the Euclidean distance to measure the similarity of colors may produce large deviations. Compared with traditional analysis methods of visual observation and complex instruments, smartphones have the advantages of fast analysis speed, portability, and real-time detection, which provide a certain impetus for the extraction of different colors. However, smartphone photography is affected by environmental conditions. Light conditions, shooting angles, and different background colors will affect the detection results. For example, in the environment, as long as the brightness of the light changes, the three color components (R, G, B) will change accordingly, which increases the complexity of color recognition. Therefore, the combination of a light-shielding device and a smartphone not only helps to reduce the impact of the external environment, but also can identify and capture the color changes of the material to be tested through the smartphone and convert them into RGB values. This device that can efficiently and accurately extract RGB color information in the environment is of great significance for improving the efficiency and accuracy of optical detection and image processing. Utility Model Content
[0003] The purpose of the utility model is to provide a device for accurately, timely and portablely extracting RGB color information from a test paper. Combined with a smart phone, the device can eliminate subjective judgment and avoid external light interference to achieve accurate extraction and recognition of the RGB color information of the test paper.
[0004] The technical solution of this utility model:
[0005] An accurate and portable RGB extraction device based on a smartphone, comprising a smartphone 1, a device light shielding system 2 and a built-in light source system 3;
[0006] Smartphone 1, using the downloaded color recognition software, extracts the color into RGB;
[0007] The light-proof system 2 of the device provides a light-proof environment for the RGB extraction of the test paper to eliminate the influence of external ambient light;
[0008] The built-in light source system 3 provides a stable light source for acquiring RGB.
[0009] Download the color recognition software before using the smart phone 1. When using, ensure that the mobile phone camera is attached to the mobile phone camera docking interface 4, open the color recognition software, and extract the test paper RGB;
[0010] The light-shielding system 2 of the device is a hollow cylindrical structure as a whole, including two parts, the upper part is the device body, including the mobile phone camera docking interface 4, the power fixing groove 5 and the docking interface limit point 6; the lower part is the device base, which is used to provide a fixing position for the test paper, including the docking interface limit point 6 and the test paper fixing groove 7; wherein, the mobile phone camera docking interface 4 and the power fixing groove 5 are each one, and are arranged on the upper bottom surface of the cylindrical structure; the docking interface limit point 6 and the test paper fixing groove 7 are each four, and are evenly distributed on the base of the cylindrical structure; the docking interface limit point 6 is a protruding structure located at the edge of the base of the cylindrical structure, and the test paper fixing groove 7 is a slot located on the base of the cylindrical structure;
[0011] The built-in light source system 3 includes a power supply compartment 8, a power cord outlet 9 and a light source 10; wherein, the power supply compartment 8 fits with the power supply fixing slot 5, and the power supply fixing slot 5 is used to place the power supply compartment 8; the power cord outlet 9 is designed at the lower end of the power supply fixing slot 5 for wiring; the light source 10 is connected to the power cord outlet 9.
[0012] The device light-shielding system 2 is made of light-proof material.
[0013] The mobile phone camera docking interface 4 is designed with different shapes of mobile phone camera docking interfaces 4 using 3D printing technology according to the different shapes of cameras of different smart phones.
[0014] The working process of a precise and portable RGB extraction device based on a smart phone: the mobile phone camera docking interface 4 can fit closely with the mobile phone camera, and external light cannot enter the inside of the device. The power supply fixing slot 5 is used to place the power supply compartment 8. The docking interface limit point 6 is located at the base of the device. Considering that the test paper fixing slot 7 is not at the center of the base of the device, the docking interface limit point 6 is designed to cooperate with it. The test paper fixing slot 7 is used to place the test paper. When extracting the RGB information of different test papers, the base of the device is rotated to place the test paper fixing slot 7 to be extracted directly below the camera docking interface 4.
[0015] By combining the smartphone 1, the device light shielding system 2 and the built-in light source system 3, the light captured at the shooting site is used as a fixed value, and the test paper can be truly used as a single variable. Through this combination, accurate RGB values of different test papers can be obtained. At the same time, the RGB value of the test paper can be monitored in real time, which has good application prospects.
[0016] Beneficial effects of the utility model: The utility model provides a device for accurate, real-time and portable extraction of RGB of test paper. According to the test paper in different application fields, services can be provided for multiple industries. In the medical field, it can be used for rapid diagnosis of diseases; in the field of environmental monitoring, it can be used for real-time monitoring of water quality, air quality, etc.; in the field of food safety, it can be used for detecting harmful substances in food, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Schematic diagram of the structure of the utility model of the accurate and portable RGB extraction device based on a smart phone; wherein (a) is a side view of the light-shielding system of the device, (b) is another side view of the light-shielding system of the device, (c) is a top view of the light-shielding system of the device, and (d) is a three-dimensional view of the light-shielding system of the device;
[0018] Figure 2 The present invention is a schematic diagram of the bottom structure of the precise and portable RGB extraction device based on a smart phone; wherein (a) is a schematic diagram of the base structure of the device's light-shielding system, (b) is a schematic diagram of the position of the limit point of the docking interface, (c) is a plan view of the base structure of the device's light-shielding system, and (d) is a stereoscopic view of the base structure of the device's light-shielding system;
[0019] Figure 3 It is a schematic diagram of the use of the accurate and portable RGB extraction device based on a smart phone of the utility model.
[0020] In the figure: 1-smartphone; 2-device light protection system; 3-built-in light source system; 4-mobile phone camera docking interface; 5-power fixing slot; 6-docking interface limit point; 7-test paper fixing slot; 8-power compartment; 9-power cord outlet; 10-light source. DETAILED DESCRIPTION
[0021] The specific implementation of the utility model is further described below in conjunction with the accompanying drawings and technical solutions.
[0022] like Figure 1 As shown, during use, the mobile phone camera docking interface 4 needs to be closely fitted with the mobile phone camera, and external light cannot enter the inside of the device. Turn on the real-time monitoring function of the color identifier software. The power fixing slot 5 is used to place the power supply compartment 8, and turn on the power switch. The docking interface limit point 6 is used to dock with the base of the device. Considering that the test paper fixing slot 7 is not at the center of the base of the device, the docking interface limit point 6 is designed. The test paper fixing slot 7 is used to place the test paper. When extracting the RGB information of different test papers, the base of the device is rotated to place the card slot where the test paper to be extracted is located directly below the mobile phone camera docking interface 4.
[0023] like Figure 2As shown, when in use, place the test paper in the test paper fixing slot 7, and connect the device body and the docking interface limit point 6 of the base. At the same time, ensure that the test paper is placed directly below the mobile phone camera docking interface 4, so that the real-time detection point of the color recognition software can smoothly obtain the RGB value of the test paper.
[0024] Step 1: Install the power supply and light source into the device and turn on the power switch.
[0025] Step 2: The smartphone 1 opens the software, enters the real-time monitoring page, and simultaneously connects the smartphone camera to the mobile phone camera docking interface 4 .
[0026] Step 3: Place the test paper in the test paper fixing slot 7, and connect the device body and the docking limit point 6 of the base. Place the test paper directly below the mobile phone camera docking port 4 to ensure that the real-time detection point of the software can smoothly obtain the RGB value of the test paper.
[0027] Step 4: Ensure that the mobile phone camera docking interface 4 can fit closely with the mobile phone camera during the entire use process, and the RGB value of the test paper can be obtained in the software.
Claims
1. An accurate and portable RGB extraction device based on a smartphone, characterized in that: The precise and portable RGB extraction device based on a smart phone comprises a smart phone (1), a device light shielding system (2) and a built-in light source system (3); The smartphone (1) uses the downloaded color recognition software to extract the color as RGB; when using, it is necessary to ensure that the mobile phone camera is attached to the mobile phone camera docking interface (4), open the color recognition software, and extract the test paper RGB; The device light-shielding system (2) provides a light-shielding environment for RGB extraction of the test paper to eliminate the influence of external ambient light; the device light-shielding system (2) is a cylindrical structure with a hollow interior, comprising an upper and lower part, the upper part being the device body, comprising a mobile phone camera docking interface (4), a power fixing groove (5) and a docking interface limiting point (6); the lower part being the device base, used to provide a fixing point for the test paper, comprising a docking interface limiting point (6) and a test paper fixing groove (7); wherein the mobile phone camera docking interface (4) and the power fixing groove (5) are each one, and are arranged on the upper bottom surface of the cylindrical structure; the docking interface limiting point (6) and the test paper fixing groove (7) are each four, and are evenly distributed on the base of the cylindrical structure; the docking interface limiting point (6) is a protruding structure located at the edge of the base of the cylindrical structure, and the test paper fixing groove (7) is a slot located on the base of the cylindrical structure; The built-in light source system (3) provides a stable light source for obtaining RGB, and comprises a power supply compartment (8), a power line outlet (9) and a light source (10); wherein the power supply compartment (8) fits with the power supply fixing slot (5), and the power supply fixing slot (5) is used to place the power supply compartment (8); the power line outlet (9) is designed at the lower end of the power supply fixing slot (5) and is used for wiring; and the light source (10) is connected to the power line outlet (9).
2. The accurate and portable RGB extraction device based on a smart phone according to claim 1 is characterized in that: The device light-shielding system (2) is made of light-proof material.
3. The accurate and portable RGB extraction device based on a smartphone according to claim 1, characterized in that: The mobile phone camera docking interface (4) is designed with different shapes of mobile phone camera docking interfaces (4) using 3D printing technology according to the different shapes of cameras of different smart phones.