TW201028689A - Urine inspection apparatus and method of the same - Google Patents

Urine inspection apparatus and method of the same Download PDF

Info

Publication number
TW201028689A
TW201028689A TW98102885A TW98102885A TW201028689A TW 201028689 A TW201028689 A TW 201028689A TW 98102885 A TW98102885 A TW 98102885A TW 98102885 A TW98102885 A TW 98102885A TW 201028689 A TW201028689 A TW 201028689A
Authority
TW
Taiwan
Prior art keywords
urine
color
image sensor
test paper
barcode
Prior art date
Application number
TW98102885A
Other languages
Chinese (zh)
Inventor
wen-long Zhou
Original Assignee
wen-long Zhou
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by wen-long Zhou filed Critical wen-long Zhou
Priority to TW98102885A priority Critical patent/TW201028689A/en
Publication of TW201028689A publication Critical patent/TW201028689A/en

Links

Landscapes

  • Investigating Or Analysing Biological Materials (AREA)

Abstract

The present invention provides a urine inspection apparatus and method thereof, including an image sensor, a lens, an image processor, a light source and a recorder. The image sensor is provided to acquire the color and barcode message; the lens is equipped in front of the image sensor; one end of the image processor is electrically connected to the image sensor; the light source is provided to illuminate the test paper that is stained with urine tainted and equipped with patient identification barcode, reference black and reference white, for the image sensor to acquire the color and barcode message through the lens; The recorder is electrically connected to the other end of the image processor to simultaneously record the various substance densities and the patient barcode message. By this way, the color information on the urine test paper and patient identification barcode are judged and read at the same time in order to reduce the production cost and the operation time, and avoid data error and so on, suitable for general family long distance caring and large-quantity usage in hospital.

Description

201028689 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種尿液檢測裝置及其方法,尤浐 一種藉由一影像感測器、一鏡頭、一影像處理器、二 光源及一記錄器之搭配組合設計,進而令本發明具 • 將尿液試紙上的色彩資訊與病人身份識別條碼同時— 次做判斷與讀取,以降低生產成本、減少操作時間及 避免資訊錯誤等效果,而適合一般家庭遠距照護與 院大量使用者。 ' 【先前技術】 按,習用之尿液試紙檢測大部份都是採用目視或θ 利用分光儀原理檢測試紙上的顏色變化,利用目視^ 會在臨界值處造成判斷上的困難,利用分光儀原理 造,其成本造價通常太高,量測時間較長且不能將病 人I D與尿液資訊做相關聯β從家庭遠距照護觀點而 言’價格成本太高的尿液試紙檢測儀,很難為一般家 庭所接受。而從醫院大量使用觀點而言,量測時間 • 長則增加醫院儀器操作的人力成本,且若無法將^人 I D在尿液試紙上做電子標註,(如條碼及RFID,通常 RFID成本較高),則可能會造成手寫的失誤或將病人的 尿液資訊錯置至其它病歷,故於實際使用上仍不符合 使用者之所需。 σ 【發明内容】 本發明之主要目的係在於提供一種尿液檢測裝置及 其方法’藉由一影像感測器、一鏡頭、一影像處理 器、一光源及一 6己錄器之搭配組合設計,進而令本發 明具有將尿液試紙上的色彩資訊與病人身份識別條碼 3 201028689 同時一次做判斷與讀取,以降低生產成本、減少操作 時間及避免資訊錯誤等效果,進而提升整體之實用性 及便利性者。 本發明之次一目的在於提供一種尿液檢測裝置及其 方法’藉由該影像處理器之設置與利用參考黑及參考 白進行白平衡校正,而校正所讀取試紙上的色彩資 訊’並將色彩資訊轉換成色彩訊息,再與標準内建色 彩對照表做比較,利用色差公式判斷試紙變色程度,201028689 VI. Description of the Invention: [Technical Field] The present invention relates to a urine detecting device and a method thereof, and more particularly to an image sensor, a lens, an image processor, two light sources and a The combination design of the recorder further enables the present invention to perform the judgment and reading of the color information on the urine test paper and the patient identification barcode at the same time to reduce the production cost, reduce the operation time and avoid the information error. It is suitable for general family remote care and a large number of users. '[Prior Art] Press, most of the urine test strips used in the test are visual or θ using the spectrometer principle to detect the color change on the test paper, using the visual ^ will cause difficulties in the judgment of the critical value, using the spectrometer The principle is that the cost is usually too high, the measurement time is long and the patient ID cannot be correlated with the urine information. From the perspective of home remote care, the urine test strip detector is too expensive. Accepted by the average family. From the point of view of the large-scale use of hospitals, the measurement time and length increase the labor cost of hospital instrument operation, and if it is impossible to electronically mark the human ID on the urine test paper (such as barcode and RFID, the cost of RFID is usually higher). ), it may cause handwritten mistakes or misplace the patient's urine information to other medical records, so it still does not meet the user's needs in actual use. [Abstract] The main object of the present invention is to provide a urine detecting device and a method thereof, which are designed by a combination of an image sensor, a lens, an image processor, a light source and a 6-recorder. Further, the invention has the effect of simultaneously determining and reading the color information on the urine test paper and the patient identification barcode 3 201028689 to reduce the production cost, reduce the operation time and avoid information errors, thereby improving the overall practicability. And convenience. A second object of the present invention is to provide a urine detecting device and method thereof for correcting color information on a read test paper by setting the image processor and performing white balance correction using reference black and reference white. The color information is converted into a color message, and then compared with the standard built-in color comparison table, and the color difference formula is used to judge the degree of discoloration of the test paper.

且利用色差大小判斷尿液中各種物質濃度,最後將尿 液中各種物質濃度及病人身份識別條碼訊息同時做記 錄/以供進一步可將記錄列印傳給遠距照護或利用無 ==路傳給遠距照護,進而適合一般家庭遠距照護與 醫*院大I /土 ΓΟ 為3:使用’增加整體之實用性及便利性者。 方法,達上述之目的,本發明係一種尿液檢測裝置及其 器1 ^包括有一影像感測器、一鏡頭、一影像處理 1体m光源及一記錄器。該影像感測器係供操取色彩 像處理Ϊ息;該鏡頭係設於該影像感測器前方;該影 供昭射 端係與该影像感測器電性連接;該光源係 紙A二有去尿液與設有病人身份識別條碼之試 感測器擷取色梦;3 2以供經過該鏡頭,而供該影像 理器另—媸知二承條碼訊息;該記錄器係與該影像處 度及病Α # Μ 1自性連接,以供將尿液中各種物質濃 巧人條碼訊息同時傲 _ Μ 上的色彩資訊與病人身H 此,以供展液试 讀取,以降低生產身知識別條碼同時一次做判斷與 誤等欵果,並適入—本、減少操作時間及避免資訊錯 用,進而提升整體遠5巨照護與醫院大量使 之實用性及便利性者。 4 201028689 【實施方式】 請參閱第1圖所示,本發明係為一種尿 檢測裝置包财: 雜猶置及其綠,該展液 一影像感測器1〇,該影像感測器2 〇 一=:ίΓ2 0係設於該影像感剛器1 ^ .性連接罐理益3 〇,該影像處理器3 〇 _端係與該影像感測器工〇電 條碼6 光3⑽倾射於—財尿_财病人身份識別 條碼6 1之搞6 0、參考黑6 2及參考白6 3,以 .===〇,彩及條褐訊息;其中,該光源二設於 者亥尿液㈣裝置i内,或者將該統4 Q與該錢檢職置i分離設置 ㈣一舰髓5 Q倾該雜處理㈤㈣—端相互電性 連接’以供將尿液中各種物質濃度及病人條碼訊息同時做記錄者。 該尿液檢測方法包括有下列步驟(請參閱第2圖): 步驟一:將病人身份識別條碼貼在試紙上丄丄〇 ; 步驟二:尿液沾濕試紙12 〇 ; 步驟三:將試紙放入尿液檢測裝置前方13 〇 ; 步驟四··將光源照射於該沾有尿液與設有病人身份識別條碼之試紙、 > 參考黑及參考白14 〇 ; 步驟五:·利用影像感測器齡色彩及相關條碼訊息1 5 0 ; 步驟利用參考黑及參考白進行白平衡校正,而校正所讀取試紙上 的色彩資訊16 〇; 步驟七:將色彩資訊轉換成色彩絲1 7 0 ; 步驟八.與標準内建色彩對照表做比較,利用色差公式判斷試紙變色 程度1 8 0 ; 步驟九··利用色差大小判斷尿液中各種物質濃度1 9 0 ;以及 步驟十,將尿液中各種物質濃度及病人身份識別條碼訊息同時做記錄 2〇〇。 其中’將尿液中各種物質濃度及病人身份識別條碼訊息同時做記錄 5 201028689 後,=1-步可將記_印傳給遠距照護或_無_路傳給雜照護。 9 ί以ίί搭配設置,哺成—種尿液檢職置及其方法;請參閱第1 ί 特點係在於該尿液檢測裝置及其方法,係可藉由-影像 ,測器10 了鏡頭2 〇、-影像處理器3◦、—光源4◦及一記錄器5 二十’而藉由該光源40照射於一沾有尿液與設有病人身份 ,別條碼61之試紙6 〇、參考黑6 2及參考白6 3,以供經過該鏡頭2 後式而t該影像感卿1Q擷取色彩及條媽訊息’而僅需使用低成本之影 =器10 ’即可將尿液試紙6 〇上的色彩資訊與病人身份識別條 碼6 1同時-次做判斷與讀取,以降低生產成本、減少操作時間及 避免資訊錯誤;另’藉由該影像處理之設置與個參考里62及 ^考白6 3進行自平衡校正,而校正所讀取試紙上的色彩資訊,並將色彩 貝,轉換成色雜息,再與鮮峽色彩對照表做比較,卿色差公式判 斷試紙變色程度,且色差大小判斷尿液中各種物魏度,最後將尿液 中各種物質濃度及病人⑽識職碼6 m同時做記錄,以供進一步可 將記錄列印傳給遠距照護或_無_路傳給遠距照護,進而適合一般家 庭遠距照護與醫院大量制’而具使用之便利性及實用性者。進而 7本發明具有可將尿液試紙上的色彩資訊與病人身份識別條碼同時一 ,做判斷與讀取’⑽低生產成本、減少操作時間及避免資訊錯誤 等效果,並適合一般家庭遠距照護與醫院大量使用,增加其實用性及 便利性者。 惟以上所述者,鶴本㈣之-較佳實施_已,並相來限定本發 ,之實施範圍,舉凡依本發明_請翻範圍及發喊明書内麵作之簡單 等效變化與修飾,均應包含於本發明之申請專利範圍内。 β 201028689 【圖式簡單說明】 ^圖,係本發明之使用狀態示意圖。 圖,係本發明之之使用步驟示意圖 【主要元件符號說明】 1、尿液檢測裝置 1 ◦、影像感測器 2 0、鏡頭 3 〇、影像處理器And use the color difference to determine the concentration of various substances in the urine, and finally record the concentration of various substances in the urine and the barcode of the patient identification at the same time for further recording of the record to the remote care or using no == pass For long-distance care, and then suitable for general family remote care and medical hospitals I / bandits 3: use 'increase the overall practicality and convenience. The present invention is directed to a urine detecting device and apparatus 1 including an image sensor, a lens, an image processing body m light source, and a recorder. The image sensor is configured to process the color image processing; the lens is disposed in front of the image sensor; the image is electrically connected to the image sensor; the light source is a paper A There is a urine sensor and a test sensor with a patient identification barcode to capture the color dream; 3 2 for passing the lens, and the image processor is to know the second barcode message; the recorder is Image Disposition and Diseases # Μ 1 Self-sufficient connection, for the purpose of arranging the color information of the various substances in the urine at the same time _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Production knows the identification bar code at the same time to make judgments and mistakes at the same time, and adapts to - this, reduce the operation time and avoid misuse of information, and thus improve the overall 5 large care and hospitals make it practical and convenient. 4 201028689 [Embodiment] Please refer to FIG. 1 , the present invention is a urine detecting device package: a hybrid and a green, the liquid-image sensor 1 〇, the image sensor 2 〇 A =: Γ Γ 2 0 is set in the image sensor 1 ^. The connection of the tank is 3 〇, the image processor 3 〇 _ end and the image sensor work bar code 6 light 3 (10) pour in - Finance _ _ patient identification bar code 6 1 engage in 6 0, reference black 6 2 and reference white 6 3, with .=== 〇, color and strip brown message; where the light source is set in the urine (4) In the device i, or separate the system 4 Q from the money inspection position (4) a ship core 5 Q dump the miscellaneous treatment (5) (four) - end electrically connected 'for the concentration of various substances in the urine and patient bar code information At the same time as a recorder. The urine detection method includes the following steps (please refer to FIG. 2): Step 1: attach the patient identification barcode to the test paper; Step 2: wet the test paper 12 尿; Step 3: Place the test paper Enter the front of the urine test device 13 〇; Step 4 · illuminate the light source on the test strip with urine and the patient identification barcode, > reference black and reference white 14 〇; Step 5: · Use image sensing Age color and related bar code message 1 5 0 ; Steps use reference black and reference white for white balance correction, and correct the color information on the read test paper 16 〇; Step 7: Convert color information into color silk 1 70; Step 8. Compare with the standard built-in color comparison table, use the color difference formula to judge the discoloration degree of the test paper 1 800; Step 9··Use the color difference size to judge the concentration of various substances in the urine 1 190; and Step 10, in the urine Record the various substance concentrations and patient identification barcode messages at the same time. Among them, the concentration of various substances in the urine and the identification code of the patient's identification are recorded at the same time. 5 201028689, after 1 - step can pass the record to the remote care or _ no _ road to the care. 9 ί with ίί collocation, feeding - a urine inspection position and its method; please refer to the first ί feature is the urine detection device and its method, can be used by - image, measuring device 10 lens 2 〇, - image processor 3 ◦, - light source 4 ◦ and a recorder 5 二十 ' and the light source 40 is irradiated to a test strip with a urine and a patient identity, a barcode 61, reference black 6 2 and reference white 6 3, in order to pass the lens 2 rear-end and t the image sensed 1Q to capture the color and the message of the mother' and only need to use the low-cost shadow = 10' to the urine test strip 6 The color information on the 与 and the patient identification barcode 6 1 are judged and read at the same time to reduce the production cost, reduce the operation time and avoid the information error; and 'by the image processing setting and reference 62 and ^ Test white 6 3 to carry out self-balancing correction, and correct the color information on the test paper, and convert the color shell into color miscellaneous, and then compare with the fresh gorge color comparison table, the color difference formula judges the discoloration degree of the test paper, and the color difference The size determines the various degrees of Wei in the urine, and finally the various urine The quality concentration and the patient (10) identification code of 6 m are recorded at the same time for further transfer of the record to the remote care or _ no _ road to the remote care, which is suitable for general family remote care and hospital mass system' And the convenience and practicality of use. Further, the present invention has the effects of simultaneously matching the color information on the urine test paper with the patient identification barcode, and making judgments and readings (10) low production cost, reducing operation time, and avoiding information errors, and is suitable for general home remote care. It is used in large quantities with hospitals to increase its practicality and convenience. However, the above mentioned, Heben (four) - the preferred implementation _ has been, and in the end, the scope of the implementation of the hair, the scope of implementation, according to the invention _ please turn the scope and the simple equivalent changes and modifications made inside the book All should be included in the scope of the patent application of the present invention. β 201028689 [Simplified description of the drawings] ^ Figure is a schematic diagram of the state of use of the present invention. Figure is a schematic diagram of the steps of the present invention. [Main component symbol description] 1. Urine detecting device 1 ◦, image sensor 2 0, lens 3 〇, image processor

4 〇、光源 5 〇、記錄器 6 〇、試紙 6 1、身份識別條碼 6 2、參考黑 6 3、參考白 |二〇、將病人身份識別條碼貼在試紙上 1 2 0、尿液沾濕試紙; 1 3 0、將試紙放入尿液檢測裝置前方 1 4 0、將光源照射於該沾有尿液與設有 別條碼之試紙、參考黑及參考白 身份識 1 =、利用影像感測器操取色彩及相關條自 6 〇、利用參考黑及參考白進行白平衡校正: 正所讀取試紙上的色彩資訊 仅 17 0將色彩資訊轉換成色彩訊息 、與標準内建色彩對照表做比較,利用色差公 式判斷試紙變色程度 j g 〇、利用色差大小判斷尿液中各種物質濃度 0、將尿液中各種物質濃度及病人身份識別條碼 訊息同時做記錄 74 〇, light source 5 〇, recorder 6 〇, test paper 6 1, identification barcode 6 2, reference black 6 3, reference white | two 〇, paste the patient identification barcode on the test paper 1 2 0, urine wet Test paper; 1 3 0, put the test paper in front of the urine test device 1 400, illuminate the light source on the test strip with urine and other barcodes, reference black and reference white identification 1 =, use image sensing Handle color and related strips from 6 〇, use reference black and reference white for white balance correction: The color information on the test strip is only 17 0. Convert color information into color information, and standard built-in color comparison table Comparison, using the color difference formula to judge the degree of discoloration of the test paper jg 〇, using the color difference to determine the concentration of various substances in the urine 0, the concentration of various substances in the urine and the identification of the patient identification bar code simultaneously 7

Claims (1)

該尿液檢測裝置包括有: 該影像感測器係供擷取色彩The urine detecting device comprises: the image sensor for extracting color 201028689 七、申請專利範圍: 1、一種尿液檢測裝置 一影像感測器 條碼訊息; 一鏡頭’該鏡頭係設於該影像感測ϋ前方; 和像處理器’該影像處理器一端係與該影 感測器電性連接; 一光源,該光源係供照射於一沾有尿液與設 病人身份識別條碼之試紙、參考黑及參考白,以 經過該鏡頭,而供該影像感測器擷取色彩及條碼 息;以及 一記錄器,該記錄器係與該影像處理器另一 相互電性連接,以供將尿液中各種物質濃度及病 條碼訊息同時做記錄者。 2、如申請專利範圍第丄項所述之尿液檢測裝置, 中’該光源係5X於S亥尿液檢測裝置内者。 3 、如申請專利範圍第1項所述之尿液檢測裝置, 中,該光源係與該尿液檢測裝置分離設置者。 4、一種尿液檢測方法,該尿液檢測方法包括有下 步驟: 步驟一:將病人身份識別條碼貼在試紙上; 步驟二:尿液沾濕試紙; 步驟三:將試紙放入尿液檢測裝置前方; 步驟四:將光源照射於該沾有尿液與設有病人身 識別條碼之試紙、參考黑及參考白; 步驟五:利用影像感測器擷取色彩及相關條碼 息; 步驟六:利用參考黑及參考白進行白平衡校正, 校正所讀取試紙上的色彩資訊; 步驟七:將色彩資訊轉換成色彩訊息; 及 像 有 供 訊 端 人 其 其 列 份 訊 而 8 201028689 步驟八:與標準内建色彩對照表做比較,利用色差 公式判斷試紙變色程度; 步驟九:利用色差大小判斷尿液中各種物質濃度; 以及 步驟十:將尿液中各種物質濃度及病人身份識別條 碼訊息同時做記錄。 5、如申請專利範圍第4項所述之尿液檢測方法,其 _ 中,將尿液中各種物質濃度及病人身份識別條碼 訊息同時做記錄後,係進一步將記錄列印傳給遠 距照護。 Ο 6、如申請專利範圍第4項所述之尿液檢測方法,其 中,將尿液中各種物質濃度及病人身份識別條碼 訊息同時做記錄後,係進一步將記錄利用無線網 路傳給遠距照護。201028689 VII. Patent application scope: 1. A urine detecting device-image sensor bar code message; a lens 'the lens is disposed in front of the image sensing port; and an image processor' The image sensor is electrically connected; a light source for illuminating a test paper, reference black and reference white with urine and a patient identification barcode to pass through the lens for the image sensor Taking color and bar code; and a recorder, the recorder is electrically connected to the image processor for mutual recording of various substance concentrations and disease bar codes in the urine. 2. The urine detecting device according to the invention of claim </ RTI> wherein the light source is 5X in the Shai urine detecting device. 3. The urine detecting device according to claim 1, wherein the light source is separated from the urine detecting device. 4. A method for detecting urine, the method for detecting urine comprises the following steps: Step 1: attaching a patient identification barcode to the test paper; Step 2: moisturizing the test paper with urine; Step 3: placing the test paper in urine test Step 4: illuminate the light source on the test paper, reference black and reference white with the urine and the patient identification barcode; Step 5: Use the image sensor to capture the color and related bar code; Step 6: Use the reference black and reference white for white balance correction to correct the color information on the read test strip; Step 7: Convert the color information into a color message; and like the source of the message to the other party 8 201028689 Step 8: Compare with the standard built-in color comparison table, use the color difference formula to judge the degree of discoloration of the test paper; Step 9: Use the color difference size to judge the concentration of various substances in the urine; and Step 10: Simultaneously compare the concentration of various substances in the urine and the barcode information of the patient identification record. 5. If the method for detecting urine according to item 4 of the patent application scope, in which the concentration of each substance in the urine and the barcode of the patient identification are simultaneously recorded, the record is further transmitted to the remote care. . Ο 6. The method for detecting urine according to claim 4, wherein after recording the concentration of each substance in the urine and the patient identification barcode information, the record is further transmitted to the remote using the wireless network. Care.
TW98102885A 2009-01-23 2009-01-23 Urine inspection apparatus and method of the same TW201028689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98102885A TW201028689A (en) 2009-01-23 2009-01-23 Urine inspection apparatus and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98102885A TW201028689A (en) 2009-01-23 2009-01-23 Urine inspection apparatus and method of the same

Publications (1)

Publication Number Publication Date
TW201028689A true TW201028689A (en) 2010-08-01

Family

ID=44853738

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98102885A TW201028689A (en) 2009-01-23 2009-01-23 Urine inspection apparatus and method of the same

Country Status (1)

Country Link
TW (1) TW201028689A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI636256B (en) * 2017-06-19 2018-09-21 威剛科技股份有限公司 Testing method and testing system with image fault tolerant function
TWI693817B (en) * 2019-03-29 2020-05-11 眾匯智能健康股份有限公司 Biomedical detection system and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI636256B (en) * 2017-06-19 2018-09-21 威剛科技股份有限公司 Testing method and testing system with image fault tolerant function
TWI693817B (en) * 2019-03-29 2020-05-11 眾匯智能健康股份有限公司 Biomedical detection system and method thereof

Similar Documents

Publication Publication Date Title
CN105572110B (en) Method and apparatus for measuring biological information
JP7339430B2 (en) Lateral fluid fluid testing system and method
CN105814437A (en) Biochip testing device and use method therefor
WO2014025415A2 (en) Method and apparatus for performing and quantifying color changes induced by specific concentrations of biological analytes in an automatically calibrated environment
TW201621311A (en) Biosensor, terminal and method for measuring biometric information
WO2018223541A1 (en) Barcode scanning-based clinical test report review system and method
CN104062425B (en) Immunochromatographiassays assays detection system and method
JP2019520548A (en) Method and device for measuring the level of an analyte in body fluid
CN210472161U (en) Electronic measuring instrument for shared physical examination
CN106198538A (en) A kind of reagent paper read method and device
TWM588797U (en) Detection system with identification label compensation function
TW201514861A (en) Inspection cartridge reading device and reading method thereof
TW201028689A (en) Urine inspection apparatus and method of the same
CN207236771U (en) A kind of infrared body temperature detector and infrared body temperature detecting system
TWI699703B (en) Detection system with recognition label compensation function
CN107194189A (en) Clinical examination information processing system and method
TWM583942U (en) Portable fast-screening urine detection system with self-learning function
CN109771045A (en) A kind of intelligent comprehensive outpatient service platform
CN207717626U (en) A kind of fluorescence immune chromatography analyzer
CN211718185U (en) Detection device and detection system
CN107220512A (en) Clinical examination report preparing system and method
CN206692653U (en) A kind of virus detection kit
CN208368180U (en) Medical inspection sample container extract management device
CN207764223U (en) portable AIDS saliva detector
CN209059268U (en) Sample collection rifle