DEVICE FOR READING BARCODES

20200191812 ยท 2020-06-18

    Inventors

    Cpc classification

    International classification

    Abstract

    An image capture device for capturing an image of barcodes of a plurality of test tubes held in a test tube rack,the plurality of test tubes each having an individual barcode thereon, the image capture device comprising: an enclosure comprising a transparent window which, in use, is adjacent to the test tube rack to be imaged;and a plurality of stationary components, the plurality of stationary components comprising: at least one camera mounted within the enclosure to capture an image of the barcodes; a lighting arrangement mounted within the enclosure, the lighting arrangement comprising at least one light source to illuminate the barcodes of the plurality of test tubes held in the test tube rack through the transparent window;a mirror in an optical path between the at least one camera and the transparent window, the mirror arranged to relay light rays reflecting from the barcodes of the plurality of test tubes held in the test tube rack to the at least one camera; and an interface for outputting the captured image to a host computer for decoding of said barcodes.

    Claims

    1. An image capture device for capturing an image of barcodes of a plurality of test tubes held in a test tube rack, the plurality of test tubes each having an individual barcode thereon, the image capture device comprising: an enclosure comprising a transparent window which, in use, is adjacent to the test tube rack to be imaged; and a plurality of stationary components, the plurality of stationary components comprising: at least one camera mounted within the enclosure to capture an image of the barcodes; a lighting arrangement mounted within the enclosure, the lighting arrangement comprising at least one light source to illuminate the barcodes of the plurality of test tubes held in the test tube rack through the transparent window; a mirror in an optical path between the at least one camera and the transparent window, the mirror arranged to relay light rays reflecting from the barcodes of the plurality of test tubes held in the test tube rack to the at least one camera; and an interface for outputting the captured image to a host computer for decoding of said barcodes.

    2. An image capture device according to claim 1, wherein the mirror is mounted within the enclosure at an angle that is equal to, or greater than 10 degrees relative to the transparent window and less than, or equal to 65 degrees relative to the transparent window.

    3. An image capture device according to claim 1, wherein the mirror is mounted within the enclosure at an angle of 45 degrees relative to the transparent window.

    4. An image capture device according to claim 1, wherein the mirror is mounted within the enclosure at an angle that is greater than 45 degrees and less than, or equal to, 65 degrees relative to the transparent window.

    5. An image capture device according to claim 1, wherein the mirror is mounted within the enclosure at an angle that is equal to, or greater than 10 degrees and less than 45 degrees relative to the transparent window.

    6. An image capture device according to claim 1, wherein the mirror is mounted to one or any combination of: a base of the enclosure, a side wall of the enclosure, and a portion of a top of the enclosure which surrounds the transparent window.

    7. An image capture device according to claim 1, wherein the at least one camera is positioned lower than a height of the transparent window.

    8. An image capture device according to claim 7, wherein the at least one camera is mounted to one or any combination of: a base of the enclosure, a side wall of the enclosure, and a portion of a top of the enclosure which surrounds the transparent window.

    9. An image capture device according to claim 1, wherein the enclosure comprises a portion which extends vertically above a height of the transparent window and the at least one camera is mounted within said portion such that the at least one camera is positioned higher than the height of the transparent window.

    10. An image capture device according to claim 1, wherein the image capture device further comprises at least one further stationary mirror in the optical path between the at least one camera and the transparent window, the at least one further stationary mirror in combination with said mirror arranged to relay light rays reflecting from the test tube rack to the at least one camera.

    11. An image capture device according to claim 1, wherein the lighting arrangement is mounted within the enclosure to provide generally uniform illumination across the whole transparent window and to reduce unwanted reflections.

    12. An image capture device according to claim 1, wherein the at least one light source directly illuminates the transparent window.

    13. An image capture device according to claim 1, wherein the enclosure comprises a pair of opposed end walls and the at least one light source is mounted adjacent to at least one end wall.

    14. An image capture device according to claim 13, wherein a plurality of light sources are symmetrically placed within the enclosure with light sources mounted adjacent to both end walls.

    15. An image capture device according to claim 1, wherein the image capture device further comprises at least one light blocking element arranged to block a subset of light ray angles radiating from the at least one light source.

    16. An image capture device according to claim 1, wherein the lighting arrangement comprises: a plurality of light sources comprising a first set of light sources and a second set of light sources mounted within the enclosure to directly illuminate the window, and at least one light blocking element arranged to block a subset of light ray angles radiating from only one of the first and second set of light sources.

    17. An image capture device according to claim 16, wherein the first set of light sources illuminates a first section of the transparent window and the second set of light sources illuminates a second section of the transparent window and the first and second sections at least partially overlap to provide overlap regions.

    18. An image capture device according to claim 16, wherein each of the first and second set of light sources comprises at least one array of light sources.

    19. An image capture device according to claim 17 or 18, wherein the first set of light sources and the second set of light sources are mounted at different angles relative to each other.

    20. An image capture device according to claim 1, wherein the at least one light source indirectly illuminates the transparent window.

    21. An image capture device according to claim 20, wherein the mirror is arranged to reflect light emitted by the at least one light source towards the transparent window.

    22. An image capture device according to claim 20, wherein at least one further mirror is arranged to reflect light emitted by the at least one light source towards the transparent window.

    23. (canceled)

    24. (canceled)

    25. (canceled)

    26. An image capture device according to claim 1, further comprising a controller which is configured to control capture of an image of the test tube rack placed on the image capture device.

    27. (canceled)

    28. (canceled)

    29. An image capture device according to claim 26, wherein the controller is configured to: increase the light intensity of light emitted by the at least one light source; control the at least one camera to capture an image of the test tube rack; decrease the light intensity of light emitted by the at least one light source; and transmit, via said interface, the captured image of the test tube rack to the host computer.

    30. An image capture device according to claim 26, wherein the controller is configured to control the light intensity of light emitted by the at least one light source to provide generally uniform illumination across the whole transparent window.

    31. (canceled)

    32. A system comprising: an image capture device for capturing an image of barcodes of a plurality of test tubes held in a test tube rack, the plurality of test tubes each having an individual barcode thereon; and a host computer coupled to the image capture device; wherein the image capture device comprises: an enclosure comprising a transparent window which, in use, is adjacent to the test tube rack to be imaged; and a plurality of stationary components, the plurality of stationary components comprising: at least one camera mounted within the enclosure to capture an image of the barcodes; a lighting arrangement mounted within the enclosure, the lighting arrangement comprising at least one light source to illuminate the barcodes of the plurality of test tubes held in the test tube rack through the transparent window; a mirror in an optical path between the at least one camera and the transparent window, the mirror arranged to relay light rays reflecting from the barcodes of the plurality of test tubes held in the test tube rack to the at least one camera; and an interface for outputting the captured image to a host computer for decoding of said barcodes.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0056] For a better understanding of the present disclosure and to show how embodiments may be put into effect, reference is made to the accompanying drawings in which:

    [0057] FIG. 1 illustrates a known image capture device;

    [0058] FIG. 2 illustrates an image capture device in accordance with embodiments of the invention referencing only some of the components;

    [0059] FIG. 3a shows the base of a typical tube rack;

    [0060] FIG. 3b shows the base of a tube labelled with a barcode;

    [0061] FIGS. 4a and 4b show differing positions of a camera and a mirror in the image capture device;

    [0062] FIG. 4c illustrates the height reduction of an image capture device achieved with embodiments of the invention;

    [0063] FIG. 4d shows the location of a camera and a mirror in the image capture device according to an alternative embodiment;

    [0064] FIG. 5 shows an image capture device in accordance with embodiments of the invention having multiple mirrors;

    [0065] FIG. 6 illustrates the image capture device in accordance with embodiments of the invention referencing other components than in FIG. 2;

    [0066] FIG. 7 is a schematic block diagram of the image capture device and a host computer coupled to the image capture device; and

    [0067] FIG. 8 shows a flowchart of a process performed by a controller of the image capture device.

    DETAILED DESCRIPTION

    [0068] Embodiments will now be described by way of example only.

    [0069] FIG. 2 show an image capture device 200 according to the present invention. The image capture device 200 comprises an enclosure 201 having side walls, a base and a top (the base of the enclosure opposing the top). The top has a window 204 with dimensions (width and length) which generally match (i.e. is approximately equal to) those of a test tube rack to be placed on the device. In this embodiment, the enclosure has the form of a generally rectangular box. It will be appreciated that other shapes of enclosure may be used provided the device is suitable for capturing an image of a test tube rack placed thereon.

    [0070] The image capture device 200 may comprise tube rack positioning elements 202 to correctly position a tube rack on the device.

    [0071] The enclosure 201 houses a camera 206. Whilst FIG. 2 shows a single camera, more than one camera may be housed within the enclosure. The camera(s) 206 has a resolution of at least 5 megapixels. The enclosure 201 further houses a mirror 208. Whilst FIG. 2 shows a single mirror, more than one mirror may be housed within the enclosure (described in more detail later). The mirror 208 may be a first surface mirror (otherwise known as a front surface mirror), which avoids added reflections that would otherwise be created from the glass surface of a conventional second surface mirror.

    [0072] As will be apparent from FIG. 2, the mirror 208 is in an optical path between the camera 206 and the transparent window 204, the mirror 208 being arranged to reflect light (which is reflected from the underside of the test tube rack) into the field of view of the camera 206. As will be described in more detail below, the mirror 208 enables the height of the image capture device 200 to be reduced whilst retaining the ability of the camera to obtain high quality images of barcodes of a plurality of test tubes held in the test tube rack so that the barcodes on each tube may be decoded. In operation the camera 206 captures a single image of all of the barcodes of the plurality of test tubes held in the test tube rack.

    [0073] The enclosure 201 also houses a lighting arrangement; the lighting arrangement comprises at least one light source to illuminate test tube rack through the transparent window 204 in a generally uniform manner and to reduce unwanted reflections. When activated, the light source(s) illuminate the whole area of the transparent window. The lighting arrangement can be implemented in various ways which will be discussed in further detail later.

    [0074] The walls and base of the enclosure 201 are non-transparent in order to block out light from external sources. The top of the enclosure or at least the window 16 is transparent so that barcodes of a plurality of test tubes held in a test tube rack placed on the top of the device can be illuminated by the light sources and imaged by the camera 206 within the device.

    [0075] As illustrated in FIG. 2, the image capture device 200 has no moving parts within the enclosure 201, all components housed within the enclosure are stationary (non-moveable components). That is, the camera 206, mirror 208 and light sources are stationary (do not move in operation) due to being fixed inside the enclosure by way of suitable mounting.

    [0076] FIGS. 3a shows the base 300 of a typical tube rack (in this case, a 96 tube rack), which is the object to be captured by the image capture device 200. In FIG. 3a each circle indicates the position of a tube in the rack, and the base of each tube 14 is labelled with a barcode 302 (2D or otherwise), as shown in FIG. 3b, which uniquely identifies the sample contained in each tube. It should be noted that embodiments extend to imaging barcodes which are placed on the top of the tubes (when the image capture device is supported with its window above the tube rack). Embodiments are not limited to an image capturing device for capturing an image of a 96 tube rack and can extend to capturing an image of any size test tube rack which holds a plurality of test tubes.

    [0077] We first describe possible arrangements of the camera 206 and the mirror 208 in the enclosure 201 that can achieve a mirror image of an image captured by the camera 10 of FIG. 1 which is positioned centrally below the rack, and also reduce the height of the enclosure. The mirror image is of the same size as the image captured by the camera 10 of FIG. 1.

    [0078] In embodiments, the mirror 208 may be mounted within the enclosure 201 by a suitable fixing to one or more of: the base of the enclosure, a long side wall 205 of the enclosure and a portion of the top of the enclosure which surrounds the transparent window 204.

    [0079] Similarly, in embodiments the camera 206 may be mounted within the enclosure 201 by a suitable fixing to one or more of: the base of the enclosure, a long side wall 203 of the enclosure (opposing the long side wall 205 onto which the mirror 208 may be mounted) and a portion of the top of the enclosure which surrounds the transparent window 204

    [0080] FIG. 4a is a side view of a first arrangement in which the mirror 208 is positioned at an angle, of 45 degrees relative to a plane of the window 204 (plane A across the width of the window 204) e.g. relative to the rack 12, and the camera 206 is positioned so that the angle of reflection of the light reflected from the test tube rack is 90 degrees.

    [0081] As shown in FIG. 4a, in this arrangement the camera 206 is mounted such that the rear surface of the body of the camera 206 is parallel to the long side wall 203 of the enclosure (and may indeed be mounted to the long side wall 203) and the mirror 208 is in the field of view of the camera 206.

    [0082] In the arrangement of FIG. 4a, the camera 206 is at a 90 degree angle relative to a plane (plane A) of the window 204 so that the camera 206 captures an image which is a mirror image of an image captured by the known image capture device 100 shown in FIG. 1.

    [0083] In embodiments, the enclosure 201 houses a printed circuit board (PCB) which includes a controller for controlling the light source(s) and the camera 206. The PCB may be positioned behind the mirror 208 such that the PCB is positioned directly below the sloping underside of the mirror 208.

    [0084] With the mirror 208 positioned at an angle, of 45 degrees, the height of the image capture device 200 can be reduced to below 85 mm (this is approximately equal to the width of a 96 well test tube rack manufactured under the specifications of the industry standard defined by the Society for Biomolecular Screening (SBS)).

    [0085] In other embodiments, the mirror 208 is mounted within the enclosure at an angle, relative to a plane (plane A) of the window 204 that is greater than 45 degrees and less than or equal to 65 degrees relative to the transparent window 204, and the camera 206 is positioned so that the angle of the light reflected from the test tube rack is greater than 90 degrees. Whilst in these other embodiments the height of the image capture device 200 will be higher than the arrangement shown in FIG. 4a, the height of the image capture device 200 is still lower than the height of the known image capture device 100 shown in FIG. 1. In order for the camera 206 to capture an image equivalent to an image captured by the known image capture device 100 shown in FIG. 1, the camera 206 is tilted such that it is angled (at an angle greater than 90 degrees) relative to a plane (plane A) of the window 204 with the mirror 208 in the field of view of the camera 206.

    [0086] FIG. 4b is a side view of a second arrangement in which the mirror 208 is positioned at an angle, that is equal to, or greater than 10 degrees and less than 45 degrees relative to a plane of the window 204 (plane A across the width of the window 204) and the camera 206 is positioned so that the angle of reflection of the light reflected from the test tube rack is less than 90 degrees.

    [0087] In order for the camera 206 to capture an image equivalent to an image captured by the known image capture device 100 shown in FIG. 1, the camera 206 is tilted such that it is angled (at an angle less than 90 degrees) relative to a plane (plane A) of the window 204.

    [0088] The arrangement shown in FIG. 4b is advantageous is that the height of the image capture device 200 is further reduced compared with the arrangement shown in FIG. 4a.

    [0089] FIG. 4c illustrates the height reduction which can be achieved using the arrangements shown in FIG. 4a and FIG. 4b.

    [0090] The height of the known image capture device 100 which shown in FIG. 1 is h1. A shown in FIG. 4c, by using the arrangement shown in FIG. 4a the height of the image capture device 200 is h2, where h2<h1, and by using the arrangement shown in FIG. 4b the height of the image capture device 200 is h3, where h3<h2<h1.

    [0091] Thus it has been shown that embodiments of the present invention reduce the height of the image capture device while using a single low-cost camera.

    [0092] It will be appreciated that there are many combinations of the mirror and camera angles and positions that can achieve an image of the barcodes of the plurality of test tubes held in the rack equivalent to an image captured by the known image capture device 100 shown in FIG. 1 having a camera positioned centrally below the rack, and the choice of a particular combination may depend on the desired size of the enclosure and on the other components of the image capture device, such as lighting. The arrangements described above are examples to illustrate the concept.

    [0093] Whilst in the arrangements referred to above the camera 206 is positioned at a height which is lower than a height of the transparent window 204. In an alternative embodiment, which is illustrated in FIG. 4d, the enclosure 201 comprises a portion which extends vertically above a height of the transparent window and the camera 206 is mounted within said portion such that the camera 206 is positioned at a height which is higher than the height of the transparent window 204. Expressed another way, the top of the enclosure 201 is not flat having a raised portion which houses the camera 206.

    [0094] In this alternative embodiment the mirror 208 is positioned at an angle, that is greater than 10 degrees and less than 45 degrees relative to a plane of the window 204 (plane A across the width of the window 204) and the camera 206 is positioned so that the angle of reflection of the light reflected from the test tube rack is less than 90 degrees. In order for the camera 206 to capture an image equivalent to an image captured by the known image capture device 100 shown in FIG. 1, the camera 206 is tilted such that it is angled (at an angle less than 90 degrees) relative to a plane of the extended portion.

    [0095] Whilst in the above described embodiments, a single mirror is in the optical path between the camera 206 and the transparent window 204, in other embodiments multiple stationary mirrors may be present in the optical path between the camera 206 and the transparent window 204 and the multiple stationary mirrors in combination are arranged to relay light signals reflecting from the test tube rack to the at least one camera.

    [0096] FIG. 5 is an example arrangement in which multiple stationary mirrors are present in the optical path between the camera 206 and the transparent window 204. In particular, a further stationary mirror 218 is provided so that an image of the barcodes of the plurality of test tubes 14 held in the test tube rack 12 is reflected on the first stationary mirror 208, then reflected on the further stationary mirror 218, and then captured by the camera 206.

    [0097] At least one further stationary mirror 218 may be provided. The further stationary mirror(s) 218 may be a first surface mirror.

    [0098] As shown in FIG. 5 the camera 206 may be mounted within the enclosure 201 so that the field of view of the camera is directed towards the top of the enclosure. In alternative arrangements, the camera 206 may be mounted within the enclosure 201 so that the field of view of the camera is directed towards the base of the enclosure.

    [0099] In all of the above examples the path length of the optical path between the camera 206 and the transparent window 204 is the same and is equal to the path length of the optical path length between the camera 10 and the transparent window in the known image capture device 100 shown in FIG. 1.

    [0100] The use of multiple mirrors (such as the arrangement shown in FIG. 5) is advantageous because it enables the width of the image capture device 200 to be reduced as well as the height. Note that in the arrangement of FIG. 4b having the mirror at a more acute angle requires the width of the image capture device to be increased in order to keep the path length of the optical path between the camera 206 and the transparent window 204 the same as the path length of the optical path length between the camera 10 and the transparent window in the known image capture device 100 shown in FIG. 1.

    [0101] We now describe the lighting arrangement which is used to illuminate the test tube rack through the transparent window 204 in a generally uniform manner and to reduce unwanted reflections.

    [0102] Light spreads out from a fixed light source at a rate that is inversely proportional to the square of the distance from the light source. Accordingly, the intensity of the light at the object being imaged is affected by the distance between the light source and the object being imaged. The key factors in maximising the quality of an image captured by the at least one camera 206 are: [0103] a) An even illumination of the object; [0104] b) The minimising of unwanted reflections from the object being illuminated; [0105] c) no direct reflection from the mirror; and [0106] d) The quality and dynamic range of the image sensor within the camera used.

    [0107] In order to capture the best possible image for the particular application, imaging systems are generally pre-tuned or have user-configurable options that affect the amount of light captured by the sensor. These options include the optical size of the aperture and the exposure time. If the illumination is not evenly spread across the object there may be no single combination of exposure and aperture size that will result in a single image of high-enough quality. With high-dynamic range cameras this is less of a problem, but for a cost-effective CMOS camera the dynamic range may not be great enough. Accordingly, for a CMOS camera uneven illumination can result in total loss of contrast in over-exposed sections of the capture image and conversely total loss of contrast in under-exposed sections of the capture image. In addition, when lighting an object from the side, light rays reach the object from many different angles, which may potentially cause unwanted reflections.

    [0108] The lighting arrangement can be implemented in various ways.

    [0109] In some embodiments, the light source(s) of the lighting arrangement directly illuminate the test tube rack through the transparent window 204. That is, no mirror is used to reflect light emitted by the light source(s) towards the transparent window 204.

    [0110] In one example implementation, at least one light source is mounted on at least one side wall of the enclosure. For example, at least one light source may be mounted on a short side wall 207 of the enclosure and optionally an additional at least one light source is mounted on the opposed short side wall 209 of the enclosure. Alternatively or additionally the at least one light source may be mounted to the base of the enclosure and/or a portion of the top of the enclosure which surrounds the transparent window 204.

    [0111] As explained above, the lighting needs to be placed to minimise the direct (specular) reflections from the sample rack (as if the camera was positioned on the base of the enclosure facing the transparent window) and additionally adjusted so that there is no direct reflection from the mirror 208. This may be achieved merely by optimal positioning and angling of the light source(s) without any light blocking elements being housed within the enclosure. In other embodiments, light blocking elements may be housed within the enclosure.

    [0112] To assist with reducing the reflective regions on the transparent window 204, one or more light blocking elements 214 may be housed within the enclosure 201 to block light from falling in these regions. In particular, the one or more light blocking elements 214 are arranged to block light rays which have an angle of incidence on the window 204 which is such that when the light ray is reflected in a single direction (specular reflection), the light is reflected directly back to the at least one camera 206.

    [0113] A preferred lighting arrangement is shown in FIG. 6. It will be appreciated that there are many lighting systems that reduce reflections that could be used to achieve a similar illumination result as the preferred lighting arrangement.

    [0114] The lighting arrangement shown in FIG. 6 provides even illumination of and controls the reflections from the object being imaged (the plurality of test tubes held in the rack) and from the mirror 208 by using a combination of multiple light sources and multiple light blocking elements which are optimally positioned within the enclosure. As shown in FIG. 6, the image capture device 200 contains multiple light sources positioned along two facing walls of the device. A first set of light sources 212a,b comprises an array of LEDs 212a mounted towards the lower edge of a short side wall 207 and a second array 212b mounted in a similar position on the opposed short side wall 209. A second set of light sources 212c,d comprises a first array of LEDs 212c mounted towards the upper edge of a short side wall 207 and a second array 212d mounted in a similar position on the opposed short side wall 209. Each set of light sources comprises an array in the form of a single line of 12 LEDs although it will be appreciated that different numbers of light sources could be used.

    [0115] White LEDs are used as these are a good general light source. However, other colour light sources may also be used in the cases where the use of different colours would improve the contrast of the resulting image. Also, emitters of illumination outside of visible spectrum can be employed, such as infrared light, or UV light (although this is often damaging for biological samples and generally not used if can be avoided).

    [0116] As explained above, the light sources housed inside the enclosure 201 are stationary due to being fixed inside the enclosure by way of suitable mounting.

    [0117] The difference in intensity is balanced by arranging the light sources to control regions of overlap, i.e. regions of the window which are illuminated by more than one light source. The overlap regions will therefore be a mixture of intensity of light from different sources which overall gives rise to uniform light illumination on the window.

    [0118] Unwanted reflections and the extent of the overlap regions are controlled by the use of light blocking members 214 which restrict the light from the bright light sources 212a,b. Each blocking member 214 is in the form of a plate which extends generally perpendicular to the side wall of the enclosure. A blocking member 214 is mounted between the first set of light sources and the second set of light sources to prevent specular reflections from the first array of light sources.

    [0119] Furthermore, the unwanted reflections and the extent of the overlap regions are controlled by appropriate angling of the light sources.

    [0120] In embodiments, the light sources 212 may have the intensity and angles of the light emitted by the light sources 212 controlled electronically by the controller within the imaging device to help fine tune the illumination levels across the transparent window 204. This control may also be extended to the host computer, so the lighting may be adjusted based on the results of the image analysis.

    [0121] In the example above, the same number of light sources is used in both the first and second light sources on each side of the enclosure but this is a parameter which could be adjusted to ensure uniform illumination.

    [0122] Whilst embodiments have been described above in which the light source(s) of the lighting arrangement directly illuminate the test tube rack through the transparent window 204. In other embodiments, the light source(s) of the lighting arrangement indirectly illuminate the test tube rack through the transparent window 204 via one or more mirror. That is, one or more mirror is used to reflect light emitted by the light source(s) towards the transparent window 204.

    [0123] In one embodiment, the mirror(s) arranged to relay light rays reflecting from the test tube rack to the at least one camera 206 are also used to reflect light emitted by the light source(s) towards the transparent window 204.

    [0124] In an alternative embodiment, the mirror(s) used to reflect light emitted by the light source(s) towards the transparent window 204 are different to the mirror(s) arranged to relay light rays reflecting from the test tube rack to the at least one camera 206.

    [0125] As discussed above, the enclosure 201 houses a printed circuit board (PCB) which includes a controller for controlling the light source(s) 212 and the camera 206. The PCB 210 is shown in FIG. 6 positioned behind the mirror 208 such that the PCB 210 is positioned directly below the sloping underside of the mirror 208, however the PCB 210 may be positioned at other locations inside the enclosure 201.

    [0126] To illustrate the connections between the PCB 210 and other components in the enclosure 201, reference is now made to FIG. 7 which is a schematic block diagram of the image capture device 200 and a host computer 700 which is coupled to the image capture device 200. The host computer 700 being external to the image capture device 200.

    [0127] As shown in FIG. 7, a controller 218 is mounted on the PCB 210. It will be appreciated that other components will also be mounted on the PCB 210 but these have been omitted for simplicity.

    [0128] The controller 218 is coupled to the camera 206 via a suitable connection which may be a wired or wireless connection. The controller 218 is configured to control the camera 206 to capture an image of the barcodes of the plurality of test tubes held in test tube rack 12, and receive an image back from the camera 206 using this connection.

    [0129] The controller 218 is coupled to the light source(s) 212 via a suitable connection which may be a wired or wireless connection. The controller 218 is configured to control the intensity of light emitted by the light source(s) 212 using this connection.

    [0130] As shown in FIG. 7, the image capture device 200 is coupled to the host computer 700 via an interface 216. The interface 216 is fixed within the enclosure 201. Whilst FIG. 6 shows the interface 216 on a side wall of the enclosure 201, it will be appreciated that the interface may be located on the base of the enclosure or on a portion of the top of the enclosure which surrounds the transparent window 204.

    [0131] The controller 218 is coupled to the interface 216 and is configured to receive commands, transmitted from the host computer 700, via the interface 216. The controller 218 is further configured to transmit the image, received from the camera 206, to the host computer 700 via the interface 216 for decoding of the barcodes in the captured image.

    [0132] In some embodiments, the image capture device 200 is coupled to the host computer 700 via a wired link (e.g. USB cable, Ethernet cable, HDMI cable, DIN cable etc.) in which case the interface 216 is a wired interface. In other embodiments, the image capture device 200 is coupled to the host computer 700 via a wireless link (e.g. via a short-range RF technology such as Wi-Fi, ZigBee or Bluetooth) in which case the interface 216 is a wireless interface.

    [0133] In use, the image capture device 200 is connected to the host computer 700 and is initialised by a user opening and running an associated imaging software application running on a controller 704 of the host computer 700.

    [0134] The controller 704 is configured to send commands to the image capture device 200 via an interface 702 (wired or wireless) on the host computer 700. The controller 704 is further configured to receive image data, from the image capture device 200, via the interface 702.

    [0135] The host computer 700 may be any computing device able to connect to the image capture device 200 for example a mobile phone, a personal computer (PC), a tablet computer, a laptop computer etc.

    [0136] Reference is now made to FIG. 8 which is a flow chart for a process 800 performed by the controller 218 of the image capture device 200.

    [0137] At step S802, the controller 218 receives, via the interface 216, a command from the host computer 700 to capture an image of the test tube rack 12.

    [0138] In response to receiving the command, at step S804 the controller 218 controls the light source(s) so that the light emitted from the light source(s) is increased. Step S804 may comprise the controller 218 turning the light source(s) on. Alternatively, step S804 may comprise the controller 218 increasing the light emitted from the light source(s) from a first illumination level (corresponding to when light is emitted from the light source(s)) to a higher second illumination level.

    [0139] Once the test tube rack is illuminated through the transparent window 204 by the light source(s), at step S806 the controller 218 controls the camera 206 to capture a single image of the barcodes of the plurality of test tubes held in the test tube rack 12 and in response receives image data of the captured image back from the camera 206.

    [0140] In operation, the light source(s) illuminate the whole area of the transparent window throughout the duration of a predetermined time period, and during this time period the controller 218 controls the camera 206 to capture the image.

    [0141] At step S808, the controller 218 controls the light source(s) so that the light emitted from the light source(s) is decreased. Step S808 may comprise the controller 218 turning the light source(s) off. Alternatively, step S808 may comprise the controller 218 decreasing the light emitted from the light source(s) from a second illumination level to a lower first illumination level (corresponding to when light is emitted from the light source(s)).

    [0142] By controlling the light source(s) to only emit light at an illumination level to provide the necessary illumination of the transparent window for a short period of time whilst the image of the barcodes of the plurality of test tubes held in test tube rack 12 is captured, this advantageously protects light sensitive samples in the test tubes from unnecessary exposure to light and also to protect the eyes of the users operating the image capture device 200 from the bright light source(s) when the rack is not in place. Furthermore this reduces power consumption of the image capture device, extends the operating life of the light source(s), and avoids overheating of the image capture device.

    [0143] At step S810, the controller 218 transmits the image data, received from the camera 206, to the host computer 700 via the interface 216.

    [0144] The imaging software application running on the controller 704 of the host computer 700 receives the image data and performs image processing to decode the barcodes in the captured image.

    [0145] Depending on the mirror configuration used in the enclosure 201, it may be necessary for the imaging software application to flip the received image horizontally (in the case of a single mirror being used to relay light rays reflecting from the test tube rack to the camera 206) so that the resulting image corresponds to that which would be captured using the known image capture device 100. The flipping of the captured image may alternatively be carried out on the image capture device e.g. by the camera 206 or controller 218.

    [0146] The controller 218 may be implemented in code (software and/or firmware) stored on a memory (not shown in the figure) comprising one or more storage media, and arranged for execution on a processor comprising on or more processing units. The code is configured so as when fetched from the memory and executed on the processor to perform operations in line with embodiments discussed above. Alternatively it is not excluded that some or all of the functionality of the controller 218is implemented in dedicated hardware circuitry, or configurable hardware circuitry like an FPGA.

    [0147] The steps shown separately in FIG. 8 may or may not be implemented as separate steps, and may or may not be implemented in the order shown.

    [0148] While this invention has been particularly shown and described with reference to preferred embodiments, it will be understood to those skilled in the art that various changes in form and detail may be made without departing from the scope of the invention as defined by the appendant claims.