Plastic sample plate cutting method, detection system and computer readable storage medium

文档序号:1199932 发布日期:2020-09-01 浏览:12次 中文

阅读说明:本技术 塑胶样板的截取方法、检测系统和计算机可读存储介质 (Plastic sample plate cutting method, detection system and computer readable storage medium ) 是由 张盛锐 于 2020-05-19 设计创作,主要内容包括:本发明公开了一种塑胶样板的截取方法,所述塑胶样板的截取方法应用于检测系统,所述检测系统包括图像采集模块以及检测平台,所述塑胶样板的截取方法包括以下步骤:在客户提供的塑胶成品位于所述检测平台后,控制所述图像采集模块以不同的采集角度采集所述塑胶成品的图像;根据各个所述图像以及各个所述图像对应的采集角度,构建所述塑胶成品的空间模型;根据所述空间模型确定所述塑胶成品上的截取区域,其中,所述截取区域的边界构成的平面与所述截取区域上的点之间的距离小于预设距离;对所述截取区域进行标记,以供厂家在所述截取区域截取塑胶模板。本发明还公开一种检测系统和计算机可读存储介质。本发明塑胶生成设备损耗的成本较低。(The invention discloses a plastic sample plate intercepting method, which is applied to a detection system, wherein the detection system comprises an image acquisition module and a detection platform, and the plastic sample plate intercepting method comprises the following steps: after a plastic finished product provided by a customer is positioned on the detection platform, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles; constructing a space model of the plastic finished product according to each image and the corresponding acquisition angle of each image; determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance; and marking the intercepted area so as to allow a manufacturer to intercept the plastic template in the intercepted area. The invention also discloses a detection system and a computer readable storage medium. The plastic generating equipment has lower loss cost.)

1. The method for intercepting the plastic sample plate is characterized by being applied to a detection system, wherein the detection system comprises an image acquisition module and a detection platform, and the method for intercepting the plastic sample plate comprises the following steps:

after a plastic finished product provided by a customer is positioned on the detection platform, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles;

constructing a space model of the plastic finished product according to each image and the corresponding acquisition angle of each image;

determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance;

and marking the intercepted area so as to allow a manufacturer to intercept the plastic template in the intercepted area.

2. The method for cutting out a plastic template as claimed in claim 1, wherein the step of determining the cut-out area on the plastic product according to the spatial model comprises:

selecting three reference points from all points on the space model, wherein all the reference points are not on the same straight line;

cutting the space model according to a reference plane formed by the reference points to obtain areas corresponding to the reference points;

determining the space coordinates of each point on the region according to the space model, and determining the distance between each point on the region and the reference plane according to the space coordinates;

and when the maximum distance is less than or equal to the preset distance, determining the area as a cutting area.

3. The method of claim 2, wherein the step of determining the distance between each point on the area and the reference plane based on the spatial coordinates further comprises:

and when the maximum distance is larger than the preset distance, reselecting three reference points from each point on the space model, and returning to execute the step of cutting the space model according to the reference plane formed by each reference point.

4. The method as claimed in claim 2, wherein the datum points form a datum plane having an area larger than a predetermined area.

5. The method as claimed in claim 4, wherein the triangle formed by the three reference points is a right triangle, and the length of the hypotenuse of the right triangle is greater than or equal to a predetermined length, and the predetermined length is determined according to the predetermined area.

6. The method of claim 1, wherein the inspection system further comprises a spectrometer, and wherein the step of marking the cut-out area further comprises:

acquiring a first colorimetric value of the plastic template detected by the light splitting detector;

determining a second chromatic value matched with the first chromatic value in a database, wherein the database stores color schemes of a plurality of plastic sample plates and chromatic values corresponding to the color schemes;

and determining the color scheme corresponding to the second chroma value as the target color scheme of the plastic sample plate corresponding to the plastic template.

7. The method for cutting out a plastic template according to claim 6, wherein after the step of determining the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template, the method further comprises:

acquiring the performance requirement of a client on the plastic;

and determining a preparation scheme of the plastic template according to the performance requirement and the target color scheme.

8. The method of claim 7, wherein the step of determining the preparation scheme of the plastic template according to the performance requirements and the target color scheme comprises:

determining a performance parameter corresponding to the performance requirement;

determining a batching scheme in the database that matches the performance parameters, the batching scheme including performance parameters of the plastic template;

and determining a preparation scheme of the plastic sample plate according to the ingredient scheme and the target color matching scheme.

9. An inspection system, comprising an image acquisition module, an inspection platform, a memory, a processor, and a capturing program stored in the memory and executable on the processor, wherein the image acquisition module is connected to the processor, and the capturing program of the plastic template when executed by the processor implements the steps of the method for capturing the plastic template according to any one of claims 1-8.

10. A computer-readable storage medium, wherein the computer-readable storage medium stores a program for intercepting a plastic template, and the program for intercepting a plastic template when executed by a processor implements the steps of the method for intercepting a plastic template according to any one of claims 1-8.

Technical Field

The present invention relates to the field of plastic technologies, and in particular, to a method for intercepting a plastic template, a detection system, and a computer-readable storage medium.

Background

The plastic is widely applied and is an indispensable component in household appliances, automobiles, mobile phones, PCs, medical appliances and lighting appliances. The plastic manufacturer needs to produce the plastic according to the requirements of customers. Before mass production of plastics, a manufacturer needs to make a plastic template, and the manufacturer confirms the plastic template and a customer to determine whether to use the made plastic template as a model for mass production of plastics.

When a customer needs a plastic manufacturer to prepare plastic, the customer provides a plastic product, so that the plastic manufacturer can prepare a plastic template according to the plastic product for the customer to confirm. The chromatic value of the finished plastic product is detected by a light splitting detector during the preparation of the plastic sample plate. However, most of the plastic products are a whole part, such as the housing of an electric fan, and the spectral detector is only provided with a small hole for detecting the chromaticity value of the plastic products. Therefore, the plastic template is required to be cut from the plastic product, so that the spectral detector can detect the chromatic value of the plastic product.

Whether the light splitting detector can accurately and accurately judge whether the plastic finished product is related to the planeness of the intercepted plastic template or not is judged, and if the planeness of the plastic template is zero, the plastic template can be completely attached to the plane where the small holes are located. Under the condition that the two are completely attached, the colorimetric value of the plastic template detected by the light splitting detector is about accurate. However, the plastic template is cut by the human eye, and the flatness of the plastic template cut by the human eye may be very large due to the limitation of the human eye, so that the chromaticity value detected by the plastic template is inaccurate, the prepared plastic template is not the plastic required by the customer, and the plastic template needs to be repeatedly manufactured. The production capacity of the equipment for preparing the plastic is large, and the production capacity of the plastic template is extremely small, so that the equipment cost consumed by manufacturing the plastic template once is large, and the equipment cost is more consumed if the plastic template is prepared repeatedly.

Disclosure of Invention

The invention mainly aims to provide a plastic sample plate intercepting method, a detection system and a computer readable storage medium, aiming at solving the problem of high cost of plastic production equipment loss.

In order to achieve the above object, the present invention provides a method for intercepting a plastic sample plate, wherein the method for intercepting the plastic sample plate is applied to a detection system, the detection system comprises an image acquisition module and a detection platform, and the method for intercepting the plastic sample plate comprises the following steps:

after a plastic finished product provided by a customer is positioned on the detection platform, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles;

constructing a space model of the plastic finished product according to each image and the corresponding acquisition angle of each image;

determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance;

and marking the intercepted area so as to allow a manufacturer to intercept the plastic template in the intercepted area.

In an embodiment, the step of determining the cut-out area on the plastic product according to the spatial model includes:

selecting three reference points from all points on the space model, wherein all the reference points are not on the same straight line;

cutting the space model according to a reference plane formed by the reference points to obtain areas corresponding to the reference points;

determining the space coordinates of each point on the region according to the space model, and determining the distance between each point on the region and the reference plane according to the space coordinates;

and when the maximum distance is less than or equal to the preset distance, determining the area as a cutting area.

In an embodiment, after the step of determining the distances between the points on the area and the reference plane according to the spatial coordinates, the method further includes:

and when the maximum distance is larger than the preset distance, reselecting three reference points from each point on the space model, and returning to execute the step of cutting the space model according to the reference plane formed by each reference point.

In one embodiment, the area of the reference plane formed by each reference point is larger than a preset area.

In an embodiment, a triangle formed by the three reference points is a right triangle, and a length of a hypotenuse of the right triangle is greater than or equal to a preset length, and the preset length is determined according to the preset area.

In an embodiment, the detection system further includes a spectroscopic detector, and after the step of marking the intercepting region, the detection system further includes:

acquiring a first colorimetric value of the plastic template detected by the light splitting detector;

determining a second chromatic value matched with the first chromatic value in a database, wherein the database stores color schemes of a plurality of plastic sample plates and chromatic values corresponding to the color schemes;

and determining the color scheme corresponding to the second chroma value as the target color scheme of the plastic sample plate corresponding to the plastic template.

In an embodiment, after the step of determining the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template, the method further includes:

acquiring the performance requirement of a client on the plastic;

and determining a preparation scheme of the plastic template according to the performance requirement and the target color scheme.

In one embodiment, the step of determining a preparation scheme for the plastic template based on the performance requirements and the target color scheme comprises:

determining a performance parameter corresponding to the performance requirement;

determining a batching scheme in the database that matches the performance parameters, the batching scheme including performance parameters of the plastic template;

and determining a preparation scheme of the plastic sample plate according to the ingredient scheme and the target color matching scheme.

In order to achieve the above object, the present invention further provides a detection system, where the detection system includes an image acquisition module, a detection platform, a memory, a processor, and an interception program of the plastic template stored in the memory and executable on the processor, the image acquisition module is connected to the processor, and the interception program of the plastic template, when executed by the processor, implements the steps of the method for intercepting the plastic template.

In order to achieve the above object, the present invention further provides a computer-readable storage medium, in which an intercepting program of the plastic template is stored, and when the intercepting program of the plastic template is executed by a processor, the steps of the intercepting method of the plastic template are implemented.

The invention provides a plastic sample plate intercepting method, a detection system and a computer readable storage medium, wherein the detection system comprises an image acquisition module and a detection platform, after detecting that a plastic product provided by a client is positioned on the detection platform, the detection system controls the image acquisition module to acquire images of the plastic product at different acquisition angles, so that a space model of the plastic product is constructed according to each image and the acquisition angle corresponding to the image, the detection system determines an intercepting area on the plastic product according to the space model, the distance between a plane formed by the boundary of the intercepting area and a point on the intercepting area is smaller than a preset distance, and the detection system marks the intercepting area so as to allow a manufacturer to intercept the plastic sample plate in the intercepting area. Because the distance between the plane formed by the boundary of the intercepting region and the point on the intercepting region is smaller than the preset distance, the detection system can detect the region with the flatness approaching zero on the plastic finished product, the region is automatically marked for a manufacturer to intercept the plastic sample plate, the detecting personnel is not required to determine the intercepting region, the accuracy of the spectroscopic detector for analyzing the plastic template is ensured, the manufacturer is prevented from repeatedly preparing the plastic sample plate for the customer to confirm, and the cost of plastic generation equipment loss is lower.

Drawings

Fig. 1 is a schematic diagram of a hardware structure of a detection system according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart of a first embodiment of the cutting method for the plastic template of the present invention;

FIG. 3 is a flowchart illustrating a detailed process of step S30 in the second embodiment of the method for cutting out a plastic template according to the present invention;

FIG. 4 is a schematic flow chart of a third embodiment of the cutting method for plastic sample plate according to the present invention;

FIG. 5 is a schematic flow chart of a method for cutting a plastic template according to a fourth embodiment of the present invention;

FIG. 6 is a flowchart illustrating a step S90 of the fifth embodiment of the method for cutting out a plastic template according to the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The main solution of the embodiment of the invention is as follows: after a plastic finished product provided by a customer is positioned on the detection platform, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles; constructing a space model of the plastic finished product according to each image and the corresponding acquisition angle of each image; determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance; and marking the intercepted area so as to allow a manufacturer to intercept the plastic template in the intercepted area.

Because the distance between the plane formed by the boundary of the intercepting region and the point on the intercepting region is smaller than the preset distance, the detection system can detect the region with the flatness approaching zero on the plastic finished product, the region is automatically marked for a manufacturer to intercept the plastic sample plate, the detecting personnel is not required to determine the intercepting region, the accuracy of the spectroscopic detector for analyzing the plastic template is ensured, the manufacturer is prevented from repeatedly preparing the plastic sample plate for the customer to confirm, and the cost of plastic generation equipment loss is lower.

As shown in fig. 1, fig. 1 is a schematic diagram of a hardware structure of a detection system according to an embodiment of the present invention.

As shown in fig. 1, an embodiment of the present invention relates to a detection system, which may include: a processor 1001, such as a CPU, a communication bus 1002, a memory 1003, and an image capture module 1004. The communication bus 1002 is used for realizing connection and communication among the components, and the image acquisition module 1004 may be a camera or a video camera. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001. Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the detection system, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.

As shown in fig. 1, the memory 1003 as a computer storage medium may include a clipping program for the plastic template.

In the apparatus shown in fig. 1, the processor 1001 may be configured to call a clipping program of the plastic template stored in the memory 1003, and perform the following operations:

after a plastic finished product provided by a customer is positioned on the detection platform, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles;

constructing a space model of the plastic finished product according to each image and the corresponding acquisition angle of each image;

determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance;

and marking the intercepted area so as to allow a manufacturer to intercept the plastic template in the intercepted area.

According to the scheme, the detection system comprises an image acquisition module and a detection platform, after detecting that the plastic finished product provided by the customer is located on the detection platform, the detection system controls the image acquisition module to acquire images of the plastic finished product at different acquisition angles, so that a space model of the plastic finished product is constructed according to each image and the acquisition angle corresponding to the image, the detection system determines an intercepting area on the plastic finished product according to the space model, the distance between a plane formed by the boundary of the intercepting area and a point on the intercepting area is smaller than a preset distance, and the detection system marks the intercepting area to intercept the plastic sample plate in the intercepting area by the manufacturer. Because the distance between the plane formed by the boundary of the intercepting region and the point on the intercepting region is smaller than the preset distance, the detection system can detect the region with the flatness approaching zero on the plastic finished product, the region is automatically marked for a manufacturer to intercept the plastic sample plate, the detecting personnel is not required to determine the intercepting region, the accuracy of the spectroscopic detector for analyzing the plastic template is ensured, the manufacturer is prevented from repeatedly preparing the plastic sample plate for the customer to confirm, and the cost of plastic generation equipment loss is lower.

Based on the hardware architecture of the detection system, the embodiment of the plastic template interception method is provided.

Referring to fig. 2, fig. 2 is a first embodiment of the cutting method of the plastic template of the present invention, which includes the following steps:

step S10, after the plastic product provided by the customer is positioned on the detection platform, controlling the image acquisition module to acquire the image of the plastic product at different acquisition angles;

in this embodiment, the detection system includes a detection platform and an image capturing module. The detection platform is used for placing the plastic finished products provided by the customers, and the image acquisition module is used for acquiring images of the plastic finished products. The image acquisition module can be a camera, and the image acquisition module can rotate to gather the finished plastic product's of different angles image. In addition, the detection system also comprises a terminal, wherein the terminal is a control center and can be a computer. In this embodiment, the detection system may be used as the execution subject, and the terminal may also be used as the execution subject.

The manufacturer can place the plastic finished product on the detection platform and input the detection instruction on the detection system. At this time. The detection system starts the image acquisition module to acquire the detection platform image and identifies the image so as to determine whether the plastic finished product is placed on the detection platform. If the detection platform is provided with the plastic finished product, the detection system controls the image acquisition module to acquire images of the plastic finished product at different acquisition angles. The collection angle is an angle between a plane where a camera of the image collection module is located and a plane where the detection platform is located, each collection angle is a preset collection angle, and the detection system obtains images of the plastic products at different collection angles.

Step S20, constructing a space model of the plastic finished product according to each image and the corresponding collection angle of each image;

after the detection system obtains a plurality of images, the detection system extracts the plastic finished products in each image through built-in extraction software, and the extracted plastic finished products are spliced based on the acquisition angles corresponding to different images, so that a space model of the plastic finished products is constructed. In addition, when the plastic finished product is detected to be positioned on the detection platform, a client corresponding to the plastic finished product is determined, and therefore whether a space model of the plastic finished product provided by the client is stored or not is determined in the system. If not, the image acquisition module is controlled to acquire the images of the plastic finished product at different acquisition angles so as to form a space model of the plastic finished product. If yes, directly extracting the space model of the plastic finished product provided by the customer.

Step S30, determining an intercepted area on the plastic finished product according to the space model, wherein the distance between a plane formed by the boundary of the intercepted area and a point on the intercepted area is smaller than a preset distance;

after the detection system obtains the space model of the plastic finished product, the area with smaller planeness of the plastic finished product can be analyzed from the space model, and the area with smaller planeness is determined as the intercepting area. The distances between the plane formed by the boundary of the intercepting region and the points on the intercepting region are smaller than the preset distance, namely the flatness of the characteristic intercepting region is smaller. Specifically, the detection system may use the detection platform as a reference surface to construct a three-dimensional space coordinate, and then convert the coordinates of each pixel point of the plastic product in the image into the three-dimensional space coordinate through a conversion formula between the pixel coordinate and the real coordinate, so that each point on the space model of the plastic product has a corresponding space coordinate. The detection system can determine the intercepting area according to the space coordinates of each point on the space model. For example, the detection system obtains all points with the same height on the spatial model, the points form a plane, the points of the spatial model higher than the plane form a region, and the distance between the highest point in the region and the plane is smaller than a preset distance, which indicates that the flatness of the region is small, and the region can be used as the intercepting region.

And step S40, marking the intercepted area so that a manufacturer can intercept the plastic template in the intercepted area.

The space model is actually equivalent to the plastic product on the detection platform. After the detection system determines the intercepted area, each point of the boundary of the intercepted area can be determined, and each point has a corresponding space coordinate. The detection system can be provided with a transmitter of monochromatic visible light, the transmitter can move, and the detection system can control the transmitter to move so as to send the monochromatic visible light to the space coordinates of each point, so that the intercepted area is marked. The detection system can be provided with a plurality of emitters, and the intercepted area is marked by emitting monochromatic visible light through each emitter, so that a detector can mark the entity of the area on the plastic finished product according to the monochromatic visible light, namely, the intercepted area is marked by a line, and the intercepted area is intercepted by a plastic sample plate.

In the technical scheme provided by this embodiment, the detection system includes an image acquisition module and a detection platform, after detecting that a plastic finished product provided by a customer is located on the detection platform, the detection system controls the image acquisition module to acquire images of the plastic finished product at different acquisition angles, so as to construct a space model of the plastic finished product according to each image and the acquisition angle corresponding to the image, the detection system determines an interception area on the plastic finished product according to the space model, a distance between a plane formed by a boundary of the interception area and a point on the interception area is smaller than a preset distance, and the detection system marks the interception area so as to allow the manufacturer to intercept the plastic sample plate in the interception area. Because the distance between the plane formed by the boundary of the intercepting region and the point on the intercepting region is smaller than the preset distance, the detection system can detect the region with the flatness approaching zero on the plastic finished product, the region is automatically marked for a manufacturer to intercept the plastic sample plate, the detecting personnel is not required to determine the intercepting region, the accuracy of the spectroscopic detector for analyzing the plastic template is ensured, the manufacturer is prevented from repeatedly preparing the plastic sample plate for the customer to confirm, and the cost of plastic generation equipment loss is lower.

Referring to fig. 3, fig. 3 is a second embodiment of the method for cutting out a plastic template according to the present invention, wherein the step S30 includes:

step S31, selecting three reference points from each point on the space model, wherein each reference point is not on the same straight line;

in this embodiment, the detection system selects three reference points from each point on the spatial model representing the plastic product, where the three reference points are not located on the same straight line, that is, the three reference points are connected to form a plane, and the plane is defined as a reference plane.

Step S32, cutting the space model according to the reference plane formed by the reference points to obtain the corresponding areas of the reference points;

the detection system connects the three reference points to obtain a reference plane, and then cuts the space model along the reference plane to obtain an area corresponding to the reference points, wherein the area forms a curved surface.

Step S33, determining the space coordinates of each point on the area according to the space model, and determining the distance between each point on the area and the reference plane according to the space coordinates;

the detection system then determines the spatial coordinates of each point on the region, and the determination manner of the spatial coordinates refers to the above description, which is not repeated herein. The detection system determines the space coordinates of each point on the reference plane according to the space coordinates of the three reference points, so that the distance between each point on the area and the reference plane can be calculated, wherein the distance refers to the height of the point relative to the reference plane.

Step S34, determining whether the maximum distance is less than or equal to a preset distance;

the detection system acquires the maximum distance again and judges whether the maximum distance is smaller than or equal to a preset distance.

Step S35, when the maximum distance is less than or equal to the preset distance, determining the area as the intercepted area;

when the maximum distance is less than or equal to the preset distance, the flatness of the area can be judged to be close to zero, namely the area can be used as an intercepting area to intercept the plastic template.

Step S36, when the maximum distance is larger than the preset distance, three reference points are selected from each point on the space model again;

when the maximum distance is larger than the preset distance, the flatness of the area can be judged to be larger, and the area is not suitable for intercepting the plastic template. In this regard, the detection system reselects three fiducial points among the points on the spatial model, and the reference plane formed by the reselected fiducial points cannot be parallel to or overlap with the previous reference plane. So that the detection system determines the cutting area on the plastic finished product again.

It should be noted that the plastic template needs to cover the small hole of the spectroscopic detector, so the area of the intercepting region used as the intercepting plastic template needs to be larger than the preset area, and the preset area is larger than the area of the small hole. Therefore, when the detection system determines the three reference points, the reference plane formed by the three reference points needs to be larger than the preset area, so that the area of the intercepting region is larger than the preset area (the intercepting region is a curved surface, and the area of the curved surface is larger than the reference plane). In addition, in order to facilitate the detection system to calculate the area of the reference plane, three reference points selected by the detection system form a right triangle, the right triangle has a unique circumscribed circle, and the external interface forms the reference plane (boundary points on the reference plane are points on the space model). Therefore, the hypotenuse of the right triangle is the diameter of the circumscribed circle, the area of the circumscribed circle can be calculated through the diameter, the length of the hypotenuse of the right triangle is limited by the detection system to be larger than or equal to the preset length, and the preset length is determined according to the preset area.

In the technical solution provided in this embodiment, the detection system selects three reference points from each point on the spatial model, and cuts the spatial model according to a reference plane formed by the reference points to obtain an area, thereby determining a distance between each point on the area and the reference plane, and when the maximum distance is less than or equal to a preset distance, determining the area as a capture area.

Referring to fig. 4, fig. 4 is a third embodiment of the cutting method for plastic template of the present invention, based on the first or second embodiment, after the step S40, the method further includes:

step S50, acquiring a first colorimetric value of the plastic template detected by the light splitting detector;

step S60, determining a second chromatic value matched with the first chromatic value in a database, wherein the database stores color schemes of a plurality of plastic templates and chromatic values corresponding to the color schemes;

and step S70, determining the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template.

In this embodiment, the detection system further includes a spectroscopic detector. A database is arranged in the detection system, and the color scheme of the plastic sample plate and the chromatic value corresponding to the color scheme are stored in the database. The colorimetric values include a black-and-white colorimetric value L, a red-and-green colorimetric value a, and a yellow-and-blue colorimetric value b. L represents illuminance (luminance), which corresponds to brightness, a represents a range from red to green, and b represents a range from yellow to blue. L ranges from 0 to 120; the value range of a and b is from +120 to-120, wherein, the +120a is red, and the green is changed when the value range is gradually transited to-120 a; similarly, +120b is yellow and-120 b is blue. All colors are composed by alternating changes of these three values. The color matching scheme further comprises various pigments and mass ratios corresponding to the pigments, namely the colorimetric values of the plastic sample plate prepared by mixing the main materials with fixed mass according to the mass ratios corresponding to the pigments are the colorimetric values corresponding to the color matching scheme.

The main material is plastic granules which can be in any color. The color scheme may thus contain the color of the plastic granules of the plastic template. The color of the plastic particles can be any color. The detection system may be in communication with the spectroscopic detector. The light splitting detector is used for detecting a first colorimetric value of the plastic template provided by a customer. After the light splitting detector detects the plastic template, the chromatic value can be displayed, or the chromatic value is directly sent to the detection system, so that the detection system stores the first chromatic value of the plastic template.

After obtaining the first chroma value, the detection system traverses the chroma values of the color schemes in the database to find a second chroma value matching the first chroma value, wherein the color difference value between the second chroma value and the first chroma value is smaller than a preset color difference value, the color difference value comprises a black-white color difference value △ L, a red-green color difference value △ a and a yellow-blue color difference value △ b, and the color difference value △ L between the chroma value and the first chroma value of the color scheme is smaller than L0△ a is less than a0And the difference value △ b is less than b0Then, the colorimetric value of the color scheme can be determined as a second colorimetric value, L, matching the first colorimetric value0For presetting black and white color difference value, a0Is a preset red-green color difference value b0The preset yellow-blue color difference value is obtained.

After the detection system determines the second chromaticity value, the color scheme corresponding to the second chromaticity value can be determined as a target color scheme of the plastic sample corresponding to the plastic template, the target color scheme is displayed so that a plastic manufacturer can mix various pigments in the target color scheme, mass ratios corresponding to the various pigments and pre-configured plastic particles to obtain a mixed material, and the mixed material is placed into plastic production equipment so as to prepare the plastic sample.

In the technical scheme provided by this embodiment, the detection system obtains a first chromaticity value of the plastic template, and determines a second chromaticity value matched with the first chromaticity value in the database, so that the color scheme corresponding to the second chromaticity value is determined as the target color scheme of the plastic template corresponding to the plastic template. Because the color matching scheme of the prepared plastic sample plate and the chromatic value corresponding to the color matching scheme are stored in the detection system by the plastic manufacturer, the detection system can quickly and accurately determine the color matching scheme of the plastic required by the customer, the color matching of the plastic required by the customer is not required according to the experience of workers, the situation that the plastic sample plate is prepared for many times due to the fact that whether the plastic meets the requirement or not is repeatedly confirmed by the customer is avoided, and the cost loss of the plastic production equipment is low.

Referring to fig. 5, fig. 5 is a fourth embodiment of the method for cutting out a plastic sample according to the present invention, and based on the third embodiment, after the step S70, the method further includes:

step S80, obtaining the performance requirement of the customer for the plastic;

and step S90, determining a preparation scheme of the plastic template according to the performance requirement and the target color scheme.

In this embodiment, the customer has other performance requirements besides the color of the plastic. For example, customers require plastics to be translucent, transparent, or opaque; or the customer requires the hardness of the plastic to reach above the preset hardness; alternatively, the customer may request that the plastic be rough or smooth. That is, the performance requirements include at least one of hardness requirements, transparency requirements, finish requirements, and concealer requirements.

The plastic manufacturer can input the performance requirement of the customer and the customer number in the detection system for correlation storage, and the customer number is consistent with the number of the plastic template. After the second chrominance value is determined, the stored performance requirements of the customer can be obtained according to the number of the plastic template providing the first chrominance value.

After the detection system determines the second chromaticity value, the detection system determines the color scheme corresponding to the second chromaticity value. The detection system determines the ingredients and the mass ratio of the ingredients according to the performance requirements. For example, if the performance requirement contains a concealing degree requirement, the ingredient is titanium dioxide, and the larger the concealing degree is, the larger the mass ratio of the titanium dioxide is. The detection system can form a preparation scheme of the plastic sample plate according to the mass ratio of the main material to the main material, the mass ratio of the ingredients to the auxiliary material, and the mass ratio of the pigment to the pigment, so that a plastic manufacturer can prepare the plastic sample plate according to the preparation scheme.

In the technical scheme provided by this embodiment, the detection system obtains a first chroma value of a plastic template provided by a customer, determines a second chroma value matched with the first chroma value in a database, and obtains a performance requirement of the customer on the plastic, so that a preparation scheme of the plastic template is determined according to the performance requirement and a color scheme corresponding to the second chroma value. As the color matching scheme of the prepared plastic sample plate and the chromatic value corresponding to the color matching scheme are stored in the detection system by the plastic manufacturer, the detection system can quickly and accurately determine the color matching scheme of the plastic required by a customer, and then the preparation scheme of the plastic sample plate is obtained according to the determined color matching scheme and the performance requirement, the color matching of the plastic required by the customer is not needed according to the experience of workers, the situation that whether the plastic meets the requirement or not is repeatedly confirmed by the customer to prepare the plastic sample plate for multiple times is avoided, and the cost loss of the plastic production equipment is low.

Referring to fig. 6, fig. 6 is a fifth embodiment of the cutting method for plastic template of the present invention, and based on the fourth embodiment, the step S90 includes:

step S91, determining the performance parameters corresponding to the performance requirements;

step S92, determining a batching scheme matched with the performance parameters in the database, wherein the batching scheme comprises the performance parameters of the plastic template;

and step S93, determining a preparation scheme of the plastic template according to the ingredient scheme and the target color matching scheme.

In this embodiment, the performance requirements have corresponding performance parameters. For example, if the hardness of the plastic required by the customer needs to be higher than a certain hardness, the hardness is the performance parameter corresponding to the performance requirement. It is understood that the performance requirements include the performance parameters that are present, or the performance requirements include the performance parameters of the plastic that can be determined. For example, if the performance requirement is that the plastic is transparent, the inspection system can determine the performance parameters of the plastic based on the transparency.

And the detection system analyzes according to the input performance requirement so as to determine the performance parameter corresponding to the performance requirement. The database of the detection system stores a lookup table of performance parameters, ingredients and the mass ratio of the ingredients. The detection system determines the performance parameters, namely the mass ratio of the ingredients and the ingredients can be found in the lookup table according to the performance parameters, and the found mass ratio of the ingredients and the ingredients forms an ingredient scheme. Of course, various batching schemes can be stored in the detection system, and the batching schemes have corresponding performance parameters; and if the difference value between the performance parameters of the batching scheme and the performance parameters of the performance requirements is smaller than the preset difference value, the batching scheme is the color matching scheme matched with the performance parameters of the performance requirements.

After the batching scheme is determined, the detection system forms a preparation scheme of the plastic sample plate according to the batching scheme, the color matching scheme and the mass ratio of the main materials.

In the technical scheme provided by this embodiment, the detection system determines the performance parameters corresponding to the performance requirements, and determines the ingredient schemes matching the performance parameters in the database, so as to determine the preparation scheme of the plastic template according to the ingredient schemes and the color scheme corresponding to the second colorimetric value.

In one embodiment, where there are many color schemes stored in the database, a terminal traversing color scheme chromaticity values one by one may increase terminal traversal time. In this regard, when storing the color scheme, the chromaticity label of the color scheme may be determined according to the chromaticity value of the color scheme.

Specifically, the terminal determines the value of the black-and-white colorimetric value L, and determines the label corresponding to the black-and-white colorimetric value according to the value, for example, if L is less than 50, the plastic template is white, and if L is greater than or equal to 50, the plastic template is black. The terminal determines the value of the red-green colorimetric value a, and determines the label corresponding to the red-green colorimetric value according to the value, for example, if a is a + value, the plastic sample plate is red, and if a is a-value, the plastic sample plate is green. And finally, the terminal determines the value of the red-green chroma value b, and determines the label corresponding to the yellow-blue chroma value according to the value, for example, if b is a + value, the plastic sample plate is yellow, and if b is a-value, the plastic sample plate is blue. The three labels constitute the color scheme's chromaticity labels, which are, for example, black, red, and yellow.

The terminal determines the first chromaticity label of the plastic template according to the first chromaticity value, and the determination manner of the first chromaticity label refers to the above description, which is not repeated herein. The terminal searches for the second chromaticity label matched with the first chromaticity label in the database, namely the first chromaticity label is the same as the second chromaticity label, so that the color schemes corresponding to the second chromaticity labels are screened out from numerous color schemes to be used as the color schemes to be matched, and the searching amount of the terminal is greatly reduced. And the terminal selects the current color scheme from the color schemes to be matched so as to determine a second chroma value matched with the first chroma value.

In the technical scheme provided by this embodiment, the terminal determines the first chromaticity label corresponding to the first chromaticity value, and determines the color scheme corresponding to the second chromaticity label matched with the first chromaticity label as the color scheme to be matched in the database, so that the workload of searching the color scheme of the second chromaticity value matched with the first chromaticity value by the terminal is greatly reduced.

In an embodiment, the terminal obtains a predetermined color difference value corresponding to the first chrominance value, that is, the predetermined color difference value is L0、a0And b0. And the terminal determines a first preset color difference value in each preset color difference value. And the terminal determines a first color scheme meeting a first preset color difference value in the database, namely determines the color scheme with the color difference value between the chromatic value and the first chromatic value smaller than the first preset color difference value as the first color scheme. For example, the first predetermined color difference value is L0The terminal will have all △ L less than L0Is determined as the first color scheme.

After determining the first color scheme, the terminal is again unselected as the second color schemeAnd determining a second preset color difference value from the preset color difference values of the preset color difference values, and further determining a second color scheme meeting the second preset color difference value from the first color scheme. The second predetermined color difference value is different from the first predetermined color difference value, e.g., the first predetermined color difference value is L0If the second predetermined color difference value is a0Or b0. The first color scheme satisfying the second predetermined difference may be determined as the second color scheme, i.e. the chromaticity value of the second color scheme and the first color difference value are smaller than the second predetermined color difference value, e.g. the second predetermined color difference value is a0Then △ a is less than a0Is a second color scheme.

And after the second color scheme is determined, the terminal takes the last preset color difference value as the remaining preset color difference value, so that the second color scheme meeting the remaining preset color difference value is determined as the third color scheme. For example, the remaining predetermined color difference value is b0Then △ b is less than b0Is a third color scheme. And finally, determining the chromatic value of the third color scheme as a second chromatic value matched with the first chromatic value.

It is understood that the color difference value between the chromatic value and the first chromatic value of the color scheme is smaller than the preset color difference value, that is, the color scheme is determined to satisfy the preset color difference value.

In one embodiment, the terminal matches the first color value with each color scheme in the database to determine the color schemes for which the first color value matches.

And displaying all the matched color schemes and the chromatic values of the color schemes by the terminal, so that the manufacturer views each color scheme and the chromatic values of the color schemes. The manufacturer may compare the first chromaticity value of the plastic template with each displayed chromaticity value, thereby selecting a target color scheme among the plurality of color schemes.

Each color scheme displayed by the terminal is provided with a corresponding selection button, and if the fact that the selection button is clicked is detected, the terminal can be regarded as detecting the selection operation of the color scheme. And the terminal determines the chromatic value of the color scheme corresponding to the selected operation as the second chromatic value matched with the first chromatic value, namely the chromatic value of the color scheme of the clicked selection key is used as the second chromatic value matched with the first chromatic value.

In one embodiment, the terminal may calculate the total color difference value according to the black-and-white color difference value, the red-and-green color difference value, and the yellow-and-blue color difference value, specifically, the total color difference value △ E2=△L2+△a2+△b2That is, the predetermined formula is △ E2=△L2+△a2+△b2. And after the terminal obtains each color difference value corresponding to the second chromatic value, bringing each color difference value into a preset formula, thereby calculating to obtain a total color difference value corresponding to the second chromatic value.

The size of the total color difference value can reflect the difference between the plastic template stored in the database and the plastic template provided by the customer, and the larger the total color difference value is, the more obvious the difference between the two is. The terminal may determine the color scheme corresponding to the second chroma value smaller than the preset total chroma value as the target color scheme of the plastic template.

In one embodiment, people are more sensitive to black and white colors. Therefore, the terminal needs to determine the target color matching scheme of the plastic sample plate by combining the black and white difference value and the total color difference value.

Specifically, after determining the total color difference value corresponding to each second chroma value, the terminal determines each first color scheme with the total color difference value smaller than the preset total color difference value. And the terminal determines the black-white difference value corresponding to each first color scheme, and further determines the first color scheme with the black-white difference value smaller than the preset black-white difference value as the target color scheme corresponding to the plastic sample plate. It is understood that the total color difference value between the chromatic value of the target color scheme and the chromatic value of the plastic template is smaller than the preset total color difference value, and the black-white difference value is smaller than the preset black-white difference value.

In one embodiment, people are more sensitive to black and white colors. Therefore, the terminal needs to determine the target color matching scheme of the plastic sample plate by combining the black and white difference value and the total color difference value.

Specifically, after determining the total color difference value corresponding to each second chroma value, the terminal determines each second color scheme with a black-white difference value smaller than a preset black-white difference value. And the terminal determines a second color scheme with the total color difference value smaller than the preset total color difference value and determines the second color scheme as a target color scheme corresponding to the plastic sample plate. It is understood that the total color difference value between the chromatic value of the target color scheme and the chromatic value of the plastic template is smaller than the preset total color difference value, and the black-white difference value is smaller than the preset black-white difference value.

In one embodiment, the terminal determines the smallest total color difference value among the respective total color difference values. And the terminal judges whether the minimum total color difference value is smaller than a preset total color difference value or not.

And if the minimum total color difference value is smaller than the preset total color difference value, determining the color scheme corresponding to the minimum total color difference value as the target color scheme of the plastic sample plate, and determining the color scheme with the minimum difference from the plastic template as the target color scheme of the plastic sample plate.

In one embodiment, there is still a slight difference between the second chrominance value and the first chrominance value. Therefore, the plastic template prepared according to the color scheme of the second chromaticity value is not necessarily the plastic required by the customer. In this regard, the terminal may adjust the second chromaticity value to obtain a plurality of color schemes to be determined. The second chromatic value is adjusted to be a black-white chromatic value, a red-green chromatic value and a yellow-blue chromatic value, and the adjustment amplitude is small, namely the adjustment of the second chromatic value by the terminal is fine adjustment. The fine adjustment can be characterized by that each color difference value between the chromatic value and the second chromatic value of the color scheme to be determined is smaller than a corresponding preset threshold value, and the color difference values comprise a black-white color difference value, a red-green color difference value and a yellow-blue color difference value.

The second chromaticity value may be fine-tuned a plurality of times, each fine-tuning resulting in one color scheme to be determined. And performing one up-adjustment and one down-adjustment on the second chromatic value to obtain two color schemes to be determined in consideration of cost. And the terminal determines the color scheme to be determined and the color scheme corresponding to the second chromatic value as the target color scheme and displays each target color scheme, so that the manufacturer can prepare different plastic sample plates according to different target color schemes. And mixing the various pigments in the target color matching scheme, the corresponding mass ratios of the various pigments and the pre-prepared plastic particles by a plastic manufacturer to obtain a mixed material, and putting the mixed material into plastic production equipment to prepare a plastic sample.

And the plastic sample plate prepared according to the down-regulated color scheme is a lower limit plastic sample plate, the plastic sample plate prepared according to the up-regulated color scheme is an upper limit plastic sample plate, and the plastic sample plate prepared according to the unadjusted color scheme is a middle limit plastic sample plate.

In an embodiment, the preset adjustment value is stored in the terminal, and the preset adjustment value is an absolute value, and the preset adjustment value includes a preset adjustment value corresponding to a black-and-white chromatic value, a preset adjustment value corresponding to a red-and-green chromatic value, and a preset adjustment value corresponding to a yellow-and-blue chromatic value.

After the terminal determines the second chromatic value, acquiring a preset adjustment value, and accordingly increasing the corresponding preset adjustment value of the black-white chromatic value, the red-green chromatic value and the yellow-blue chromatic value in the second chromatic value to obtain a third chromatic value; and then, correspondingly reducing preset adjustment values of the black-white chromatic value, the red-green chromatic value and the yellow-blue chromatic value in the second chromatic value to obtain a fourth chromatic value.

And the terminal determines the color scheme to be determined corresponding to the third chroma value and the color scheme corresponding to the fourth chroma value.

In an embodiment, the terminal stores a look-up table of the mass ratio of the black-white colorimetric value, the red-green colorimetric value and the yellow-blue colorimetric value to the pigment. Specifically, the numerical value of the black-white colorimetric value is divided into a plurality of intervals, each interval of the black-white colorimetric value corresponds to the pigment and the pigment ratio, the numerical value of the red-green colorimetric value is divided into a plurality of intervals, the numerical value of the yellow-blue colorimetric value is divided into a plurality of intervals, and one interval of the black-white colorimetric value, one interval of the red-green colorimetric value and one interval of the yellow-blue colorimetric value correspond to the mass ratio of the pigment to the pigment. After the terminal obtains the third chroma value, the terminal can determine respective intervals according to the black-white chroma value, the red-green chroma value and the yellow-blue chroma value of the third chroma value, so that the pigment and the mass ratio of the pigment are determined in the lookup table according to the three intervals. An interval may be a range of values or may be a specific number. The lookup table is obtained by arranging the pigment, the pigment mass ratio and the chromatic value required by plastic cement preparation of a plastic cement manufacturer, and the lookup table is stored in the terminal.

For example, the terminal may determine the third chroma value according to the third chroma value and the look-up table, and the terminal may determine the first pigments and the mass ratios of the first pigments according to the third chroma value and the look-up table, where the plurality of first pigments are different, so as to form the color scheme to be determined corresponding to the third chroma value according to the mass ratios of the first pigments and the third pigments. Similarly, after the terminal determines the fourth chroma value, the mass ratio of the second pigments and the mass ratio of the second pigments are determined according to the fourth chroma value and the lookup table, so that the color scheme to be determined corresponding to the fourth chroma value is formed according to the mass ratio of each second pigment and each second pigment.

In an embodiment, after determining the third chroma value and the fourth chroma value, the terminal may determine a color scheme matching the third chroma value in the database, and determine a color scheme matching the fourth chroma value, where the specific determination scheme refers to a process in which the terminal determines a color scheme of the second chroma value matching the first chroma value in the database, which is not described herein again.

After the terminal determines the color scheme with the third chroma value and the fourth chroma value matched, the matched color scheme can be determined as the color scheme to be determined.

In one embodiment, when the second chrominance value is adjusted, the terminal needs to determine the adjustment amount according to the specific value of the second chrominance value. Specifically, assuming that the chromatic value of black and white is 50, i.e. the plastic is more clear in black and white, even if the adjustment amount of the chromatic value of black and white is smaller, the change of black and white of the plastic is more obvious, therefore, the adjustment amount is smaller between 30-60 of the chromatic value of black and white, and can be slightly larger than 30-60 of the chromatic value of black and white. It will be appreciated that the second chrominance values differ in value and by the amount of adjustment. The terminal stores the interval of each colorimetric value and the increment value and decrement value corresponding to the interval, the interval tends to be neutral color (the proportion of the two colors is not large, such as black and white color, red and green color and yellow and blue color), and the increment value and decrement value are small. While the interval tends to be a certain color, the increment value and decrement value corresponding to the interval may be slightly larger, for example, the chromaticity value of red and green is +100, and tends to be red, and the increment value and decrement value are slightly larger, and the variation of the shade of red on the plastic is not very large. It should be noted that, the absolute values of the increment value and the decrement value corresponding to the interval are both smaller than the preset value, so as to ensure that the second chrominance value is finely adjusted.

And the terminal determines increment values and decrement values corresponding to the black-white chromatic value, the red-green chromatic value and the yellow-blue chromatic value according to the second chromatic value, so that the second chromatic value is increased according to each increment value to obtain a third chromatic value, the second chromatic value is reduced according to each decrement value to obtain a fourth chromatic value, and the color scheme to be determined corresponding to the third chromatic value and the fourth chromatic value is determined. The determination of the color scheme to be determined refers to the above description, and is not repeated herein.

In one embodiment, the performance requirement may be a relatively fuzzy requirement. For example, customers only require transparency, opacity, or translucency for transparency. That is, the terminal can determine the ingredients and the mass ratio of the ingredients according to the high, medium and low performance requirements. Different performance requirements correspond to different ingredients. For example, concealer requires the ingredient to be titanium dioxide. And the mass ratio corresponding to the high, medium and low performance requirements decreases in turn.

In addition, the performance requirements vary as the customers require plastics made by the plastics manufacturer to be used for different purposes. For example, if plastic is used for the housing, the performance requirements are high smoothness and concealer; for another example, if plastic is used as a flange for equipment, the performance requirements are corrosion resistance, low requirements for smoothness, and no concealer requirements. It is understood that the performance requirement may be the use of the plastic, and the terminal determines the ingredients of the plastic template and the mass ratio of the ingredients according to the use; that is, the terminal stores the mapping relation table of the plastic usage, the ingredients and the ingredient mass ratio, and the ingredient and ingredient mass ratio of the plastic sample plate can be determined by the plastic usage as the performance requirement.

The main material of the plastic template is plastic particles, and the mass ratio of the main material is generally a fixed value and does not change. And the terminal acquires the mass ratio of the main materials of the plastic sample plate, so that the preparation scheme of the plastic sample plate is formed according to the ingredients, the mass ratio of the main materials and the color scheme corresponding to the second chromaticity value.

In one embodiment, since the plastic production equipment has a lower limit value for the amount of plastic generated, the plastic production equipment can be started to generate the plastic template when the material for preparing the plastic template reaches the lower limit value. More than ten plastic templates can be produced by one-time material production, and the performance parameters of each plastic template are basically consistent. Therefore, after each time the plastic manufacturer produces the plastic template, the plastic manufacturer will stock the remaining plastic templates. And if other customers have the same requirements, the plastic template in stock is provided for the customers without preparing the plastic template.

In this regard, after determining the target preparation scheme, the terminal searches the database for a preparation scheme that matches the target preparation scheme. Specifically, the terminal determines a first ingredient and a first pigment in a target preparation scheme, and then brushes out a first preparation scheme with the first pigment and the first ingredient from a database; the terminal further determines a first mass ratio of the first ingredients and a second mass ratio of the first pigments; and finally, the terminal determines whether a preparation scheme close to the first mass ratio and the second mass ratio exists in each first preparation scheme, and if so, the terminal can judge that the database stores the preparation scheme matched with the target preparation scheme. The approach to the first mass ratio and the second mass ratio is: the difference between the mass ratio of the pigments of the preparation scheme and the mass ratio of the first pigment in the database is less than the preset mass ratio difference, and the difference between the mass ratio of the ingredients of the preparation scheme and the mass ratio of the first ingredient in the database is less than the preset mass ratio difference. When the terminal judges that the preparation scheme matched with the target preparation scheme is stored in the database, the number of the matched preparation scheme is obtained, and the plastic sample plate corresponding to the number is output as prompt information of the plastic sample plate corresponding to the plastic template, namely, the plastic manufacturer is prompted to adopt the stock plastic sample plate corresponding to the number as the plastic sample plate corresponding to the plastic template provided by the customer.

And when the terminal judges that the preparation scheme matched with the target preparation scheme is not stored in the database, outputting the target preparation scheme to allow a manufacturer to prepare the plastic template corresponding to the plastic template based on the target preparation scheme.

In one embodiment, a portion of the plastic template remains after the plastic manufacturer produces the plastic template according to the target manufacturing recipe. The plastic manufacturer numbers them and inputs the numbers into the terminal.

In the technical solution provided in this embodiment, the terminal obtains the input serial number, and uses the serial number as the serial number corresponding to the target preparation scheme, so that the target preparation scheme and the serial number are stored in the database in a related manner, so that a manufacturer can provide the plastic template corresponding to the target preparation scheme to other customers having the same plastic requirements by using the plastic template corresponding to the target preparation scheme.

In one embodiment. The light splitting detector is used for detecting a second chromaticity value of the plastic sample plate. The beam split detector can display the second chromaticity value after the plastic sample plate is detected, or directly sends the second chromaticity value to the terminal, so that the terminal stores the second chromaticity value of the plastic sample plate.

It should be noted that the plastic template is prepared from a target color scheme determined by the manufacturer according to the first chromaticity value of the plastic template provided by the customer. The terminal stores color schemes corresponding to the multiple plastic sample plates and chromatic values corresponding to the color schemes, determines the target color schemes of the plastic sample plates according to the chromatic values of the plastic templates, and then prepares the plastic sample plates according to the target color schemes.

The terminal determines a black-white difference value, a red-green difference value and a yellow-blue difference value between the second chrominance value and the first chrominance value, and determines a total color difference value between the second chrominance value and the first chrominance value according to the black-white difference value, the red-green difference value and the yellow-blue difference value, wherein the color difference values comprise a black-white difference value △ L, a red-green difference value △ a and a yellow-blue difference value △ b, and a total color difference value △ E2=△L2+△a2+△b2And after the terminal obtains each color difference value between the second chroma value and the first chroma value, substituting each color difference value into a formula, thereby calculating to obtain the total color difference value between the second chroma value and the second chroma value.

The size of the total color difference value can reflect the difference between the prepared plastic template and the plastic template provided by the customer, and the larger the total color difference value is, the more obvious the difference between the two is. And after the total color difference value is obtained through calculation, judging whether the total color difference value is larger than a preset total color difference value, if so, judging that the difference between the prepared plastic template and the plastic template provided by the customer is larger, namely the preparation of the plastic template fails. And then, the terminal acquires each color scheme to be determined corresponding to the target color scheme. And the manufacturer takes one matched color scheme as the target color scheme to prepare the plastic sample plate. And if the currently prepared plastic sample plate fails, preparing the plastic sample plate by adopting other determined color matching schemes.

The terminal re-determines the target color scheme among the various color schemes to be determined. It should be noted that the newly determined target color scheme is different from the previous target color scheme, i.e., the color scheme of the currently prepared plastic template is not included in each color scheme to be determined. And after the terminal re-determines the target color scheme, outputting the re-determined target color scheme for the manufacturer to prepare the plastic sample plate according to the re-determined target color scheme.

In one embodiment, after saving each color scheme to be determined, the terminal may assign a corresponding priority to each color scheme to be determined. Specifically, the plastic template prepared by each color scheme to be determined is theoretically less different from the plastic template. The difference between the plastic template and the plastic template is determined through the total color difference value and the black-white difference value between the plastic template and the plastic template, so that the weight corresponding to the total color difference value and the black-white difference value is given, the black-white difference value and the total color difference value of the color scheme to be determined are weighted and calculated according to the weight, and the reference value of each color scheme to be determined is obtained. The smaller the reference score, the least difference between the plastic template and the plastic template is indicated. And the terminal carries out the priority of the color scheme to be determined according to the reference score, and the smaller the reference score is, the higher the priority of the color scheme to be determined is.

And after determining the priority of each color scheme to be determined, the terminal stores the color schemes to be determined in association with the priority. When the plastic sample plate prepared by the target color scheme is greatly different from the plastic template, the terminal acquires each color scheme to be determined and the priority of each color scheme to be determined, so that the color scheme to be determined with the highest priority is re-determined as the target color scheme, and the plastic sample plate is prepared again.

In one embodiment, the customer provides the manufacturer with a plastic template, and then obtains a first chromaticity value of the plastic template through the spectrometer. And color schemes of a plurality of plastic templates and chromatic values corresponding to the color schemes are stored in the terminal.

And the terminal determines a color scheme matched with the first chromatic value in the database, and adjusts the second chromatic value of the color scheme to obtain a plurality of color schemes to be determined. And the terminal outputs the color scheme to be determined and the color scheme corresponding to the chromatic value, so that the manufacturer can prepare a corresponding plastic sample plate for each output color scheme.

It should be noted that, the size of the total color difference value can reflect the difference between the plastic template stored in the database and the plastic template provided by the customer, and the larger the total color difference value is, the more obvious the difference between the two is. Therefore, the total color difference value between the chromatic value of each color scheme output by the terminal and the first chromatic value is smaller than the preset total color difference value, that is, the total color difference value between the color difference value of the prepared plastic sample plate and the color difference value of the plastic template is smaller than the preset total color difference value.

After preparing a plurality of plastic templates, placing the plastic templates and performance data of the plastic templates in a sample delivery file, wherein the performance data comprises chromatic values, hardness, transparency, smoothness and concealing parameters of the plastic templates. The manufacturer distributes the sample file to the client, so that the client can confirm the sample file according to the plastic template in the sample file and the performance parameters of the plastic template. After the customer confirms, the customer fills confirmation information in the confirmation area of the sample sending file, and then returns the confirmed sample sending file to the manufacturer.

The terminal determines the target plastic template confirmed by the customer in the sample file. The terminal can determine the target plastic template according to the confirmation information in the sample sending file input by the manufacturer. In addition, the terminal also has an optical character recognition function. The terminal collects the image of the plastic sample plate confirmation area in the sample sending file, so that binarization processing is carried out on the image, the binarization processed image is identified through an optical character identification function so as to identify character information in the image, and the target plastic sample plate is determined according to the character information.

In this embodiment, the customer has other performance requirements besides the color of the plastic. For example, customers require plastics to be translucent, transparent, or opaque; or the customer requires the hardness of the plastic to reach above the preset hardness; alternatively, the customer may request that the plastic be rough or smooth. That is, the performance requirements include at least one of hardness requirements, transparency requirements, finish requirements, and concealer requirements.

The plastic manufacturer can input the performance requirement of the customer and the customer number in the terminal for correlation storage, and the customer number is consistent with the number of the plastic template. After determining the first colorimetric value of the plastic template, the terminal may obtain the stored performance requirement of the customer according to the serial number of the plastic template providing the first colorimetric value. And the terminal determines the ingredients and the mass ratio of the ingredients according to the performance requirement so as to form an ingredient scheme, and stores the ingredient scheme. For example, if the performance requirement contains a concealing degree requirement, the ingredient is titanium dioxide, and the larger the concealing degree is, the larger the mass ratio of the titanium dioxide is.

And after the terminal determines the target plastic sample plate, the terminal obtains the color scheme matched with the plastic template and the stored color scheme, and then determines the identity of the client. The identity may be the name, code number, etc. of the customer. Specifically, each sample sending file has a corresponding number, and the number can be an identification of the client. The terminal collects the serial numbers of the sample sending files through the camera, and accordingly the identity of the client is determined according to the serial numbers. And finally, the terminal stores the color matching scheme, the ingredient scheme and the identity in an associated manner.

In one embodiment, the detection system comprises a detection platform, an image acquisition module and a terminal. The terminal is the control center. The detection platform is used for placing the plastic finished products provided by the customers, and the image acquisition module is used for acquiring images of the plastic finished products. The image acquisition module can be a camera, and the image acquisition module can rotate to gather the finished plastic product's of different angles image.

The manufacturer can place the plastic finished product on the detection platform and input the detection instruction on the terminal. At this time. The terminal starts the image acquisition module to acquire the detection platform image and identifies the image so as to determine whether the plastic finished product is placed on the detection platform. If the detection platform is provided with the plastic finished product, the terminal controls the image acquisition module to acquire images of the plastic finished product at different acquisition angles. The collection angle is an angle between a plane where a camera of the image collection module is located and a plane where the detection platform is located, each collection angle is a preset collection angle, and the terminal obtains images of the plastic finished products at different collection angles.

After the terminal obtains a plurality of images, the terminal pulls out the plastic finished product in each image through built-in pulling out software to the plastic finished product that pulls out is spliced to the collection angle that corresponds based on different images, thereby founds the off-the-shelf space model of plastic. In addition, when the plastic finished product is detected to be positioned on the detection platform, a client corresponding to the plastic finished product is determined, and therefore whether a space model of the plastic finished product provided by the client is stored or not is determined in the system. If not, the image acquisition module is controlled to acquire the images of the plastic finished product at different acquisition angles so as to form a space model of the plastic finished product. If yes, directly extracting the space model of the plastic finished product provided by the customer.

After the terminal obtains the space model of the plastic finished product, the region with smaller planeness of the plastic finished product can be analyzed from the space model, and the region with smaller planeness is determined as the intercepting region. The distances between the plane formed by the boundary of the intercepting region and the points on the intercepting region are smaller than the preset distance, namely the flatness of the characteristic intercepting region is smaller. Specifically, the terminal may use the detection platform as a reference surface to construct a three-dimensional space coordinate, and then convert the coordinates of each pixel point of the plastic product in the image into the three-dimensional space coordinate through a conversion formula between the pixel coordinate and the real coordinate, so that each point on the space model of the plastic product has a corresponding space coordinate. And the terminal can determine the intercepting area according to the space coordinates of each point on the space model. For example, the terminal acquires all points with the same height on the spatial model, the points form a plane, the points of the spatial model higher than the plane form a region, and the distance between the highest point in the region and the plane is smaller than a preset distance, which indicates that the flatness of the region is small and can be used as a capture region.

The space model is actually equivalent to the plastic product on the detection platform. After the terminal determines the intercepting area, each point of the boundary of the intercepting area can be determined, and each point has a corresponding space coordinate. The terminal can be provided with a transmitter of monochromatic visible light, the transmitter can move, and the terminal can move by controlling the transmitter to send the monochromatic visible light to the space coordinates of each point, so that the intercepted area is marked. The terminal can set up a plurality of transmitters, marks the intercepting region through monochromatic visible light of each transmitter transmission to make the measurement personnel carry out the entity mark in this region on to the plastic finished product according to monochromatic visible light, also promptly to intercepting regional marking off mark, thereby carry out the intercepting of plastic model to this intercepting region.

In one embodiment, the terminal selects three reference points from each point on the spatial model representing the plastic product, the three reference points are not on the same straight line, that is, the three reference points are connected to form a plane, and the plane is defined as a reference plane.

And the terminal connects the three reference points to obtain a reference plane, and then cuts the space model along the reference plane to obtain an area corresponding to the reference point, wherein the area forms a curved surface.

The terminal then determines the spatial coordinates of each point on the region, and the determination manner of the spatial coordinates refers to the above description, which is not repeated herein. And the terminal determines the space coordinates of each point on the reference plane according to the space coordinates of the three reference points, so that the distance between each point on the area and the reference plane can be calculated, wherein the distance refers to the height of the point relative to the reference plane.

And the terminal acquires the maximum distance again and judges whether the maximum distance is smaller than or equal to the preset distance.

When the maximum distance is less than or equal to the preset distance, the flatness of the area can be judged to be close to zero, namely the area can be used as an intercepting area to intercept the plastic template.

When the maximum distance is larger than the preset distance, the flatness of the area can be judged to be larger, and the area is not suitable for intercepting the plastic template. In this regard, the terminal reselects three reference points among the points on the spatial model, and the reference plane formed by the reselected reference points cannot be parallel to or overlap with the previous reference plane. So that the terminal determines the cutting area on the plastic finished product again.

It should be noted that the plastic template needs to cover the small hole of the spectroscopic detector, so the area of the intercepting region used as the intercepting plastic template needs to be larger than the preset area, and the preset area is larger than the area of the small hole. Therefore, when the terminal determines the three reference points, a reference plane formed by the three reference points needs to be larger than a preset area, so that the area of the intercepting region is larger than the preset area (the intercepting region is a curved surface, and the area of the curved surface is larger than the reference plane). In addition, in order to facilitate the terminal to calculate the area of the reference plane, three reference points selected by the terminal form a right triangle, the right triangle has a unique circumscribed circle, and the external interface forms the reference plane (boundary points on the reference plane are points on the space model). Therefore, the hypotenuse of the right triangle is the diameter of the circumscribed circle, the area of the circumscribed circle can be calculated through the diameter, the length of the hypotenuse of the right triangle limited by the terminal is larger than or equal to the preset length, and the preset length is determined according to the preset area.

The invention also provides a detection system, which comprises an image acquisition module, a detection platform, a memory, a processor and an interception program of the plastic template, wherein the interception program of the plastic template is stored in the memory and can be operated in the processor, the image acquisition module is connected with the processor, and when being executed by the processor, the interception program of the plastic template realizes the steps of the interception method of the plastic template in the embodiment.

The invention further provides a computer-readable storage medium, where the computer-readable storage medium stores an interception program of the plastic template, and when the interception program of the plastic template is executed by a processor, the computer-readable storage medium implements the steps of the interception method of the plastic template according to the above embodiment.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种压电驱动局部单点推扫的水质状态探测装置及其推扫方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!