A method and system for detecting disease or damage in livestock
The integration of hyperspectral imaging and neural network models in the offal quality assessment system addresses the inefficiencies of manual methods by enabling real-time, accurate detection of diseases and quality assessment in offal, enhancing disease management and meat quality control in abattoirs.
Patent Information
- Application Number
- PCT/AU2024/050149
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2024-02-23
- Publication Date
- 2024-08-29
AI Technical Summary
Current methods for detecting diseases and assessing the quality of offal in livestock, particularly in cattle, are labor-intensive and inefficient, often relying on manual visual assessment which is unsuitable for detecting hidden or spectral anomalies, leading to challenges in early disease detection and ensuring meat quality.
A system utilizing hyperspectral cameras and pre-trained neural network models for real-time image processing to determine the health and quality of offal, segmenting healthy and unhealthy tissue, and assigning health scores to alert producers and facilitate timely veterinary intervention or quality control.
This approach enables early detection of diseases, minimizes meat consumption of reduced quality, and reduces labor intensity by providing accurate, real-time health and quality assessments, improving disease management and meat quality control in abattoirs.
Smart Images

Figure AU2024050149_29082024_PF_FP_ABST
Abstract
Description
A method and system for detecting disease or damage in livestockField of the disclosure
[0001] The present disclosure relates to methods and systems of detecting disease or damage, assessing the quality of offal, and detecting illness in livestock, preferably cattle.Background of the disclosure
[0002] Farming livestock are susceptible to disease. For example, bovine respiratory disease is one of the major challenges for cattle herds. It is the most common cause of illness and death in Australian feedlot cattle.
[0003] Respiratory diseases are caused by a variety of bacterial and viral agents. Clinical signs include fever, anorexia, reluctance to move, respiratory distress, and sudden death. Infections with respiratory viruses and bacteria are characterized by haemorrhagic necrotizing pneumonia and fibrinous pleuritic adhesions. The illness is challenging because it is contagious, recovered animals can be carriers, in some species morbidity can reach 50%, and for certain farming animals such as cattle it is impractical to routinely monitor for the onset of infection in a herd.
[0004] Where infections are established in a heard there can be other challenges. The infection can become difficult to identify with the infected only demonstrating reduced growth and / or persistent cough.
[0005] The infection causes lung lesions but severity of lesions is not always associated with equally severe clinical signs. Infected animals are at increased risk of death in transit and their tissues may not be fit for human or animal consumption.
[0006] There is a need to minimise the impact of diseases, such as respiratory disease, on livestock.
[0007] The majority of the research in relation to methods for capture of health data in offal relates to infections in pigs. Further understanding and improved identificationmethods are needed for other species such as ruminants where different tissue volumes and shapes exist.
[0008] Consequently, there is a recently increased need for improvements in monitoring the quality of offal and a willingness to explore options not previously of interest.
[0009] Current offal quality monitoring in abattoirs relies on visual and manual assessment by meat inspectors. This is a labour-intensive process. Consequently, data generated may not be routinely recorded.
[0010] Reference to any prior art in the specification is not an acknowledgment or suggestion that this prior art forms part of the common general knowledge in any jurisdiction or that this prior art could reasonably be expected to be understood, regarded as relevant, and / or combined with other pieces of prior art by a skilled person in the art.Summary of the disclosure
[0011] The present disclosure provides new methods and systems for the management of diseases, such as respiratory disease, in livestock. The methods assist with early detection of infection so that the producer is alerted to the need for veterinary assistance, or changes to management practices, to ensure minimal damage has been sustained by the livestock or to confirm that current practices are adequate and adjustments are not needed.
[0012] Additionally or alternatively, the present disclosure provides an improved method and system for monitoring the quality of offal. These improved processes will minimise the risk of consumption of meat and offal of reduced quality.
[0013] These advances are achieved by the development of an offal quality assessment and health scoring system for implementation in an abattoir. The system collects data in real time allowing for prompt notification of any livestock illness to the abattoir that could be incorporated into feedback for the producer.
[0014] For certain types of assessments, in person or manual visual detection is suitable. However, in some species visual detection with the human eye is unsuitable due to one or more of: the size of the lesion, hidden lesion location, or where easiervisualisation occurs outside of the visual spectrum. In some embodiments, a hyperspectral camera, alternatively or in addition to a standard light camera and / or visual assessment, is used to image the meat or offal of the livestock. Alternatively, only a standard light camera and / or hyperspectral camera is used for detection.
[0015] According to a first aspect of the invention there is provided a method for diagnosing disease in offal of livestock comprising: capturing an image of the offal; inputting the image of the offal to one or more pre-trained neural network models of healthy or unhealthy tissue for processing, the processing including the steps of: (i) determining, from the input image of the offal, healthy and unhealthy tissue; (ii) determining, from the input image of the offal, a portion of the offal having healthy and unhealthy tissue; and (iii) determining a health score representing the health of the slaughtered livestock prior to slaughter based on steps (i) and (ii).
[0016] In some embodiments, the method further comprises communicating the health score to an owner, supplier or slaughterer of the livestock.
[0017] In some embodiments, the method further comprises alerting the owner of the herd of livestock to isolate, monitor, assess and / or treat the living members of the herd based on the health score.
[0018] In some embodiments, the image of offal is captured from a hyperspectral camera and / or standard light camera.
[0019] In some embodiments, the offal is obtained from a slaughtered ruminant or bird.
[0020] In some embodiments, the offal is a lung and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; and (d) lung cysts or abscesses.
[0021] In some embodiments, the offal is a liver and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b) nematode, cestode or trematode infestation; (c) aflatoxicosis; (d) damage to liver tissue from toxicity or disease; and (e) defects.
[0022] In some embodiments, the offal is a kidney and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects.
[0023] According to a second aspect of the invention there is provided a method of processing offal at an abattoir comprising: capturing an image of the offal; inputting the image of the offal to one or more pre-trained neural network models of healthy or unhealthy tissue for processing, the processing including the steps of: (i) determining from the input image of the offal, healthy and unhealthy tissue; (ii) determining, from the input image of the offal, a portion of the offal having healthy and unhealthy tissue; and (iii) one or more of determining a health score representing the health of the slaughtered livestock prior to slaughter and determining whether the offal is suitable for human consumption, suitable for animal consumption or not suitable for consumption based on steps (i) and (ii).
[0024] In some embodiments, the offal is lung and / or liver offal.
[0025] In embodiments where the offal is lung and / or liver offal, in step (ii) the offal is determined as having 0 to <10% or 1 to <10% of unhealthy tissue and / or >90% to 100% or >90% to 99% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for human consumption.
[0026] In embodiments where the offal is lung and / or liver offal, in step (ii) the offal is determined as having 10 to <30% of unhealthy tissue and / or >70% to 90% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for animal consumption.
[0027] In embodiments where the offal is lung and / or liver offal, in step (ii) the offal is determined as having > 30% of unhealthy tissue and / or <70% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as not fit for consumption.
[0028] In embodiments where the offal is lung and / or liver offal, the offal is allocated a quality score based on steps (i) and (ii) of: 3 for 0% to <10% or 1% to <10% of the tissue is determined to be unhealthy tissue and / or >90% to 100% or >90% to 99% of the tissue is determined to be healthy tissue; 2 for 10% to <30% of the tissue isdetermined to be unhealthy tissue and / or >70% to 90% of the tissue is determined to be healthy tissue; and 1 for 30% or more of the tissue is determined to be unhealthy tissue and / or 70% or less of the tissue is determined to be healthy.
[0029] In some embodiments, the offal is kidney offal.
[0030] In embodiments where the offal is kidney offal, in step (ii) the offal is determined as having no unhealthy tissue and / or 100% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for human consumption.
[0031] In embodiments where the offal is kidney offal, in step (ii) the offal is determined as having 1% to <30% of unhealthy tissue and / or >70% to 99% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for animal consumption.
[0032] In embodiments where the offal is kidney offal, in step (ii) the offal is determined as having 30% or more of unhealthy tissue and / or >70% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as not fit for consumption.
[0033] In embodiments where the offal is kidney offal, the offal is allocated a quality score based on steps (i) and (ii) of: 3 for 0% is determined to be unhealthy tissue and / or 100% of the tissue is determined to be healthy; 2 for 1% to <30% is determined to be unhealthy tissue and / or >70% to 99% of the tissue is determined to be healthy; and 1 for 30% or more is determined to be unhealthy tissue and / or 70% or less of the tissue is determined to be healthy.
[0034] In embodiments where the offal is kidney offal, in step (ii) the offal is determined as having 1% to <20% of unhealthy tissue and / or >80% to 99% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for animal consumption.
[0035] In embodiments where the offal is kidney offal, in step (ii) the offal is determined as having 20% or more of unhealthy tissue and / or >80% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as not fit for consumption.
[0036] In embodiments where the offal is kidney offal, the offal is allocated a quality score based on steps (i) and (ii) of: 3 for 0% is determined to be unhealthy tissue and / or 100% of the tissue is determined to be healthy; 2 for 1% to <20% is determined to be unhealthy tissue and / or >80% to 99% of the tissue is determined to be healthy; and 1 for 20% or more is determined to be unhealthy tissue and / or 80% or less of the tissue is determined to be healthy.
[0037] In some embodiments, the pre-trained neural networks models are trained by: segmenting a training image of offal into healthy or unhealthy tissue; and training one or more neural networks with the segmented training image to produce the one or more models of healthy or unhealthy tissue.
[0038] In some embodiments, the step of training the one or more neural networks further comprises: training the one or more neural networks to segment an input image of a piece of offal into one or more segments; and training the one or more neural networks to categorise the one or more segments into healthy or unhealthy tissue.
[0039] In some embodiments, the training comprises inputting a segmented image to a convolutional layer of the one or more neural networks to produce the one or more models of healthy or unhealthy tissue.
[0040] According to a third aspect of the invention, there is provided a computer system comprising: a processor; and memory, the memory comprising instructions, which when executed by the processor cause the computer system to perform the methods of any one of the first or second aspects.
[0041] In some embodiments, the livestock is bovine (cattle), ovine (sheep), caprine (goats), cervidae (true deer), macropod (kangaroos), or avian (chicken, turkey, duck). In some embodiments the livestock is bovine or ovine. In some embodiments, the livestock is not a swine.
[0042] In some embodiments, clinical indications of disease or damage are identified by visualising offal that does not appear normal or healthy, specifically not normal for post mortem offal. This can be assessed visually or by visual assessment of one or more image / s of the offal tissue by the automated quality and health scoring system of the disclosure. In some embodiments, the images are 2D images of the offal tissue. Using 2D images provides a more timely assessment option in contrast to 3D imagesand means that less data is captured than during 3D imaging and particular focus is required on the presentation of disease or damage.
[0043] In some embodiments, the method further comprises one of more of providing the offal determined as suitable for human consumption for human consumption, providing the offal determined as suitable for animal consumption for animal consumption. Offal suitable for human consumption may also be provided for animal consumption. Providing the offal for human or animal consumption can include preparing or marking the offal for delivery to facility for the preparation of food for human or animal consumption; delivering the offal to a facility for the preparation of food for human or animal consumption, preparing the offal in food for human or animal consumption, or offering the offal for human or animal consumption. Consumption of suitable offal by a human or animal is also contemplated.
[0044] Further aspects of the present disclosure and further embodiments of the aspects described in the preceding paragraphs will become apparent from the following description, given by way of example and with reference to the accompanying drawings.Brief description of the drawings
[0045] Figure 1 is a schematic illustration of a technique for training a neural network to automatically remove background noise from an input image;
[0046] Figure 2a is a schematic illustration of a technique for training neural networks to automatically assign a health score to an input image;
[0047] Figure 2b is a schematic illustration of a technique for training, validating and testing the neural network illustrated in Figure 2a;
[0048] Figure 3 is a schematic illustration of automatically assigning a health score to an input image using the trained neural networks of Figures 1 and 2a-2b;
[0049] Figure 4a is a schematic illustration of a network environment in which embodiments of the present disclosure can be practiced;
[0050] Figure 4b is an image of an image capture apparatus for use in the network environment of Figure 4a; and
[0051] Figure 5 is a block diagram of a computer processing system configurable to perform various features of the present disclosure.Detailed description of the embodiments
[0052] Reference will now be made in detail to certain embodiments of the disclosure. One skilled in the art will recognise many uses and methods similar or equivalent to those described herein, which could be used in the practice of the present disclosure. The present disclosure is in no way limited to the specific methods and materials described.
[0053] It will be understood that the disclosure disclosed and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident from the text or drawings. All of these different combinations constitute various alternative aspects of the disclosure.
[0054] The present disclosure provides a new process for assessing offal to determine the health and / or quality of the offal. Currently, offal is not assessed for health and assessing food quality is conducted manually in person. The assessment of the present disclosure focuses on visual features of the offal including assessment of one or more image of the offal. The imaging permits remote assessments and reduces labour intensity and the possibility of contamination during processing. Further, this may facilitate tracing of diseased or unhealthy offal to a source origin so that treatment or management of the disease may be provided to the surviving herd.
[0055] An imaging technique has been considered for use in abattoirs to provide 3D images of the entirety of the carcass. This 3D imaging is slow and expensive. The image capture and rendering timeframes are not suitable for a processing line. This invention provides a more timely assessment option that can use 2D imaging for the assessment. Adjusting to 2D imaging means that less data is captured than during 3D imaging and particular focus is required on the visual presentation of disease or damage. The focus on visual presentation of disease introduces visual rigor into the assessments and achieves suitable quality control by focussing on differential presentation, in isolation or combination, for example, more precise visual inspection and less reliance on innate knowledge or experience.
[0056] As used herein, except where the context requires otherwise, the term "comprise" and variations of the term, such as "comprising", "comprises" and "comprised", are not intended to exclude further additives, components, integers or steps.
[0057] “Clinical” indications of disease or damage include indicators to those of disease or damage that occurred in within the animal in situ or perimortem, that is, excluding damage resulting from the slaughter of the livestock.
[0058] The term “Disease” includes a disorder of structure or function, including an infection or infestation, in an animal, such as livestock. A relevant infection is a bacterial or viral infection such as actinobacillus pleuropneumoniae infection. A relevant infestation is a nematode, cestode or trematode infestation.
[0059] The term “damage” includes damage to an organ or other tissue not attributable to disease within the organ or tissue. This damage can be due to disease elsewhere in the animal resulting in conditions that damage the organ or other tissue. Damage can also arise without disease, for example, a liver could be damaged by exposure to toxins including alcohol. Damage can also occur due to excessive force.
[0060] “Offal” includes one or more of the entrails and internal organs of an animal.
[0061] The invention is not intended to cover humans. In one embodiment the animal is not human. In some embodiments the animal is a ruminant. In some embodiments the animal is bovine (cattle), ovine (sheep), musk deer, cervidae (true deer), bird, kangaroo or camel. In some embodiments the animal is bovine or ovine. In some embodiments the animal is not a swine.Offal health score
[0062] A health and / or a quality score may be determined and assigned to the offal, which may include lungs, liver or kidneys as shown in Tables 1 -3.Table 1. Lung offalTable 2. Kidney offalTable 3. Liver offal
[0063] Optionally, the assessment of the offal is performed visually or by assessment of a visual image / s of the offal tissue by the automated quality and health scoring system of the disclosure. Visual assessment of the presence or absence of disease may be performed by a suitably qualified person such as a meat quality inspector. Various methods of determining the area or proportion of diseased / unhealthy and healthy tissue will be apparent to the skilled person.
[0064] It is not necessary for these scores to be referred to as scores. Alternative identifiers using numbers, words, phrases or codes could also be used.
[0065] In embodiments where the offal is lung tissue, the presence of disease or damage is optionally determined by detecting one or more of the clinical presentations of respiratory disease, such as: (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; and (d) lung cysts, described in further detail below. In some embodiments, discolouration of the lung tissue (a) and pleural adhesions (b) are considered in combination. In some embodiments, discolouration of the lung tissue (a) and damage to lung tissue from infection (c) are considered incombination. In some embodiments, lung cysts are considered separately to the remaining clinical presentations of respiratory disease. In some embodiments, (a) and (d), (b) and (c), (b) and (d), or (c) and (d) are considered in combination. In some embodiments, (a), (b) and (c); (a), (b) and (d); or (b), (c) and (d) are considered in combination. In some embodiments, all of (a), (b), (c) and (d) are considered in combination.
[0066] In embodiments where the offal is liver tissue, the presence of disease or damage is optionally determined by detecting one or more of the clinical presentations of respiratory disease, such as: (a) lesions; (b) aflatoxicosis; (c) nematode, cestode or trematode infestation; (d) damage to liver tissue from toxicity or disease; and (e) defects, described in further detail below. In some embodiments, (a) and (b), (a) and (c),(a) and (d), (a) and (e), (b) and (c), (b) and (d), (b) and (e), (c) and (d), (c) and (e) or (d) and (e) are considered in combination. In some embodiments, (a), (b) and (c); (a), (b) and (d); (a), (b) and (e); (a), (c) and (d); (a), (c) and (e); (b), (c) and (d); (b), (c) and (e);(b), (d) and (e); (c), (d) and (e) are considered in combination. In some embodiments, (a), (b), (c) and (d); (a), (b), (c) and (e); (a), (b), (d) and (e); (a), (c), (d) and (e); (b), (c), (d) and (e) are considered in combination. In some embodiments, all of (a), (b), (c), (d) and (e) are considered in combination.
[0067] In embodiments where the offal is kidney tissue, the presence of disease is optionally determined by detecting one or more of the clinical presentations of respiratory disease, such as: (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects, described in further detail below. In embodiments where the offal is kidney tissue, the presence of disease is optionally determined by detecting one or more of the clinical presentations of kidney disease, such as: (a) lesions; (b) leptospirosis or other types of parasitic infection; (c) damage to kidney tissue from toxicity or disease; and (d) defects, described in further detail below. In some embodiments, (a) and (b), (a) and (c), (a) and (d), (b) and (c), (b) and (d), or (c) and (d) are considered in combination. In some embodiments, (a), (b) and (c); (a), (b) and (d); or (b), (c) and (d) are considered in combination. In some embodiments, all of (a), (b), (c) and (d) are considered in combination.
[0068] Optionally, the health score of the offal corresponds to a quality and / or suitability for use score indicating whether the offal and / or meat of the animal is suitable or not suitable for human or animal consumption. For example, a health score of 10 fora lung may correspond to a quality or suitability score of 1 indicating the lung and meat from the animal is not suitable for human or animal consumption; a health score of 1 for a lung may correspond to a quality or suitability score of 3 indicating the lung and meat from the animal is suitable for human consumption; and a health score of 2 for a lung may correspond to a quality or suitability score of 2 indicating the lung and meat from the animal is not suitable for human consumption, but suitable for animal consumption.
[0069] In some embodiments, the offal is condemned as not being suitable for human or animal consumption in accordance with a health score and / or a quality score. In one example, the offal is condemned in accordance with a quality score of 0 indicating that the offal is not suitable for human or animal consumption. An indicator may be applied to the offal for indicating that the offal is condemned, for example, a colour dye or paint indicator may be applied to the offal or the offal may be cut or slashed.
[0070] In some embodiments, the carcass of the animal is condemned and the offal that is derived from the carcass may be applied with an indicator, such as a colour dye, paint, cut, or slash, indicating that the offal is not suitable for human or animal consumption. In some embodiments, the animal and / or offal is assessed prior to or concurrently with the quality and / or health score assessment, for example, by the automated quality and health scoring system of the disclosure. In some embodiments, offal that is condemned is marked with an indicator of condemnation in advance of the quality and / or health score assessment. In one example, the offal may have a health and / or quality score that indicates healthy tissue, but as the offal was derived from a carcass that has been condemned, the offal is provided with an indicator indicating the offal is not suitable for human or animal consumption.
[0071] Where a carcass of an animal is condemned, all the offal from that carcass is condemned.
[0072] Indication of the intention to condemn can be done automatically using the automated quality and health scoring system of the disclosure or manually by a trained person.
[0073] In some embodiments, any offal that is condemned has a healthy and / or quality score of 0. Where offal is condemned, the offal has a health and / or quality score of 0.
[0074] Condemnation is optionally due to a defect with the animal as a whole or a defect with processing of the offal. In some embodiments, the offal is condemned due to a failure of halal slaughter, polyarthritis, major abscessation, emphysema, nephritis or contamination of the offal, for example, from the digestive system into / onto the offal.
[0075] In some examples, the offal is condemned due to the presence and proportion of abscesses, cysts or telangiectasia. In one example where the offal is liver, the offal is condemned based on the presence and proportion of liver fluke or hepatitis. In another example where the offal is lung, the offal is condemned based on the presence and proportion of pneumonia.Categorisation of tissue
[0076] Optionally, the tissue is segmented into healthy and unhealthy tissue or tissue based on clinical or visual presentations of disease. Optionally, depending on the type of tissue (i.e. lung, liver or kidney), the unhealthy tissue is further segmented into tissue having one or more of the clinical or visual presentations of disease described in the categories below.Visual presentations of disease in offal
[0077] Visual presentations of disease can be focal (appearing as smaller, discrete areas of affected tissue); lobular (affecting larger areas of affected tissue), lobar (affecting a whole lobe or part thereof) or diffuse (where the full tissue area is affected by a disease process).
[0078] Visual presentations of disease are associated with one or more visual characteristics including the location, size, gradation of colour, surface texture, morphology of the defect, range / extent of the disease, and colour. Each of the visual characteristics are variable depending on a) the nature of the underlying disease process; b) the severity of the disease process; and / or c) whether the disease process is chronic, acute, or resolving.
[0079] For example, in the case of an abscess, tumour or cyst, the disease may be associated with the visual characteristic of raised or extended tissue above the normal surface or extending beyond the normal tissue boundary, whilst in the case of necrosis,scarring or resolved infection, this can be associated with a loss of tissue, pitting or indentation.
[0080] It is usual for healthy tissue surfaces to be (depending on the tissue) smoothly encapsulated. In the case of disease, for example, such as in the case of emphysema or nephritis, the surface of the tissue can present as raised, depressed or striated.
[0081] In the case of healthy tissue, tissue boundaries are usually discrete and intact, whilst in the case of disease, for example, in the case of pleurisy or severe hepatic abscess, adhesions resulting from fibrotic lesions connecting one tissue lining to another, can result in extraneous tissue being present at the margins or on the surface of the diseased material.
[0082] Therefore, one or more visual characteristics such as the location, size, colour, gradation, morphology, surface texture, range / extent, (extrusions / indentation) can be used by the automated quality and health scoring system of the disclosure to indicate whether healthy and / or unhealthy tissue is present.
[0083] Post-mortem artifacts in offal can include:• cuts to the body or surface of the tissue to identify or demarcate tissues where disease is identified;• addition of dyes or paints to the surface of the tissue to identify defect status;• loss of a portion or section of the tissue either by tearing of the tissue and retention in the body cavity of the carcase, or by ‘trimming’ by processing workers;• tearing of the outer membranes surrounding the tissue during removal from the carcase or on examination;• contamination with gut contents, bile, urine, blood or faeces.Whilst potential reasons for the condemnation of tissues, these are not considered health defects.Disease categories - lung tissue
[0084] A normal (healthy) lung is a lobular structure consisting of two major (left and right) and 5 minor lobes (right and left cranial lobes, right accessory lobe, and left and right caudal or diaphragmatic lobes). Collectively these are termed the pulmonary lobes and the extent of lobulation can differ between species. For example, in horses the accessory lobe is absent, whilst it is present in cattle. Equally, the visual segregation of the minor lobes is poorly differentiated in horses and sheep.
[0085] The trachea, upper (extrapulmonary) bronchi and mediastinal fat sit medial to the left and right lobes and are usually dissected and examined as part of the thoracic tissue compartment at slaughter.
[0086] In the healthy lung, each lobe consists of a pleural (outer) layer which is white, opaque, and smooth in presentation, with underlying lung tissue consisting of lung parenchyma which is pink to light red in colour, containing the alveolar tissues. Interstitial tissues separate the lobules and can be observed as pale, translucent tissue separating the pulmonary compartments. In a healthy lung the visual appearance is uniform in colour, ranging from light to medium pink. The pleura is whitish, thin, clear and smooth in appearance with smooth lateral edges without notable indentations, fissures or adhesions.
[0087] There are various categories of clinical presentations of respiratory disease or damage that can be detected in the lung offal visually or by visual imaging and assessment of the offal tissue by the automated quality and health scoring system of the disclosure. These include:(a) discolouration of lungs;(b) pleural adhesions;(c) damage to lung tissue from infection; and(d) lung cysts or abscesses.
[0088] Unhealthy lung may visually present as one or more of discolouration of the lung (one or more of bright red, dark red, grey, yellow, brown, green, very light pink, black and / or white) and changes in morphology (one or more of fibrotic lesions connecting one tissue lining to another, gelatinous dark red to pinkish accumulations on the surface of the pleural lining, extraneous tissue being present at the margins or onthe surface of the lung, swollen tissue, lost tissue, abscess formation, haemorrhage, necrosis, scarring, swelling, changes in texture, raised tissue, depressed tissue, striated tissue, loss of tissue, indentation, pitting, scarring the presence of cysts and abscesses). Colour changes due to discolouration may be lobar, lobular or diffuse in appearance, or present as discoloured patches. Optionally, both colour and morphology are assessed. Optionally, the assessment covers identification of additional tissue (eg cysts, fibrotic lesions connecting one tissue lining to another, gelatinous dark red to pinkish accumulations on the surface of the pleural lining, extraneous tissue being present at the margins or on the surface of the lung, scarring), loss of tissue (eg abscess or necrosis), swelling, and non-uniform texture (eg striated tissue). Visual changes in unhealthy liver may present as diffuse, focal or lobular.
[0089] Discolouration of the lungs or other tissues indicative of tissue damage or disease can be determined visually or by visual imaging and assessment of the image of the offal tissue by the automated quality and health scoring system of the disclosure. Where increased specificity is desired, colour measurements can be taken by a variety of equipment such as UV / VIS spectrophotometers or Minolta Spectrophotometer (eg Model CM-2600). This model records L*a*b* colour space values. The skilled person can determine appropriate values for healthy and discoloured tissue for the various colour measurement devices. Discolouration of the lungs can be detected by one or more visual characteristics present in the offal image or offal, such as colour. For example, healthy lung tissue may range from pink to light red. Discoloured damaged or diseased lung tissue may appear as bright red, dark red, grey, yellow, brown, green, very light pink, black and / or white and may not be uniform in colour.
[0090] Plural adhesions are adhesions in the pleural space (i.e. between the parietal and visceral layers of the pleura). These are often fibrotic and commonly caused by repeated episodes of inflammation of the lung. Plural adhesions may be visible in lung offal and offal image and are indicative of past or current disease. Plural adhesions may present as fibrotic lesions connecting one tissue lining to another; gelatinous, dark red to pinkish accumulations on the surface of the pleural lining; extraneous tissue being present at the margins or on the surface of the lung. Plural adhesions can be detected by one or more visual characteristics present in the image or offal such as red, brown, grey or green colouring.
[0091] Damage to lung tissue from infection may include swollen tissue, lost tissue due to retention in the pleural cavity, damaged tissue (such as bronchoalveolar destruction), abscess formation, haemorrhage, frank necrosis and / or scarring. Damaged or diseased tissue due to infection can be detected by one or more visual characteristics or changes in visual characteristics in the offal or offal image including changes in texture or morphology (such as swelling, raised, depressed or striated tissue, loss of tissue, indentation, or pitting), scarring, or discolouration of the lung, for example with colour changes to dark red, grey, yellow, brown and / or very light pink to white patching. Colour changes may be lobar, lobular or diffuse in appearance.
[0092] Lung or pulmonary cysts are sac-like pockets of membranous tissue in the lungs that contain fluid, air, or other substances. They are often caused by infection.
[0093] Cysts and abscesses can be detected by one or more visual characteristics in the offal or offal image including raised or extended tissue above the normal surface or extending beyond the normal tissue boundary or a gradient of colour (e.g. showing a white or yellow centre extending to a pink, red, grey or blackish margin). Cysts or abscesses may have a discrete visual edge or may have a diffuse boundary.
[0094] When the visual appearance / characteristics of the lung differs from the visual appearance / characteristics of normal or healthy lung post-mortem, this is an indication of disease or damage.
[0095] In the case of emphysema, pneumonia, bronchitis, bronchiolitis and bronchiectasis (distention of the bronchi with accumulation of purulent exudate), general discolouration of the tissue of the lung can occur. This discolouration can be lobular or diffuse, with colour changes to bright red, dark red, grey, yellow or dark brown, and / or with light pink to white patching. In the case of necrotic bronchitis this can appear nodular with punctate changes in colour from grey to brown to red and yellow, all within the same lesion.
[0096] Where haemorrhagic infections occur, such as in infectious haemorrhagic pneumonia, dark red areas of tissue can be clearly observed through the pleural layer with interstitial oedema (swelling) appearing as whitish, thickened, opaque or translucent extensions of the interstitium.
[0097] In the case of viral pneumonia, the lung tissue may appear with focal or lobular red, brown or dark pink patches. Where this infection is acute this can extend to all lobes of the lung giving the lungs a diffuse, red I brown appearance. This is known as ‘consolidation’ and can be acute or chronic in nature. Lobar or lobular consolidation can also be observed in the case of a nematode infestation, such as in the case of lungworm where dark coloured consolidation can appear in one or more lobes of the lungs.
[0098] In the case of bronchointerstitial pneumonias or bronchopneumonias, the surface of the lung can appear dark red or dark brown. This can be lobar, lobular or diffuse in appearance, with a smooth extended surface evidence of underlying pleural oedema. When resolved, the lung may still exhibit a patchwork or marbled appearance, with whitening of the pleura indicative of pleural fibrosis. Interstitial or fibrinous pleuritis can cause a thickening of both the external pleural layer, and internal interstitium that gives a whitened, lobated appearance to the lung tissue.
[0099] Emphysema is identified by raised vascular leaf-like appearance of the outer surface of the lung. There can be a distinct whitened thickening of the interstitial and pronounced reddening of the lung tissue. Emphysema, like pleurisy, is frequently observed in combination with another disease processes.
[0100] Where pleurisy is identified, pleural fibrous adhesions are present as gelatinous, dark red to pinkish accumulations that appear on the surface and lateral edges of the pleural lining of the lung. These are visual signature for past or current inflammation of the pleura. These are usually lobular (affecting all or part of the surface of one or more lobes) or diffuse (extending across the surface of left, right or both major lung lobes).
[0101] Red, brown, or grey nodules within the pleura are indicative of acute or necrotic pleuritis. In severe cases the pleura may appear grey with punctate patches of red, brown or green indicative of gangrenous processes occurring in the underlying tissues and severe fibrosis of the pleura.
[0102] Lung abscess can appear as focal or lobular in pattern. They may be confluent with the ‘healthy’ lung tissue or appear with a raised margin compared to the tissue surrounding. Abscesses can be highly discrete, or blend into the surrounding tissues,but an apparent margin of diseased tissue is usually apparent. Abscesses may have a gradient of colour, usually showing a lighter (white or yellow) centre extending to a pink, red, grey or even blackish margin. These can be clearly circumscribed (have a discrete visual edge) or present with a more diffuse boundary. Caseous necrosis is another focal lesion resembling an abscess but is not a true abscess as it exists without discrete encapsulation. This may also appear with a similar visual presentation. In the latter case these can be lobular, lobar or diffuse in nature.
[0103] Lung tumours may also appear with a similar focal, lobular or lobar presentation and with tissue changes giving rise to deep red consolidation, to irregular tissue masses of variable colour, to whitened areas of calcification or fibrosis. These can be discrete and focal, or extensive and diffuse depending on the nature of the tumour and time between initial growth and presentation at slaughter. Tumours, where large, diffuse and severe, can distort the shape and size of the lung, giving rise to tissues that are condensed in appearance and extending beyond the normal depth of the tissue mass.
[0104] Lung cysts present as raised, clear, fluid filled sacs that have a whitened, opalescent appearance. They may be slightly raised, extend a significant distance above the surface of the tissue, or be confluent with it depending on size. They can range in size from about <0.5 cm to about <10 cm in size depending on the nature of the causal process. They are usually clearly circumscribed and differentiated from the surrounding tissue.
[0105] In conditions giving rise to abnormal colouration or pigmentation in the lung, such as in melanosis or pulmonary fibrosis, punctate or diffuse changes in tissue colour or pigmentation may occur. For example, in the case of melanosis, dark brown or black pigment may be present in punctate, nodular or diffuse patterns across the lung tissue, visible through the pleura. In severe cases the whole of the lung tissue may be affected. Conversely, in the case of pulmonary fibrosis, the lung tissue may appear uniformly whitish or very pale pink, indicative of consolidation and consequent poor oxygen perfusion. This discolouration is usually diffuse and rarely punctate.
[0106] The above visual presentations and visual characteristics may be detected discretely, or in combination by the automated quality and health scoring system of the disclosure.Disease categories - liver tissue
[0107] The normal liver is a lobular structure segregated by ligaments that suspend the liver from the abdominal wall. It has four nominal lobes, the left and right hepatic lobe, quadrate lobe and caudal lobe. In some species these lobes are discrete, in others, such as ruminants, these are fused into a single contiguous organ.
[0108] The surface of the liver is flat, very smooth, and uniform in colour. The underlying parenchymal tissue is firm and rust brown, or dark chestnut in colour. The gallbladder is usually removed intact with the liver at slaughter, and presents as a long, tubular structure, greenish in colour, originating between the quadrate and right lobes of the liver. The cystic duct and bile ducts are usually visible at this junction, appearing as thick, whitish vessels with think walls. Depending on species, the gall bladder may be present (for example ruminants) or absent (for example deer).
[0109] Glisson’s capsule is the fibrous capsule surrounding the liver. It is a semitransparent, thin membranous layer that is continuous with the hepatic artery, portal veins and bile duct. In the normal liver it is intact with no tears or breaks.
[0110] Healthy liver tissue is characterised by a highly uniform and dense appearance. Colour of liver tissue can be altered in cases of disease such as jaundice, where the liver appears yellow-brown in colour. This is usually a diffuse change affecting the full parenchyma of the liver tissue. Similar changes in colour can be observed in lipidosis where a diffuse, light pinkish-yellow discolouration of the liver can be observed. Equally, in cases of aflatoxicosis and leptospirosis, the liver may appear diffusely light brown or bronze in colour.
[0111] When the visual appearance / characteristics of the liver differs from the visual appearance / characteristics of normal or healthy liver post-mortem, this is an indication of disease or damage.
[0112] There are various categories of clinical presentations of disease and / or damage that can be present in the liver offal. These include:(a) lesions;(b) aflatoxicosis;(c) nematode, cestode or trematode infestation;(d) damage to liver tissue from toxicity or disease; and(e) defects.
[0113] Categories (a)-(e) may be determined visually or by visual imaging and assessment of the image of the offal tissue by the automated quality and health scoring system of the disclosure. Visual imaging can include imaging in the visible, infrared and ultraviolet spectra. Categories (a)-(e) can be detected by one or more visual characteristics in the offal or offal image such as colour, morphology, or changes in colour as described below.
[0114] Unhealthy liver may visually present as one or more of changes in tissue morphology (one or more of additional tissue, loss of tissue, changes in texture, swelling, raised tissue, rough tissue, non-uniform tissue, Glisson’s capsule having tears or breaks, the presence of cysts or abscesses, the presence of tumours, bile duct thickening and / or distension, a veined surface of the liver, and the presence of necrotic lesions) and discolouration (such as presence of bronze, yellow, light or dark brown, dark red, grey, light cream, black or white; heterogeneous colour; non-uniform colouration, and change in bile duct colour). Optionally, both colour and morphology are assessed. Optionally, the assessment covers discolouration, identification of non- uniform colouration / heterogeneous colour and change in bile duct colour. Optionally, the assessment covers identification of additional tissue (eg cycts or tumours), loss of tissue (eg abscess or necrosis), swelling (eg intra-parenchymal inflammation), and non- uniform texture (eg rough tissue). Optionally, assessment covers bile duct thickening and / or distension, and a veined surface of the liver. Visual changes in unhealthy liver may present as diffuse, focal or lobular.
[0115] Liver lesions can be identified by additional tissue, changes in tissue morphology and discoloration. For example, liver lesions may be identified by changes associated with lipidosis, such as yellow colouration in the liver.
[0116] In another example, aflatoxicosis may be determined by identifying tissue swelling and pallor (discolouration). In yet another example, damage to liver tissue due to toxicity or disease may be visualised as bronze discolouration. Non-uniform tissue is also a presentation of damage or disease. For example, damaged or diseased liver maybe raised, rough and heterogeneous in colour. Damaged or diseased liver tissue may have regions that are bronze, yellow, light or dark brown, dark red, grey, black or white in colour. Damaged or diseased liver tissue may also present Glisson’s capsule with tears or breaks.
[0117] Infestation by parasites may be identified by the cysts, scarring, bile duct thickening and I or distension, abscess, necrotic lesions caused by the parasitic infection. Infestation by parasites may produce visual changes, for example, the major or minor bile ducts may present as thicker and whiter in appearance.
[0118] Defects relating to the liver tissue include tissue enlargement, haemorrhage, necrosis, fibrosis, hepatic cysts or abscesses, necrotic lesions, and lesions related to lymphoma or carcinoma.
[0119] Damaged or diseased liver tissue may present with cysts or abscesses ie as light cream or greenish-colour sacs (cysts) or a gradient of colour ranging from a white or yellow centre extending to a reddish, brown or black margin (abscess). Abscesses may present with a discrete edge or be diffuse. Intact abscesses may present as fibrotic tissue that is whitish-yellow and thickened in appearance and extend beyond the normal margins of the tissue. Ruptured abscesses may present as more reddish, yellow or brown in colour.
[0120] In some disease presentations, the uniform colouration of the liver may be altered. For example, in cases of hepatotoxic poisoning, the surface of the liver may appear veined, with small tree-like patterns appearing whiter than the surrounding liver tissue. Equally in cases of hepatitis, intra-parenchymal inflammation can give rise to a similar, patterned appearance. In cases of telangiectasia, for example, discrete dark foci can be observed through the overlying Glisson’s capsule that can be discrete in location or extend across the full surface of the tissue. Any systemic abnormality that causes biliary dysfunction can give rise to diffuse changes in liver colour due to systemic liver dysfunction, usually resulting in bronze to yellowing colouration of the tissue. This may or may not be present alone or in combination with another defect.
[0121] In cases of severe haemorrhagic or necrotising hepatitis, both the underlying liver parenchyma can appear mottled dark brown to dark red, with lighter patches, across the surface of the tissue. Accumulation of blood under Glisson’s capsule canalso give the appearance of dark red patches that can be diffusely covering the surface of the tissue.
[0122] In the case of mycotic hepatitis, both the underlying tissue colour may be affected, presenting with a light brown to bronze appearance, or yellowish brown in severe cases, with overlying focal red patches of haemorrhage in the fibrous liver capsule.
[0123] Visual changes associated with hepatitis can be diffuse, focal or lobular, and with or without visual changes in Glisson’s capsule. The integrity of Glisson’s capsule can also be affected by disease, resulting in breakdown or tears in the capsule with the parenchyma of the liver clearly visible through the torn membrane. One example of a disease in which this might occur is copper poisoning, where the capsule becomes fragile and the underlying tissue becomes friable, giving a broken surface appearance.
[0124] Liver abscess can appear in a punctate, focal, or lobular or diffuse pattern. They can be micro (1 -2 mm), small (3-10 mm) medium (1 -5 cm) or large (>5 cm) in size. All sizes of abscess may be present in the one tissue. Abscesses can have a gradient of colour, usually showing a lighter (white or yellow) centre extending to a reddish- brown or even blackish margin. Liver abscesses can be both clearly circumscribed (have a discrete visual edge) or present with a more diffuse boundary, the latter being frequently indicative of subcapsular extent and appearing as a more diffuse colour change in the overlying tissue.
[0125] Liver abscesses can be intact or ruptured. In the case of the former, the visual colour is usually clearly different and whitish or whitish-yellow in appearance compared to the surrounding liver tissue, whilst the latter, in addition to having clearly disrupted edges, can be more reddish or yellow and brown in colour. They can be subcapsular (not extending beyond the normal margins of Glisson’s capsule) or extensive (extending beyond the normal margins of the subcapsular tissue).
[0126] In severe cases, or where large abscesses are present, adhesion of diaphragmatic or peritoneal tissue may be adhered to the surface of the liver above the location of a large abscess and indicative of both severity and duration. This tissue is always fibrotic (whitish and thickened) in appearance and therefore clearly differentiatedfrom Glisson’s capsule. These can extend some distance beyond the normal margins of the tissue.
[0127] Hepatic tumours may appear with a similar focal, lobular or lobar presentation without discrete encapsulation. Tumours, dependent on type, can appear as a lighter (white or grey) or darker (deep red, or black) discolouration of the liver tissue, depending on the nature of the underlying tumour. Tumours can extend and distort the normal margins of the tissue.
[0128] Parasite infestations of the liver produce characteristic visual changes. In the case of current or past liver fluke infestation, for example, this can be observed as fibrosis of the major or minor bile ducts, giving a significantly thicker and whiter appearance to these ducts where they appear at the surface of the tissue. In addition, expansion of normally parenchymal bile ducts can appear as longitudinal, whitish, ‘scarlike’ lesions on the surface of the liver. These usually are apparent in lobes closest to the major biliary portal system, but can appear across the surface of the tissue. There can be one or more ‘fluke’ scar and ranging in size from small to large. Visual evidence of parasite infestation can also be coincident with liver abscesses and other visual pathologies.
[0129] Liver cysts, usually evidence of a cestode parasite infestation, are light cream or greenish-coloured fibrotic sacs present on the surface of the liver. These can be confluent with Glisson’s capsule, or extend beyond the normal tissue limits, and can be small (<1 cm) or large (usually <5 cm) in size.
[0130] All of the above visual presentations or visual characteristics may be observed discretely, or in combination by the automated quality and health scoring system of the disclosure.Disease categories - kidney tissue
[0131] The normal kidney is bean-shaped or elliptical in structure. In cattle, the surface of the kidney features multiple fissures that separate the kidney into multiple polygonal lobes of relatively uniform size. In sheep and goats these fissures are absent and the kidney has a smooth, bean-like appearance.
[0132] The parenchyma of the kidney, the tissue containing the renal tubules and glomeruli, is dark-reddish brown in colour with a surface that is smooth.
[0133] The hilus of the kidney, the region where the ureters exit the structure, is situated medially at the cranial aspect of the ventral surface, and is visualised by the tubular ureters exiting this region, and the white connective tissue structure of the hilux itself.
[0134] In all species the kidney is surrounded by a renal capsule, which is a transparent membrane containing the body of each kidney and continuous with the hilux. This can be retained or removed during processing post slaughter.
[0135] The kidney is also characterised by a surrounding cushion of dense, white fat, which again, may be removed at processing.
[0136] When the visual appearance / characteristics of the kidney differs from the visual appearance / characteristics of normal or healthy kidney post-mortem, this is an indication of disease or damage.
[0137] There are various categories of clinical presentations of disease and / or damage that can be present in kidney offal. These include:(a) lesions;(b) leptospirosis;(c) damage to kidney tissue from toxicity or disease; and(d) defects.
[0138] Unhealthy kidney may visually present as one or more of a change in morphology (one or more of change in kidney size, necrosis, scarring, stippling, striations, enlargement of the kidney, additional kidney tissue, loss of kidney tissue, haemorrhage, calcification of the kidney, the presence of renal cysts or abscesses, lesions, nodules, a rugged surface, pitted surface or punctate surface) and discolouration (presence of one or more of white, yellow, dark brown, dark red, black, white, brown, tan, red, speckling, dappling or patching). Visual changes in unhealthy kidney may present as focal, lobular or diffuse. Optionally, both colour and morphology are assessed. Optionally, the assessment covers identification of discolouration andnon-uniform colour such as speckling, dappling or patching. Optionally, the assessment covers identification of additional tissue (eg cycts or nodules), loss of tissue (eg abscess or necrosis), swelling (enlargement of the kidney), and non-uniform texture (eg stippling, rugged surface, pitted surface). Visual changes in unhealthy liver may present as diffuse, focal or lobular.
[0139] There are various categories of clinical presentations of disease and / or toxicity that can be present in kidney offal. These include:(a) lesions;(b) leptospirosis or other types of parasitic infection;(c) damage to kidney tissue from toxicity or disease; and(d) defects.
[0140] Categories (a)-(d) may be determined visually or by visual imaging and assessment of the image of the offal tissue by the automated quality and health scoring system of the disclosure. Visual imaging can include imaging in the visible, infrared and ultraviolet spectra. Categories (a)-(e) can be detected by one or more visual characteristics in the offal or offal image such as colour, morphology, or changes in colour as described below. For example, kidney lesions may be identified from visual changes associated with infarcts, inflammation, calcification, oxalate nephrosis, amyloidosis, nephritis, cysts or abscesses, necrotic lesions, and lesions related to lymphoma or carcinoma. Lesions can be identified by additional tissue, changes in tissue morphology and discoloration.
[0141] Leptospirosis may be identified by the visual markers of kidney lesions as discussed above. Leptospirosis may also be identified by visualising change in kidney size, morphology, consistency and colour due to inflammation, distension, infarct, direct cellular necrosis and scarring caused by the Leptospira bacterial infection.Leptospirosis, other types of parasitic infection and other nephrotoxic syndromes may also present as a kidney with dark brown / red colouration.
[0142] In yet another example, damage to kidney tissue due to toxicity or disease may be visualised as discolouration. For example, damaged or diseased kidney tissue may present as a specking or dappling of the normal uniform dark brown colour withwhite, yellow, dark brown or dark red patches. The colour of diseased or damaged kidney tissue may also present as black, white, brown, red, or pink, stippling or striations. Enlargement, additional tissue or loss of tissue can also occur.
[0143] Defects relating to kidney tissue include tissue enlargement, haemorrhage, necrosis, calcification, oxalate nephrosis, renal cysts or abscesses, necrotic lesions, and lesions related to lymphoma or carcinoma. For example, oxalate nephrosis may be identified from tissue discolouration. In another example, tissue enlargement may be indicated by speckling or patches of discolouration or gyre. Kidney defects may present as kidney enlargement, additional tissue (such as scarring or nodules or fibroids or cysts or other additional tissue), loss of tissue, morphology changes (such as stippling or striations), or as a colour other than dark-reddish brown with a non-uniform surface.
[0144] In damaged or diseased kidney tissue, the kidney may present as a colour other than dark-reddish brown with a non-uniform surface.
[0145] Developmental anomalies of the kidney can cause a kidney where the elliptical shape is contorted (‘horseshoe kidney) or the growth of the kidney can be retarded (loss of form, size or shape) or expanded (dysplasia). This change in size and morphology can be present in combination with other visual defects including nephrosis - where the kidney may be significantly enlarged due to expansion of the collecting ducts and distention of internal structures, or fibrosis, where whitish fibrotic tissue develops between the hexagonal lobes, or extends across the surface of the kidney capsule creating additional tissue mass and distorting the normal tissue dimensions.
[0146] In dysplasias, or neoplasias, the surface of the kidney can become rugged, pitted or punctate, with specking or dappling of the normal uniform dark brown visual appearance with whitish, yellowish, dark brown or dark red patches. The kidney can be mildly, moderately or severely enlarged with neoplastic tissue extending beyond the normal tissue boundary. This can be focal, lobular or diffuse. Lymphosarcomas may appear as raised white nodules across the surface of the kidney, carcinomas may appear as darkened areas of tissue growth with interstitial involvement. In all cases the range and extend of the normal tissue margins, integrity of the individual kidney or kidney lobules may be affected and be larger, or smaller, than normal.
[0147] Where haemorrhage or infarct has occurred, the appearance of the kidney may be either dark red, to black with evidence of extruded blood and blood clots which extend beyond the normal tissue boundaries. In the case of infarcts where blood supply has been reduced, the kidney may appear with whitish or light brown patches indicative of loss of oxygenated blood supply. In both cases this can be lobular or focal. Diffuse haemorrhage and / or infarcts are relatively rare and the two are unlikely to present together.
[0148] Where necrotic or degenerative changes are present in the kidney, these can be identified by stippling or striations appearing on the surface of the kidney parenchyma. Stippling patters where the surface of the kidney has a zebra-stripe appearance (whitish and red or dark brown striping) can be indicative of cortical calcification or ingestion of some nephrotoxic plant species.
[0149] Certain conditions manifest with visual changes to the colour of the kidney parenchyma. For example, in cases of nephritis, the kidney can exhibit a red, white, or brown mottled appearance with the underlying tissue being lighter than normal. In the case of glomerulitis, the kidney will appear pale brown or tan in colour and can be swollen in size. Cortical nephritis may appear as a lobular whitening of the tissue with red stippling at the lateral edges of the polygonal segments. Interstitial nephritis can manifest as punctate white dots, or a generalised loss of colour with extensive fibrosis apparent as large white areas at or under the surface of the tissue. This can be focal, lobular or diffuse. In some cases, circular, whitish, raised round areas can be indicative of interstitial nephritis or kidney abscess. In cases of chronic nephritis the kidney may be reduced in size, or individual lobules may be affected with the surface appearing with a hexagonal or square indentations, indicative of resolved disease.
[0150] Other conditions can also give rise to generalised colour change. In the case of amyloidosis will also give rise to an enlarged kidney mass as well as a light brown or yellow colouration of the tissue, whereas in the example of copper poisoning, the kidney may appear grey. Whilst in the case of nephritis and glomerulitis, colour changes to the kidney can be focal, lobular or diffuse. In copper poisoning and amyloidosis, usually the entire organ is affected.
[0151] Kidneys with a focal to generalised yellow, light pink, light tan or general pallid colouration can also be indicative of anaemia, lipidosis, amyloidosis, oxalate poisoningand other nephrotoxic syndromes. Conversely, a kidney with dark brown / red colouration can be indicative of pigmentary nephrosis, indicative of haemoglobinuria, myoglobinuria or certain infection conditions such as leptospirosis or a Staphylococcus aureus infection.
[0152] Renal cysts can be observed as a fluid filled sac present at the tissue margin. These are usually light brown, pink or whitish in appearance and are translucent. These can encompass a whole lobule, or multiple lobules, or a whole kidney where lobules are not present. Haemorrhagic cysts will have the same raised, translucent outer membrane but will appear as dark brown, red or black as being blood filled rather than interstitial fluid filled. In all cases, these can be small (<1 cm), medium (1 -5 cm) or large (>5 cm).
[0153] All of the above visual presentations or visual characteristics may be observed discretely, or in combination by the automated quality and health scoring system of the disclosure.Imaging of tissue
[0154] Multiple imaging techniques may be used to image the offal tissue including standard light camera imaging such as an RGB-camera, hyperspectral imaging, X-ray imaging, ultrasound imaging and CT imaging. Additionally or alternatively, UV / VIS imaging or infra-red (IR), near infra-red (NIR) or Fourier-transform infrared (FTIR) imaging may be used.
[0155] Tissue such as lung, kidney and liver may be imaged using a Red-Green-Blue (RGB) camera or a hyperspectral camera. RGB cameras are visual spectrum imagers and generally suitable for identifying objects based on their shape and colour. RGB cameras do not image outside the visible spectrum such as the infrared or ultraviolet spectrum.
[0156] Hyperspectral cameras are able to image at both visible and non-visible parts of the spectrum. They take a spectrum for each pixel in an image providing highly detailed information for an image. In addition to identifying objects based on their shape, visible colour and size, hyperspectral cameras are also capable of identifying various chemical and biological compounds and structures identifiable in the non-visible spectrum such as infrared or ultraviolet spectra. An example of a hyperspectral image analyser suitable for use with the present disclosure is described in US20050162649A1 .
[0157] Hyperspectral imaging is a term of art and would be well known to the person skilled in the art. In embodiments of the disclosure hyperspectral imaging refers to imaging which is able to capture visual and chemical features of the sample by combining spectral information collected using multiple light sources or a linear segment along a source surface. An example of a hyperspectral image analyser suitable for use with the present disclosure is described in US20050162649A1 .
[0158] Hyperspectral imaging techniques can be 2-dimensional or 3-dimensional. In embodiments of the disclosure, 2-dimensional hyperspectral imaging techniques provide sufficient information for disease identification in offal. In some embodiments, the offal is located on a processing line and the 2-dimensional hyperspectral imaging technique is capable of image capture and rendering at speeds associated with an offal processing line.Automated categorisation of offal quality and health of the livestock
[0159] It is possible to train neural networks, such as a convolutional neural network, to serve as an automated quality and health scoring system for offal obtained from slaughtered livestock. In some embodiments, the neural networks can be trained to collect health data from one or more images of offal captured from an offal processing line, determine the type of offal, determine the presence and proportion of disease and / or damage in the offal product from one or more visual characteristics present in the images of the offal, determine a health and / or quality score and determine the suitability for use for each offal product.
[0160] In some embodiments, one or more of the neural networks may be a convolutional neural network (‘CNN’) or a deep convolutional neural network (‘DCNN’). Convolutional networks include interconnected artificial nodes, called ‘neurons’ that generally mimic a biological neural network. Typically, the network includes a set of adaptive weights, i.e., numerical parameters that are tuned by training the network to perform certain complex functions. Training a CNN or DCNN essentially means selecting one model from a set of allowed models that minimizes a cost criterion. There are numerous algorithms available for training neural network models; most of them can be viewed as a straightforward application of optimization theory and statistical estimation. In some embodiments, one or more of the neural networks may be initialised by setting the weights of each neural network to sampled random weights from a normaldistribution with zero mean that define the starting point for the training of the neural network model. In some embodiments, initialisation can be performed using pre-trained weights from a visual database (such as ImageNet). Initialisation allows general object learning capabilities to be imparted to the convolutional neural network before training of the network.
[0161] Figure 1 illustrates a method 100 for training a neural network to provide a trained background removal model 120 for automatically removing background objects from input training data including images 102 captured from an offal processing line. The training images 102 may be one or more images of offal obtained from slaughtered livestock including: lungs, kidneys or livers.
[0162] Each training image 102 is stored as a NxM pixel array, with N and M being the width and height, respectively, of the training image. In some examples, the resolution of the training image may be 6000x4000. The pixel array comprises an array of three-channel RGB pixel values. However, those skilled in the art will appreciate that other colour image representation models could be used with suitable modification.
[0163] Each training image is annotated 104 or segmented by drawing one or more bounding polygons around the object of interest, for example, lung tissue. The background image is then removed to leave an image focusing on the object of interest. In some examples, the background image may include any object other than lung tissue such as blood, muscle or the background surface.
[0164] Additionally or alternatively, each training image is annotated 104 to indicate the offal or meat from the slaughtered livestock is suitable or unsuitable for use, for example, suitable for human or animal consumption. In some examples, the offal may be provided with an indicator prior to imaging of the offal to indicate that the offal is unsuitable or condemned for use and the training images may be annotated as “Unsuitable for use / condemned”. In one example, the offal may be tainted different colours, such as using blue, green or purple dyes or paints, to indicate the offal is unsuitable for human or animal consumption. In another example, the offal may be cut or slashed to indicate the offal is unsuitable for human or animal consumption.
[0165] In some embodiments, the training images 104 are annotated manually by a user such as a suitably qualified meat inspector or trained staff member of the abattoir.For manual annotation, the user interacts with the images using one or more drawing tools such as VGG image annotator.
[0166] In other embodiments, annotation is an automatic process. For example, neural networks trained according to the techniques of the present disclosure can be used to automatically segment the training data images.
[0167] Each annotated training image is then assembled into an annotated training data set 106 that is divided 108 into training images 110 and testing images 112. For example, division ratio may be 80% training images and 20% testing images.
[0168] The training images are then input as training data to an input layer of the training neural network 114. In some embodiments, the training neural network is a convolutional neural network such a tensor flow object detection model. One example of a tensor flow object detection model is MobileNet that operates by Depthwise Separable Convolution (DSC). MobileNet treats the object of interest as a foreground object, while the remainder of the image is treated as the background image. By inputting annotated training images, MobileNet can be well-trained to localise the object of interest quickly and accurately.
[0169] The model generated by the convolutional neural network is then tested 116 using the testing images 112 produced from the division 108 of the training dataset. After model generation, a determination 118 is made as to whether training of the convolutional neural network and testing of the resulting model are complete. In most instances, there are multiple iterations of the training 114 and testing 116 operations. The process then returns to step 108 in the event that training and / or testing is not yet complete. The dataset is again divided into training images and testing images at the commencement of each training and and / or testing operation. In the instance that training and testing is complete, a trained background removal model 120 is produced.
[0170] Figures 2a-2b illustrate a method 200 for training one or more neural networks to automatically identify a type of offal product from a captured image, categorise portions of a captured image of the offal product into healthy and unhealthy tissue, automatically identify offal that is suitable or unsuitable for use, and calculate a health and / or quality score for the offal product.
[0171] In some embodiments, one or more portions of each annotated image of the annotated training data set 106, previously described with reference to Figure 1 , is categorised or segmented into healthy and unhealthy tissue, for example, based on one or more visual representations or characteristics of healthy or unhealthy tissue described herein. Optionally, depending on the type of tissue, the unhealthy tissue in each annotated image is further segmented into tissue having one or more clinical presentations of disease. For example, lung tissue may be segmented into tissue having one or more of the clinical presentations of respiratory disease described in categories (a)-(d) above (e.g. (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; and (d) lung cysts or abscesses). In another example, kidney tissue may be segmented into tissue having one or more of the clinical presentations of disease described in categories (a)-(d) above (e.g. (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects). In another example, liver tissue may be segmented into tissue having one or more clinical presentations of disease described in categories (a)-(e) (e.g. (a) lesions; (b) nematode, cestode or trematode infestation; (c) aflatoxicosis; (d) damage to liver tissue from toxicity or disease; and (e) defects). Clinical presentations of disease and damage may be associated with various visual characteristics as described herein. Unhealthy liver may be associated with one or more visual characteristics including: changes in tissue morphology (one or more of additional tissue, loss of tissue, changes in texture, swelling, raised tissue, rough tissue, non-uniform tissue, Glisson’s capsule having tears or breaks, the presence of cysts or abscesses, the presence of tumours, bile duct thickening and / or distension, a veined surface of the liver, and the presence of necrotic lesions) and discolouration (one or more of presence of bronze, yellow, light or dark brown, dark red, grey, light cream, black or white; heterogeneous colour; non-uniform colouration, and change in bile duct colour). Unhealthy lung may be associated with one or more visual characteristics including: discolouration of the lung (one or more of bright red, dark red, grey, yellow, brown, green, very light pink, black and / or white) and changes in morphology (one or more of fibrotic lesions connecting one tissue lining to another, gelatinous dark red to pinkish accumulations on the surface of the pleural lining, extraneous tissue being present at the margins or on the surface of the lung, swollen tissue, lost tissue, abscess formation, haemorrhage, necrosis, scarring, swelling, changes in texture, raised tissue, depressed tissue, striated tissue, loss of tissue, indentation, pitting, scarring the presence of cysts and abscesses from acaptured offal image. Unhealthy kidney may visually present as one or more of a change in morphology (one or more of change in kidney size, necrosis, scarring, stippling, striations, enlargement of the kidney, additional kidney tissue, loss of kidney tissue, haemorrhage, calcification of the kidney, the presence of renal cysts or abscesses, lesions, nodules, a rugged surface, pitted surface or punctate surface) and discolouration (presence of one or more of white, yellow, dark brown, dark red, black, white, brown, tan, red, speckling, dappling or patching). Visual changes in unhealthy kidney may present as focal, lobular or diffuse. Optionally, both colour and morphology are assessed. Optionally, the assessment covers identification of discolouration and non-uniform colour such as speckling, dappling or patching. Optionally, the assessment covers identification of additional tissue (eg cycts or nodules), loss of tissue (eg abscess or necrosis), swelling (enlargement of the kidney), and non-uniform texture (eg stippling, rugged surface, pitted surface). Visual changes in unhealthy liver may present as diffuse, focal or lobular.
[0172] Optionally, each training images are annotated to indicate the type of offal, such as liver, lung or kidney.
[0173] Optionally, the offal product shown in each annotated image of the annotated training data set 106, previously described with reference to Figure 1 , may be assigned one or more of: a health score; a quality score; or a suitability score. Optionally, the offal product shown in each annotated image is assigned one or more of: a health score; a quality score or a suitability score in accordance with Tables 1 -3 described herein. Optionally, the tissue is categorised as suitable (e.g. suitable for human and / or animal consumption) or unsuitable (e.g. condemned) for example, based on one or more visual representations or characteristics of healthy or unhealthy tissue described herein. The suitability score may be the same or different to the quality score. In the example shown in Figure 2a, the annotated training data set 106 is categorised and scored 202 to produce the categorised and scored training data set 204.
[0174] In some embodiments, images 102 captured from an offal processing line are concurrently annotated to remove the background objects, categorised into healthy and unhealthy tissue, categorised into a type of offal, categorised into offal suitable or unsuitable for use, and assigned a health and / or quality score. In other embodiments, images 102 captured from an offal processing line are annotated to remove the background objects, categorised into a type of offal, categorised into offal suitable orunsuitable for use, categorised into healthy and unhealthy tissue, and scored sequentially. In some embodiments, categorisation of the offal into healthy and unhealthy tissue and / or scoring is not performed in response to the offal being determined as being unsuitable for use e.g. condemned.
[0175] In some embodiments, the annotated images are categorised and / or scored manually by a suitably qualified meat inspector. For manual categorisation, the meat inspector inspects each image and annotates the image by drawing one or more bounding polygons around the healthy and unhealthy tissue based on one or more visual presentations or characteristics of healthy or unhealthy tissue described herein. Additionally, the meat inspector may also inspect and annotate each image to categorise and / or score the offal as being suitable or unsuitable for use. For example, the offal may be categorised as being unsuitable for use if it is marked with an indicator indicating condemnation. Optionally, depending on the type of tissue, the unhealthy tissue is further segmented into tissue having one or more clinical presentations of disease. For example, when the annotated images relate to images of lungs that are suitable for use, the meat inspector may further annotate the images to indicate one or more categories including: (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; (d) lung cyst or abscess; and (e) no disease or healthy lung tissue. In another example, when the annotated images relate to images of liver that are suitable for use, the meat inspector may further annotate the image to indicate one or more categories including (a) lesions; (b) nematode, cestode or trematode infestation; (c) aflatoxicosis; (d) damage to liver tissue from toxicity or disease; and (e) defects. In another example, when the annotated images relate to images of kidney that are suitable for use, the meat inspector may further annotate the image to indicate one or more categories including (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects. Each of the one or more clinical presentations of disease are associated with one or more visual characteristics such as the location, size, gradation of colour, surface texture, morphology of the defect, range / extent of the disease, and colour. For manual annotation, the meat inspector interacts with the images using one or more drawing tools such as VGG image annotator. For manual scoring, the meat inspector inspects each image and assigns a one or more of: a health score; a quality score; or a suitability score. In some embodiments, the meat inspector assigns one or more of: the health score; the quality score or the suitability score in accordance with Tables 1 -3 described herein.
[0176] In other embodiments, categorisation and / or scoring of the annotated images is an automatic process. For example, neural networks trained according to the techniques of the present disclosure can be used to automatically identify and categorise a type of offal, healthy and unhealthy portions of offal tissue, identify and categorise offal suitable and unsuitable for use, and calculate a health and / or quality score of the offal.
[0177] The categorised and scored image data set 204 is input to the input layer of one or more initialized neural networks. In the example shown in Figure 2a, the categorised and scored image data set 204 is input into an initialized first convolutional neural network 206 and an initialized second convolution neural network 208. The first and second convolution neural networks may have the same number of layers or a different number of layers, for example, the first convolutional neural network may have 19 layers and the second convolutional neural network may have 48 layers. An exemplary process for training each of these neural networks will be described in further detail in relation to Figure 2b.
[0178] The result of training the first convolutional network 206 with the training data set of categorised and scored images is unhealthy and healthy tissue models, a health / quality score model, a suitability score model, and an offal type model. In one example, a discolouration model 210, a pleural adhesion model 212, an infection damage model 214, a lung cyst or abscess model 216 healthy tissue model 218, suitability model 217, and health / quality score model 219 are obtained where the tissue is a lung. In another example, a lesion model, a leptospirosis model, a damage from toxicity or disease model, a defect model, a healthy tissue model, a suitability model and a health / quality score model are obtained where the tissue is kidney. In another example, a lesions model, a nematode, cestode or trematode infestation model, a aflatoxicosis model, a toxicity or disease model, and a defects model, a healthy tissue model, suitability model and a health / quality score model are obtained where the tissue is a liver. The health / quality score model, for example, model 219 may indicate a health score, a quality score or both. The offal type model may indicate the type of offal, for example, lung, liver or kidney.
[0179] Similar to the first convolutional network 206, the result of training the second convolutional network 208 with the data set of categorised and scored images is unhealthy tissue models (e.g. a discolouration model 220; a pleural adhesion model222; an infection damage model 224; a lung cyst or abscess model 226), healthy tissue model (e.g. 228), suitability score model (e.g. 227), health / quality score model (e.g. 229), and an offal type model (e.g. indicating the offal is lung). The health / quality score model 229 may indicate a health score, a quality score or both. In another example, a lesion model, a leptospirosis model, a damage from toxicity or disease model, a defect model, a healthy tissue model, a suitability model and a health / quality score model are obtained where the tissue or offal is determined to be a kidney from the offal type model. In another example, a lesions model, a nematode, cestode or trematode infestation model, a aflatoxicosis model, a toxicity or disease model, and a defects model, a healthy tissue model, suitability model and a health / quality score model are obtained where the tissue or offal is determined to be a liver from the offal type model.
[0180] The unhealthy tissue models from the first and second convolutional networks 206, 208 are capable of determining the presence and proportion of categories of clinical presentations of disease and / or damage from one or more visual characteristics identified from captured offal images as described herein. In some embodiments, where the automated quality and health scoring system detects that the offal type is a lung (e.g. from the offal type model and captured image), the automated quality and health scoring system determines the presence and proportion of categories of clinical presentations of disease and / or damage from the one or more models (e.g. healthy tissue model, unhealthy tissue models, offal type model) and one or more visual characteristics from captured offal image including discolouration of the lung (one or more of bright red, dark red, grey, yellow, brown, green, very light pink, black and / or white) and changes in morphology (one or more of fibrotic lesions connecting one tissue lining to another, gelatinous dark red to pinkish accumulations on the surface of the pleural lining, extraneous tissue being present at the margins or on the surface of the lung, swollen tissue, lost tissue, abscess formation, haemorrhage, necrosis, scarring, swelling, changes in texture, raised tissue, depressed tissue, striated tissue, loss of tissue, indentation, pitting, scarring the presence of cysts and abscesses. In some embodiments, where the automated quality and health scoring system detects that the offal type is a kidney (e.g. from the offal type model and captured image), the automated quality and health scoring system determines the presence and proportion of categories of clinical presentations of disease and / or damage from the one or more models (e.g. healthy tissue model, unhealthy tissue models, offal type model) and one or more visual characteristics from the captured offal images including changes inmorphology (one or more of change in kidney size, necrosis, scarring, stippling, striations, enlargement of the kidney, additional kidney tissue, loss of kidney tissue, haemorrhage, calcification of the kidney, the presence of renal cysts or abscesses, lesions, nodules and / or a rugged, pitted or punctate surface of the kidney) and discolouration (presence of one or more of white, yellow, dark brown, dark red, black, white, brown, tan, red, specking, dappling or patching). In some embodiments, where the automated quality and health scoring system detects that the offal type is liver (e.g. from the offal type model and captured image), the automated quality and health scoring system determines the presence and proportion of categories of clinical presentations of disease and / or damage from the one or more models (e.g. healthy tissue model, unhealthy tissue models, offal type model) and one or more visual characteristics from captured offal image including one or more of changes in tissue morphology (one or more of additional tissue, loss of tissue, changes in texture, swelling, raised tissue, rough tissue, non-uniform tissue, Glisson’s capsule having tears or breaks, the presence of cysts or abscesses, the presence of tumours, bile duct thickening and / or distension, a veined surface of the liver, and the presence of necrotic lesions) and discolouration (one or more of presence of bronze, yellow, light or dark brown, dark red, grey, light cream, black or white; heterogeneous colour; non-uniform colouration, and change in bile duct colour). In one example, the discolouration models 210, 220 are capable of determining the presence and portion of lung tissue in an input image that is affected by disease. In another example, the pleural adhesion models 212, 222 are capable of determining the presence and portion of lung tissue in an input image that is affected by pleural adhesions. In another example, the infection damage models 214, 224 are capable of determining the presence and portion of lung tissue in an input image that has been damaged by disease. In another example, the lung cyst models 216, 226 are capable of determining the presence and portion of lung tissue in an input image that is affected by lung cysts or abscesses. In yet another example, the healthy lung tissue models 218, 228 are capable of determining the presence and portion of lung tissue that is healthy from one or more visual characteristics identified from captured offal images as described herein. In another example, the suitability models 217, 227 are capable of determining whether the offal is suitable or unsuitable / condemned for use from one or more visual characteristics identified from captured offal images as described herein. In yet another example, the models 219, 229 are capable of determining a health and / or quality score of the lung. In someembodiments, the health and / or quality score can be calculated from the output of the healthy and unhealthy tissue models and Tables 1 -3. In some embodiments, the health and / or quality score can be calculated form the output of the healthy and unhealthy tissue models, the offal type model and Tables 1 -3. In some examples, the portion of unhealthy or healthy tissue is a numerical value of one or more of: the surface area; area; or volume of the unhealthy or healthy tissue of the lung, liver or kidney. In some examples, the health score may be a numerical value in the range of 0-10 and the quality score may be a numerical value in the range of 1 -3 as shown in Tables 1 -3.
[0181] Figure 2b illustrates an exemplary process for training the first convolutional neural network 206 and the second convolutional neural network 208 shown in Figure 2a. Training of the first neural network 206 may be independent to the training of the second neural network 208 and the training of each neural network may be performed concurrently or sequentially.
[0182] The categorised and scored training data set 204 is divided 230 into training images 232, validation images 234 and testing images 236. In some examples, the division ratio may be 70% training images, 20% validation images and 10% testing images.
[0183] The training images 232 are input 236 as training data to an input layer of the initialised first convolutional neural network 206 and the initialised second convolutional neural network 208 shown in Figure 2a.
[0184] The models 210-229 generated by the convolutional neural networks 206 and 208 are validated 238 using the validation images 234 produced from the division of the training dataset 230. In the embodiment shown in Figure 2b, training and validation of the models occur concurrently. In other embodiments, validation of the models occur after the models have been trained.
[0185] After model generation, a determination 240 is made as to whether training of the convolutional neural networks and validation of the resulting models is complete. In most instances, there are multiple iterations of the training and validation operations. In the event that training and / or validation is not yet complete, the process returns to step 230. The dataset is again divided into training images, validation images and testing images at the commencement of each training and and / or validation operation.
[0186] Once training and validation is complete, models 210-229 generated by the convolutional neural networks 206 and 208 are tested 242 using the testing images 236 produced from the division of the training dataset. At step 244, a determination is made as to whether testing of the models is complete. In most instances, there are multiple iterations of the testing, training and validation operations. The process then returns to step 230 in the event that testing is not yet complete. The dataset is again divided into training images, validation images and testing images at the commencement of each testing operation.
[0187] At step 246, the result of completing testing is trained models 210-229 for each convolutional neural network 206, 208.
[0188] In some embodiments, the trained models may be fine-tuned to improve training performance and outcomes. Some examples of fine-tuning a trained model includes data augmentation, introducing dropout layers, adjusting the learning rate, and freezing layers of the neural network. For example, data augmentation involves augmenting the training images 102 by applying operations such as image rotation, flipping the image, brightness / contrast alterations, random cropping and minor colour adjustments. Augmentation may artificially increase the number of training images, assist in model generalization, and reduce overfitting. Overfitting may also be reduced by introducing dropout layers between two or more convolutional layers of the one or more neural networks.
[0189] In another example, the learning rate of the trained model may be adjusted. Learning rate is a hypermeter of the neural network that regulates the training speed while the process determines weights. Typically, higher learning rates will result in faster convergence of the model compared to a low learning rate. In some embodiments, an adaptive learning rate strategy is applied, where the learning rate varies across different layers in a model.
[0190] In another example, layers of a neural network are frozen. While model performance is typically improved with increasing convolution layers, some models such as the VGG19 model stops improving around the middle convolutional layers. In some embodiments, if the performance of any intermediate layer of the VGG19 model was lowest compared to earlier intermediate layers, the particular intermediate layer and all earlier intermediate layers are frozen by fixing the value of the learning rate to 0.Consequently, the trained network stopped updating the parameters and gradients of the frozen intermediate layers. This process may increase the speed of training the neural network, improve performance of the neural network, and reduce overfitting.
[0191] In some embodiments, to monitor the progress of training of each model the average training accuracy, validation accuracy, training loss, and validation losses, were checked for each model to validate the effectiveness of the proposed model. Typically, training and validation accuracies improve with increasing the number of iterations of the model, while the training and validation losses decrease.
[0192] Figure 3 illustrates a method 300 for automatically determining a type of offal, categorising portions of a captured image of an offal product into healthy and unhealthy tissue, categorising the captured image of the offal product as being suitable or unsuitable for use, and calculating a health and / or quality score of the offal product. The captured image 302 of the offal product is input to an input layer of a trained background removal model for automatically removing background objects 304 from the captured input image. In some embodiments, the captured image may be pre- processed for example, cropped, decoded and resolution-modified, prior to step 304.
[0193] In some embodiments, the captured image 302 or the image output from step 304 is input to an input layer of each trained model (e.g. the discolouration model, the pleural adhesion model, the infection damage model, the lung cyst model, the no disease / healthy lung model, the suitability model, the health / quality model and offal type model where the offal is a lung) of the one or more neural networks to produce an output calculation for each model indicating the presence and proportion of unhealthy or healthy tissue of the offal. In the example shown in Figure 3, the image output from step 304 is input to an input layer of each trained model of the first convolutional neural network 306 and the second convolutional neural network 308 as shown in Figure 2a to produce output calculations, for example, a numerical value indicating the surface area of lung tissue in the input image that is affected by pleural adhesions; a numerical value indicating the surface area of lung tissue in the input image that is affected by discolouration; a numerical value indicating the surface area of lung tissue in the input image that is affected by lung cysts; a numerical value indicating the surface area of lung tissue in the input image that is affected by damage from previous infections; a numerical value indicating the surface area of lung tissue in the input image that has no disease or is healthy; a numerical value of the health and / or quality score of the offalproduct shown in the input image; and a numerical value indicating the suitability of the offal product for use (e.g. 1 ) and non-use (e.g. 0 or condemned).
[0194] In some embodiments, a health score calculation is performed on the output calculations from the healthy or unhealthy tissue models (e.g. 210-218 and 220-228) in order to calculate a health score of the piece of offal identified in the input image. For example, if the surface area of the calculated unhealthy tissue from any of models 210- 216 or 220-226 is between 40-49% of the lung tissue then a health score of 5, as indicated in Table 1 , is assigned to the input image. In another example, if the surface area of calculated unhealthy tissue is between 0-9% of the lung tissue from model 218 or 228 then a health score of 1 , as indicated in Table 1 , is assigned to the input image.
[0195] Additionally or alternatively, a quality score calculation is performed on the output calculations from the healthy or unhealthy tissue models (e.g. 210-218 and 220- 228) in order to calculate a quality score of the piece of offal identified in the input image. For example, if the surface area of the calculated unhealthy tissue from any of models 210-216 or 220-226 is between 41 -50% of the lung tissue then a quality score of 1 is assigned to the input image as indicated in Table 1 . In another example, if the surface area of calculated healthy tissue is between 91 -99% of the lung tissue from model 218 or 228 then a quality score of 3 is assigned to the input image as indicated in Table 1 .
[0196] Additionally or alternately, a suitability score calculation is performed on the output calculations. In some embodiments, the suitability score indicates whether the offal is suitable or unsuitable / condemned for use. In some embodiments, the suitability score is based on the health score and / or a quality score. In one example, the offal is assigned a suitability score, indicating that the offal is to be condemned in accordance with a quality score of 0 indicating that the offal is not suitable for human or animal consumption. In some embodiments, if the offal is provided with an indicator, such as a colour dye, or paint, cut, or slash, the automated quality and health scoring system of the disclosure assigns a suitability score indicating that the offal is to be condemned.
[0197] At step 310, the scores calculated from each of the first and second convolutional neural networks are then combined using decision fusion to produce a single ensemble model. In some embodiments, the decision fusion is performed by weighted majority voting to favour the scores calculated from one of the neuralnetworks. Ensemble modelling may provide improved calculation accuracy compared to solely using the calculations from one of the neural networks.
[0198] In some embodiments, where the suitability score of the offal indicates condemned offal, the automated quality and health scoring system disregards the health and / or quality score output from the favoured neural network.
[0199] The present disclosure does not merely classify an input image of an individual offal product into healthy or unhealthy tissue. In contrast, the disclosure provides techniques to train neural networks to perform one or more of: decompose an offal image into offal suitable or unsuitable for use (e.g. condemned); decompose an offal image into healthy and unhealthy tissue; and assign a numerical health and / or quality score to each offal image. Further, the neural networks may decompose the unhealthy tissue into one or more clinical presentations of disease.
[0200] Figures 4a-4b illustrate one example of a networked environment in which the various operations and techniques described herein can be performed. Networked environment 400 includes scoring system 402 in communication with one or more image capture apparatus 404 and one or more databases 406-408 over network 424.
[0201] In the following description, reference is made to “modules”. This is intended to refer generally to a collection of processing functions that perform a function. It is not intended to refer to any particular structure of computer instructions or software or to any particular methodology by which the instructions have been developed.
[0202] The image capture apparatus may be a hyperspectral device, an X-ray device, an ultrasound device or a CT device. In the example shown in Figure 4, the image capture apparatus 404 includes a camera for producing one or more image sequences of an environment including an offal processing line. In some embodiments, the camera is located in an image chamber having one or more light sources. In some embodiments, the image capture apparatus 404 is located on a gantry 406 that resides above an offal processing conveyor 408 as shown in Figure 4b. The gantry may be suitably dimensioned for stability and to provide access to the conveyor. A camera gantry was developed to suit individual processing lines. The camera gantry is required to meet abattoir material standards, be shock absorbing and stiff to reduce movement and vibrations during image capture. The gantry will be designed to be adjustableallowing optimal images to be captured. The image capture apparatus may be triggered by a beam sensor located on the gantry 406. In one example, the gantry, camera and beam sensor are water resistant and non-corrosive to prevent damage during cleaning of the offal processing conveyor or surrounding environment.
[0203] The camera may be a video camera or a still camera, configured to take images at predetermined intervals. The camera includes or is in communication with image processing circuitry to perform health score calculation functions, for example as described herein.
[0204] In some embodiments, the camera may include bi-directional communication to indicate an event, for example, imaging a piece of offal on the processing line. In one example, this bi-directional communication is in the form of indicator lights and / or audible tones. The camera may be controlled remotely through network configurations to allow flexibility of panning, zooming and dynamic changes of the field of view.
[0205] In some embodiments, each piece of offal is associated with data, for example a carcass identifier that may be generated when the animal is presented for slaughter by scanning of an electronic ear tag of the animal. The carcass identifier may be assigned to the meat and offal of the animal for tracking through the meat processing facility and may include details regarding the animal, origin, supplier, location and other information associated with the animal. In one example, the carcass identifier is provided on a tag fixed to the piece of offal. In another example, the carcass identifier is printed on the piece of offal. In one example, the carcass identifier is an alphanumeric identifier and the image capture apparatus is capable of performing Optical Character Recognition (OCR). In another example, the carcass identifier is a barcode that is scanned by one or more barcode readers located within the environment of the offal processing line.
[0206] By assigning a carcass identifier to each piece of offal, data of each animal may be associated with its respective suitability, health and / or quality score calculated from system 402. In one example, this may permit tracing of diseased offal to a source origin so that treatment or management of the disease may be provided to the surviving herd. In another example, this may permit real-time feedback of the health and / or quality of offal and / or meat to an owner of the herd. In another example, the owner of the herd may be provided with an alert to isolate, monitor, assess and / or treat the livingmembers of the heard based on the health and / or quality level exceeding a threshold level.
[0207] The image capture module 414 interacts with the image capture apparatus 404 to capture one or more images of a piece of offal and an associated physical identifier as it travels on the offal processing conveyor 408.
[0208] The annotation module 416 receives the one or more captured images and associated physical identifiers from the image capture module 414 and produces one or more training image data sets. The annotation module removes background objects from the captured images to leave an image focusing on the object of interest. The annotation module may also categorise portions of the captured images into healthy and unhealthy tissue and / or categorise the captured image of the offal product as being suitable or unsuitable for use. The annotation module may also score the health and / or quality of the offal product shown in the captured images. The annotation module may also categorise the captured image of the offal product to a type of offal. The images output from annotation module are stored in database 406.
[0209] The training module 420 performs training and testing of a neural network for automatically removing background objects from input images stored in database 406 and to produce a trained background removal model. The training module 420 also performs training, testing and validation of one or more neural networks to produce one or more models for automatically identifying a type of offal, automatically identifying portions of unhealthy or healthy tissue, automatically identifying the offal as being suitable or unsuitable for use, and calculating a health and / or quality score from an input image. The training, validation and testing of the neural networks are performed using training, validation and testing data sets stored in database 406. The background removal model, the offal type model, the unhealthy and healthy tissue models, the suitability for use models, and the score models are stored in database 408. Alternatively, each of the background removal model, the offal type model, the unhealthy and healthy tissue models, and the score models may be stored in separate databases.
[0210] Suitability module 418 calculates an output calculation from each of the suitability models to produce an output calculation for each model and stores these in database 408. In some embodiments, the suitability module disregards the healthand / or quality score output where the suitability score of the offal indicates condemned offal.
[0211] Tissue module 422 calculates an output calculation from each of the unhealthy and healthy tissue models (e.g. the discolouration model, the pleural adhesion model, the infection damage model, the lung cyst model, the no disease / healthy lung model) to produce an output calculation for each model and stores these in database 408.
[0212] Score module 424 calculates an output calculation from the health and / or quality score models stored in database 408. In some embodiments, the health score module combines each health score model of a first and second convolutional neural network using a decision fusion procedure to produce a single ensemble model. The health score module 422 may calculate a health score calculation from the ensemble model using weighted majority voting to favour the health score calculated from one of the neural networks and store the resulting health score in database 408. The health score module may also associate the health score with an offal identifier retrieved from database 408.
[0213] Offal type model calculates an output calculation from the offal type model and stores this in database 408.
[0214] The scoring system 402 may be any computer processing system, for example as described below with reference to Figure 5.
[0215] Figure 5 provides a block diagram of a computer processing system 500 configurable to implement embodiments and / or features described herein. System 500 is a general purpose computer processing system. It will be appreciated that Figure 5 does not illustrate all functional or physical components of a computer processing system. For example, no power supply or power supply interface has been depicted, however system 500 will either carry a power supply or be configured for connection to a power supply (or both). It will also be appreciated that the particular type of computer processing system will determine the appropriate hardware and architecture, and alternative computer processing systems suitable for implementing features of the present disclosure may have additional, alternative, or fewer components than those depicted.
[0216] Computer processing system 500 includes at least one processing unit 502 (for example a general or central processing unit, a graphics processing unit, or an alternative computational device). When computer processing system 500 is used to train convolutional neural networks in accordance with the above teachings, processing unit 502 is typically a graphics processing unit. Computer processing system 500 may include a plurality of computer processing units. In some instances, where a computer processing system 500 is described as performing an operation or function all processing required to perform that operation or function will be performed by processing unit 502. In other instances, processing required to perform that operation or function may also be performed by remote processing devices accessible to and useable by (either in a shared or dedicated manner) system 500.
[0217] Through a communications bus 504, processing unit 502 is in data communication with one or more computer readable storage devices which store instructions and / or data for controlling operation of the processing system 500. In this example system 500 includes a system memory 506 (e.g. a BIOS), volatile memory 508 (e.g. random access memory such as one or more DRAM modules), and non-volatile (or non-transitory) memory 510 (e.g. one or more hard disk or solid state drives). Such memory devices may also be referred to as computer readable storage media.
[0218] System 500 also includes one or more interfaces, indicated generally by 512, via which system 500 interfaces with various devices and / or networks. Generally speaking, other devices may be integral with system 500, or may be separate. Where a device is separate from system 500, connection between the device and system 500 may be via wired or wireless hardware and communication protocols, and may be a direct or an indirect (e.g. networked) connection.
[0219] Wired connection with other devices / networks may be by any appropriate standard or proprietary hardware and connectivity protocols, for example Universal Serial Bus (USB), eSATA, Thunderbolt, Ethernet, HDMI, and / or any other wired connection hardware / connectivity protocol.
[0220] Wireless connection with other devices / networks may similarly be by any appropriate standard or proprietary hardware and communications protocols, for example infrared, BlueTooth, WiFi; near field communications (NFC); Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), long termevolution (LTE), code division multiple access (CDMA - and / or variants thereof), and / or any other wireless hardware / connectivity protocol.
[0221] Generally speaking, and depending on the particular system in question, devices to which system 500 connects - whether by wired or wireless means - include one or more input / output devices (indicated generally by input / output device interface 514). Input devices are used to input data into system 500 for processing by the processing unit 502. Output devices allow data to be output by system 500. Example input / output devices are described below, however it will be appreciated that not all computer processing systems will include all mentioned devices, and that additional and alternative devices to those mentioned may well be used.
[0222] For example, system 500 may include or connect to one or more input devices by which information / data is input into (received by) system 500. Such input devices may include keyboards, mice, trackpads (and / or other touch / contact sensing devices, including touch screen displays), microphones, accelerometers, proximity sensors, GPS devices, touch sensors, and / or other input devices. System 500 may also include or connect to one or more output devices controlled by system 500 to output information. Such output devices may include devices such as displays (e.g. cathode ray tube displays, liquid crystal displays, light emitting diode displays, plasma displays, touch screen displays), speakers, vibration modules, light emitting diodes / other lights, and other output devices. System 500 may also include or connect to devices which may act as both input and output devices, for example memory devices / computer readable media (e.g. hard drives, solid state drives, disk drives, compact flash cards, SD cards, and other memory / computer readable media devices) which system 500 can read data from and / or write data to, and touch screen displays which can both display (output) data and receive touch signals (input).
[0223] System 500 also includes one or more communications interfaces 516 for communication with a network, such as the Internet in environment 100. Via a communications interface 516 system 500 can communicate data to and receive data from networked devices, which may themselves be other computer processing systems.
[0224] System 500 stores or has access to computer applications (also referred to as software or programs) - i.e. computer readable instructions and data which, when executed by the processing unit 502, configure system 500 to receive, process, andoutput data. Instructions and data can be stored on non-transitory computer readable medium accessible to system 500. For example, instructions and data may be stored on non-transitory memory 510. Instructions and data may be transmitted to / received by system 500 via a data signal in a transmission channel enabled (for example) by a wired or wireless network connection over interface such as 512.
[0225] Applications accessible to system 500 will typically include an operating system application such as Microsoft Windows®, Apple OSX, Apple IOS, Android, Unix, or Linux.
[0226] In some cases part or all of a given computer-implemented method will be performed by system 500 itself, while in other cases processing may be performed by other devices in data communication with system 500.
Claims
CLAIMS1 . A method for diagnosing disease in offal of livestock comprising: capturing an image of the offal; inputting the image of the offal to one or more pre-trained neural network models of healthy or unhealthy tissue for processing, the processing including the steps of:(i) determining, from the input image of the offal, healthy and unhealthy tissue;(ii) determining, from the input image of the offal, a portion of the offal having healthy and unhealthy tissue; and(iii) determining a health score representing the health of the slaughtered livestock prior to slaughter based on steps (i) and (ii).
2. The method of claim 1 , further comprising communicating the health score to an owner, supplier or slaughterer of the livestock.
3. The method of any one of claims 1 -2, further comprising alerting the owner of the herd of livestock to isolate, monitor, assess and / or treat the living members of the herd based on the health score.
4. The method according to any one of claims 1 -3, wherein the image of offal is captured from a hyperspectral camera and / or standard light camera.
5. The method according to any one of claims 1 -4, wherein the offal is obtained from a slaughtered ruminant or bird.
6. The method according to any one of claims 1 -5, wherein the offal is a lung and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; and (d) lung cysts or abscesses.
7. The method according any one of claims 1 -5, wherein the offal is a liver and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b)nematode, cestode or trematode infestation; (c) aflatoxicosis; (d) damage to liver tissue from toxicity or disease; and (e) defects.
8. The method according to any one of claims 1 -5, wherein the offal is a kidney and the unhealthy tissue is further categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects.
9. A method of processing offal at an abattoir comprising: capturing an image of the offal; inputting the image of the offal to one or more pre-trained neural network models of healthy or unhealthy tissue for processing, the processing including the steps of:(i) determining from the input image of the offal, healthy and unhealthy tissue;(ii) determining, from the input image of the offal, a portion of the offal having healthy and unhealthy tissue; and(iii) one or more of determining a health score representing the health of the slaughtered livestock prior to slaughter and determining whether the offal is suitable for human consumption, suitable for animal consumption or not suitable for consumption based on steps (i) and (ii).
10. The method of claim 9, wherein the offal is lung and / or liver tissue.1 1 . The method of claim 10, wherein in step (ii) the offal is determined as having 0 to <10% or 1 to <10% of unhealthy tissue and / or >90% to 100% or >90% to 99% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for human consumption.
12. The method of claim 10, wherein in step (ii) the offal is determined as having 10 to <30% of unhealthy tissue and / or >70% to 90% of the tissue is determined to be healthy; and wherein in step (c) the offal is determined as fit for animal consumption.
13. The method of claim 10, wherein in step (ii) the offal is determined as having > 30% of unhealthy tissue and / or <70% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as not fit for consumption.
14. The method of any one of claims 10 to 13, wherein the offal is allocated a quality score based on steps (i) and (ii) of:3 for 0% to <10% or 1% to <10% of the tissue is determined to be unhealthy tissue and / or >90% to 100% or >90% to 99% of the tissue is determined to be healthy tissue;2 for 10% to <30% of the tissue is determined to be unhealthy tissue and / or >70% to 90% of the tissue is determined to be healthy tissue; and1 for 30% or more of the tissue is determined to be unhealthy tissue and / or 70% or less of the tissue is determined to be healthy.
15. The method according to any one of claims 10-14, wherein the offal is a lung and the unhealthy tissue is categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) discolouration of lungs; (b) pleural adhesions; (c) damage to lung tissue from infection; and (d) lung cysts or abscesses.
16. The method according any one of claims 10-14, wherein the offal is a liver and the unhealthy tissue is categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b) nematode, cestode or trematode infestation; (c) aflatoxicosis; (d) damage to liver tissue from toxicity or disease; and (e) defects.
17. The method of claim 9, wherein the offal is kidney offal.
18. The method of claim 17, wherein in step (ii) the offal is determined as having no unhealthy tissue and / or 100% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as fit for human consumption.
19. The method of claim 17, wherein in step (ii) the offal is quantified as having 1% to <30% of unhealthy tissue and / or >70% to 99% of the tissue is determined to be healthy; andwherein in step (iii) the offal is determined as fit for animal consumption.
20. The method of claim 17, wherein in step (ii) the offal is quantified as having 30% or more of unhealthy tissue and / or >70% of the tissue is determined to be healthy; and wherein in step (iii) the offal is determined as not fit for consumption.21 . The method of any one of claims 17 to 20, wherein the offal is allocated a quality score based on steps (i) and (ii) of:3 for 0% is determined to be unhealthy tissue and / or 100% of the tissue is determined to be healthy;2 for 1% to <30% is determined to be unhealthy tissue and / or >70% to 99% of the tissue is determined to be healthy; and1 for 30% or more is determined to be unhealthy tissue and / or 70% or less of the tissue is determined to be healthy.
22. The method according to any one of claims 17-21 , wherein the offal is a kidney and the unhealthy tissue is categorised according to the presence and proportion of one or more clinical indications of disease or damage including: (a) lesions; (b) leptospirosis; (c) damage to kidney tissue from toxicity or disease; and (d) defects.
23. The method according to any one of claims 1 -21 , wherein the pre-trained neural networks models are trained by: segmenting a training image of offal into healthy or unhealthy tissue; and training one or more neural networks with the segmented training image to produce the one or more models of healthy or unhealthy tissue.
24. The method according to claim 23, wherein the step of training the one or more neural networks further comprises: training the one or more neural networks to segment an input image of a piece of offal into one or more segments; and training the one or more neural networks to categorise the one or more segments into healthy or unhealthy tissue.
25. The method according to any one of claims 23-24, wherein the training comprises inputting a segmented image to a convolutional layer of the one or more neural networks to produce the one or more models of healthy or unhealthy tissue.
26. A computer system comprising: a processor; and memory, the memory comprising instructions, which when executed by the processor cause the computer system to perform the methods of any one of claims 1 -25.
Citation Information
Patent Citations
Meat detection method and device, electronic equipment and medium
CN112986159A
Method for evaluating a health state of an anatomical element, related evaluation device and related evaluation system
US20210068404A1
