Infiray XH09 X2 series, discussion - Page 1
Forum section: electronics / general

author: nikitasius
author_rank: Regular Contributor
timestamp: August 29, 2023, 05:17:21 pm
content: Infiray X2Resolution: 256x192@12µmRefresh rate: 50HzApp: Thermal Eye X (gplay)Got mine on Aliexpress in official store:store URLhttps://infiray.aliexpress.com/store/911200160X2 TIChttps://s.click.aliexpress.com/e/_EGW9qXpMy tests:https://drive.google.com/drive/folders/12hrdmE1RqeafaK5wba5T0-0Vi8uT--KzCompared to covid Hikvisionhttps://www.eevblog.com/forum/thermal-imaging/infiray-xh09-x2-series-discussion/msg5098434/#msg5098434Youtube:Pretty unstable guy, don't buy from himSome random reviewImage is pretty good (compared w/ Seek images i've seen on the forum or over the internet). I use it for bird hunting (no gun, just binos & my DSLR) and for PCB inscpections. Camera very sensitive i really like it. But the app is poor, full auto mode, you can change just the materials. Hope it will be changed in future (setup the temperature ranges etc).Big issue: temperature values, mine display +7..+10°C more than should. Idk why, maybe due app or firmware. But i don't use it for measurements, just for the image. Also i can't fix it as is into handle, due they sent me handle w/ small soft pads.Reviews on EEVblog:2023-10-14@40days, nikitasius :post#352023-12-07@blargg:post#45

author: nikitasius
author_rank: Regular Contributor
timestamp: August 29, 2023, 05:24:53 pm
content: Looks like real name isXH09and X2 just a sub-label due default x2 zoom.Also folks say default zoom is x2digital, some sayoptical.Also this morning i just connected it to VLC under my debian and got this. I haven't good picture (just stop frames, but then i restarted VLC i got just GREY image). But whats interresting:There are 25fps and 256x384 px. Is it have 384x256 bolometer? Or maybe firmware shots 256x192 on 50hz, sticks to chunks 256x192+256x192 = 256x384 and sending it at 25Hz rate?From aliexpress: folks had issue, temp mode on old app had 9Hz, after being fixed temp mode display now 25Hz. Model have x2 name. So could it be 384x256 which is partially used to increase Hz?Some flir cameras increase Hz when you decrease the image height so could it be 256x384 (this orientation) cut in a half?.. too many questions but no teardown yet.UPD: 2023-09-05> These cameras return a single image where the top 256x192 pixels represent a dynamically balanced grey scale image, and the bottom 256x192 represent the raw temperature data.About P2 Prohttps://www.eevblog.com/forum/thermal-imaging/infiray-p2p2-protopdon-temperature-data/msg5039713/#msg5039713

author: nikitasius
author_rank: Regular Contributor
timestamp: August 29, 2023, 05:55:05 pm
content: Could be captured via virtualdub under windows and gives that.

author: Fraser
author_rank: Super Contributor
timestamp: August 30, 2023, 04:25:22 pm
content: Lens is ~19mm giving an approximate X2 magnification over the standard T2 models, hence X2 nick name.The camera software offers up to x15 digital zoom, hence confusion amongst some regarding optical of digital magnification.The measurements accuracy should be as stated in the specifications. Any serious deviation from those specifications suggests a fault in the system, be it hardware or software.

author: nikitasius
author_rank: Regular Contributor
timestamp: August 30, 2023, 08:10:34 pm
content: About measurements.They could solve it "quickly"

author: nikitasius
author_rank: Regular Contributor
timestamp: September 05, 2023, 08:33:06 am
content: Well, thats weird

author: nikitasius
author_rank: Regular Contributor
timestamp: September 05, 2023, 08:42:44 am
content: Here are the measurements.Chair w/ pip - mineGlove & ice - from a random guy from discord.Also, seen that Fraser in M600 topictold:> if a manufacturer skimps on the ambient temperature measurement system or calibration of the camera, errors will creep into the measurements.And Infiray asks for ambient temp.. i pretty sure it screw the measurements

author: nikitasius
author_rank: Regular Contributor
timestamp: September 05, 2023, 05:50:40 pm
content: Sufraces which are >100°CVideo is in the ZIP file (can't upload mp4 here)Weird effect 🤔

author: Fraser
author_rank: Super Contributor
timestamp: September 05, 2023, 10:03:22 pm
content: Have a look at my review of the Infiray P2 Pro. In that review you will see the results of the camera viewing a BlackBody that exceeds the recommended maximum temperature of the selected sensitivity range. Once I switched the P2 to its lower sensitivity (higher temperature) range all was well again.https://www.eevblog.com/forum/thermal-imaging/review-infiray-p2-pro-thermal-camera-dongle-for-android-mobile-phones/msg4575070/#msg4575070Fraser

author: nikitasius
author_rank: Regular Contributor
timestamp: September 07, 2023, 04:44:50 pm
content: Hard to get answers from infiray..

author: nikitasius
author_rank: Regular Contributor
timestamp: September 10, 2023, 10:40:28 am
content: Well accuracy is shit poor.On a skin collage it use wrong preset (default), skin screenshot is added.I contacted them.

author: nikitasius
author_rank: Regular Contributor
timestamp: September 10, 2023, 01:15:28 pm
content: Read topics about Seek & Infiray and did a cold test (big cold plastic from -19°C freezer).Video from the app (bit compressed)https://drive.google.com/file/d/1BbTklsxRQ0HlClVSbEeY8De51A0pLu4R/view?usp=drivesdkScreen recordhttps://drive.google.com/file/d/1BFpC4o9UiIAmaa8D-fIpqaAmHx28bM-l/view?usp=drivesdkIf there are some anomalies? 🤔I see some "static" traces, but they are here even after clicking shutter button.UPD: one more, uncompressedhttps://drive.google.com/file/d/1BnPfXpxvf7UkNpzKw10x9HKKue53Tnge/view?usp=drivesdk

author: nikitasius
author_rank: Regular Contributor
timestamp: September 11, 2023, 09:52:53 am
content: Same weird effect on that vidéo alsoYou can see it on the teapot. I asked them wtf is that. Interresting to know.P.S. youtube video in zip file also.

author: ArsenioDev
author_rank: Frequent Contributor
timestamp: September 12, 2023, 01:03:13 am
content: Yeah that's ADC saturation on the ROIC. Essentially the temp range is too high for the conversion gain set for the microbolometer TIA, thus being too high to register past maxout.

author: Bill W
author_rank: Super Contributor
timestamp: September 13, 2023, 09:31:05 am
content: Quote from: ArsenioDev on September 12, 2023, 01:03:13 amI would have expected ADC (or number space) saturation to show columns static to the image frame, ie the column with the most gain goes bad first.Most of that seems to be following the kettle about suggesting it might be real ?(Only looked at the YouTube)

author: nikitasius
author_rank: Regular Contributor
timestamp: September 13, 2023, 12:12:30 pm
content: ArsenioDev&Bill WThere are the video i made right now:https://drive.google.com/file/d/1DMcm_OkvWY9lLH5BO7fjd1LUCqN7tZJt/view?usp=drivesdkI connected TIC, wait for 5-7 min, calibrated on a cold iron surface (for ironing) and turned on an iron.Second 23 i click on calibration button (shutter)andget pixelsSecond 28 i hide with my hand (and move it few times to see pixel effect).My good friend say it looks likepostprocessingissues.In that case it could be fixed (if i need to film very hot surfaces) via IR filter (external to TIC).

author: ArsenioDev
author_rank: Frequent Contributor
timestamp: September 13, 2023, 03:44:19 pm
content: Quote from: Bill W on September 13, 2023, 09:31:05 amColumn washout isn't as prevalent these days, modern ROICs reduce bloom and that noise drastically.If it was "real" texture, aspect angle change would have it change like laser speckle, fixed pattern suggests inherent to detector.

author: nikitasius
author_rank: Regular Contributor
timestamp: September 13, 2023, 07:30:06 pm
content: Screencapture:Image collect noise or idk what, but after shutter goes better.Whats weird: some dot patterns are pretty visible.https://drive.google.com/file/d/1DazK1n6hZ3CQ-1-k_NMPLdKmFT_no9O4/view?usp=drivesdk

author: nikitasius
author_rank: Regular Contributor
timestamp: September 13, 2023, 08:15:12 pm
content: Frozen it a bit w/ a gas. Like folks says, it becomes noisy.

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 09:24:27 am
content: Well, left video is from today.Right video is from 1st day (almost 3w ago).https://drive.google.com/file/d/1GgAh4UX8kjmPMHAk0bxAr20phfeKYgWR/view?usp=drivesdkOn video you don't see a lot, but you see well on screen captures i shared on gdrive & here.What i personally think:• image degraded, i seestaticnoise patterns, like TIC going to have HW issues w/ the bolometer• from the box software is pretty poor (android)• website is pretty poor in case of specs and that sucksWill i buy another Infiray? Well, NO.Is the price is justified? Finally it cost for me 305€ (got 38€ back due wrong holder).305€ for 256x192? Well, NO. I prefer to ebay other used brands but not the infiray from that price category (and guess anotherones).Infiray sucks. If you can get flir/fluke/hikvision/agm for same res for same price (handheld models), take them.Price of that TIC must be 200 bucks.

author: Fraser
author_rank: Super Contributor
timestamp: September 17, 2023, 09:56:29 am
content: Your posts regarding the XH09 make interesting reading. Thank you.The XH09 is a little different to the other Infiray camera dongles. It claims 50fps and uses new image processing algorithms to enhance the image. I do wonder whether this particular camera is suffering from immature development as other Infiray camera models seem to perform well. It remains a mystery why your camera would appear to have suffered an increase of noise content in the produced images over time. If a microbolometer loses its vacuum it suffers a massive decrease in thermal sensitivity so I doubt that is the issue here.I did write to Infiray some time ago, and again recently, offering to test and review any of their cameras for this forum but sadly received no response from their sales team. It would have been good to carry out technical testing on their product range to establish performance and differences in performance between models. Maybe they do not want such technical testing and prefer the usual YouTube user review format ?When I studied the XH09 I saw a dongle that was trying to impress the marketplace with double the usual frame rate and claims of custom video processing. Sadly it may be a flawed product as we know that IRAY Infiray microbolometers are capable of decent imaging. There is also the possibility that your unit was faulty from new. The temperature measurements were very inaccurate and that can be a sign that something is wrong with the camera hardware or its calibration.I am sorry that this buying experience has not been good for you.Fraser

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 10:42:10 am
content: HiFraser, you don't need to be sorry. I bought it myself w/o being affected by any review.Also there are at least 1 more person with température mesurement issues who own xh09.Sure folks who do casual reviews will never tell about the issues they could have.Also idk if there are real 50Hz. I will build a rotating demo, capture w/ laptop and compare 4 frames together.Cause if it use mini256 (as xh15 in theory use mini384) it suppose to have 25Hz.

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 11:22:14 am
content: 1st connection,* camera init guess: Screenshot_2023-09-17_13-11-45.png* camera in working mode: Screenshot_2023-09-17_13-11-59.pngScreenshot_2023-09-17_13-17-38.png - the pattern whichappears alsowhen i point at hot objects. This pattern appeared when i changed 256x384 to 256x192 resolution.Video is in this file Screencast 2023-09-17 13:16:08.mp4.zip (or gdrivehttps://drive.google.com/file/d/1rIXqot9rt6UCO5JpgukNqVYSEulotWsE/view?usp=drive_link)A flawed bolometer? Bad soldered (so they are killed part of pixels)?

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 12:07:16 pm
content: That happen when i change the FPS from 25Hz to 50Hzvideo in zip or on gdrivehttps://drive.google.com/file/d/1gdVfV4ovKGwyk2ZKPfFu6raUyY-BBXej/view?usp=drive_link

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 01:01:46 pm
content: Rolled into a film and put inside my frigo (+3°C) for a while.Removed the film, connected w/ my pixel7 and point at the wall. Became noisy while was warming. Different pixels had different noise level, but, looks like there are no "dead" pixels which will be cold or hot. Just less hot guess.Got some condensation on a lense but it doesn't affect the test.Here is a screencast (gdrive):https://drive.google.com/file/d/1HDz2m1trhZNHNKaMxU8DigSPLcrOci_3/view

author: ArsenioDev
author_rank: Frequent Contributor
timestamp: September 17, 2023, 02:16:36 pm
content: Quote from: nikitasius on September 17, 2023, 11:22:14 amThat looks like a bolometer gain map, essentially when the resolution is switching you're focusing on a different part of the FPA sensor, so it has to retrue the pixel gain map in this ROIC logic flow (or maybe its the processing ASIC), so it loads pixel gain map and then uses it from the framebuffer memory most likely.This is normal and an interesting user-visible way of seeing internal processes.

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 03:44:17 pm
content: Quote from: ArsenioDev on September 17, 2023, 02:16:36 pmAre you sure that it focus on different parts?256x192 work at 25Hz and 50Hz256x384 work at 25Hz only and 256x384 picture have 2(!) 256x192 frames inside.So for me thats the same area of the sensor 🤔Also why this "gain map" looks exactly the same as "black pixels" if i point on a hot surfaces? Here is the picture of a hot surfacehttps://www.eevblog.com/forum/thermal-imaging/infiray-xh09-x2-series-discussion/msg5045713/#msg5045713

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 07:20:50 pm
content: Well, guess it will work under -20 (i got upto -29°C), but w/ terrible images (photo of foot, dark dots, where gas dropped).

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 07:39:03 pm
content: From my good friend: While TIC is cold internal noise control is off.Once it's gets warmer image goes "better". So we can see real picture from bolometer w/o internal noise cancellation.Well, that looks pretty noisy 12μm

author: Fraser
author_rank: Super Contributor
timestamp: September 17, 2023, 09:38:16 pm
content: A little about modern microbolometer operation regarding ambient temperature ......1. A properly designed microbolometer and its ROIC does not benefit significantly from cooling.2. A non temperature stabilized core is calibrated at a sensible ambient temperature and fixed offset tables are used to correct for changes in ambient temperature away from that used at time of calibration.3. Cores that do not use Peltier temperature stabilisation operate in die thermal equilibrium mode. That is to say, the microbolometer and ROIC generate their own heat and the microbolometer die increases in temperature until thermal equilibrium is reached, where it stabilises. Any change in ambient temperature will impact upon the thermal equilibrium point. Without correction, this change in thermal equilibrium would affect calibration. The offset tables provide corrections and the FFC flag (if present) acts as a temperature reference to trim the measurement calculations and re-establish a decent flat field.4. When a non temperature stabilized core or camera is calibrated at a certain ambient temperature, its accuracy and image is optimum at that ambient temperature. As the ambient temperature moves away from that used at time of calibration, measurement accuracy is normally adversely affected.In short there is no real advantage in cooling a uncooled microbolometer camera or core. The microbolometer is, by nature, a relatively unstable and noisy thermal sensor so it is essential to provide noise processing to achieve a useable image. Noise processing may be employed in differing levels to achieve the best balance between image quality, image accuracy and frame rate. I have never seen a microbolometer based thermal camera or core that turned off its noise processing due to ambient temperature. Such noise processing is not optional, especially when working with the lower signal to noise ratio of 12um pixels, even more so if those 12um pixels are A-Si and not VOx. A RAW 12um pixel array output without image noise reduction and video processing is a truly awful image !Hope this helpsFraser

author: nikitasius
author_rank: Regular Contributor
timestamp: September 17, 2023, 10:16:19 pm
content: Well, it looks awful and noisy when gets cold.I'm not tested measurements.

author: Fraser
author_rank: Super Contributor
timestamp: September 17, 2023, 10:49:37 pm
content: I am not surprised. It is a budget camera operating at something like 35C below the ambient temperature at which it was calibrated and condensation forming on all optical surfaces. Not a recipe for good images. Such ambient temperatures can be challenging for far more expensive cameras like the FLIR Exx series. This is why we need to be careful when considering the specifications provided by manufacturers? We often do not have the full storyIt is good that you are testing this camera dongle to its limits. You have been far more thorough than often seen in ‘Influencer’ YouTube videos like those of Clean Unbox. Well done for wanting to reveal the cameras weaknessesFraser

author: nikitasius
author_rank: Regular Contributor
timestamp: September 18, 2023, 10:18:52 am
content: I wanted to open it and to check what inside + also get some datas from UART w/ my scope (but much friendlier to get dedicated USB debug for uart stuff).If XH15 based on mini384, xh09 will be based on mini256 (so i still can't get in WTF there are 50hz while specs say 25Hz).Also could be good to find the firmware for X2.

author: nikitasius
author_rank: Regular Contributor
timestamp: October 06, 2023, 08:13:07 pm
content: Hi folks!Sensitivity test, "hand on the wall" versusHikvision DS-2TP31B-3AUF.Infiray have 12μm pixel pitch, Hikvision have 17μm.Infiray 256x192, hikvision 160x120.Infiray looks to be close to 50Hz w/o temp and around 25Hz with wrong temp.Hikvision easily do~25Hzguess w/ temps.Here is the test video:https://drive.google.com/file/d/1NP0NU7LH1SF9pdlrSCEn-YjvY02wud7L/viewBigger pixel won. Whats also? Well, infiray autoshutter often, Hikvision pretty rare.What i would keep as an imager? Personally i prefer Hikvision for contrast picture. For details more pixels infiray wins, sure. For PCB infiray also good (due manual focus & résolution).This hikvision is a covid camera, so temp are 25-50 (more details inFraser's thread).Price? Well i got X2 for 340€ w/ delivery while Hikvision found for 80€+7€. Will i buy xh09 if i already had Hikvision? Nope.What's next? Handheld 384X288 or 320x240 17μm TIC 🍻

author: nikitasius
author_rank: Regular Contributor
timestamp: October 07, 2023, 09:34:48 am
content: Quote from: nikitasius on September 18, 2023, 10:18:52 amGuess we got ithttps://www.eevblog.com/forum/thermal-imaging/files-from-infisense-doc-cn-(the-public-ones-sure)/msg5066740/#msg5066740Infiray calls M2 this TIC in ThermalEyeX Android and we have multiple M2 FW files 😁

author: nikitasius
author_rank: Regular Contributor
timestamp: October 14, 2023, 08:06:27 pm
content: Hi folks, this is my review after 40 days of use. I will attach "simple" review pictures & my chat cause the rest you can find on my google drive from 1st post.AliexpressI waited for the news from Infiray on Aliexpess too long.. so i lost this ability on Aliexpress :|1st it was due wrong plastic holder. I did not got the correct one, so it was impossible to hold the X2 model. Infiray told they will arrange it w/ me.. but i had 14days protection on aliexpress, so i opened a dispute on aliexpress just before 14th day is started to get therefund for the holder's price (38€). Next i had exchanges about some moments related to picture quality, ROIC array i've seen on hot surfaces and also some questions about firmware. But "we'll contact our engineers was all the time". They can't assure correct support level, sadly. So if it was Aliexpress, i will give them 3/5 stars.DeliveryIt was well delivered via DHL, all-fees-included. Thats a good. Their transport dept work well.What's forX2 is a fun thermal camera. If you wanna film smooth videos it's for you. Good resolution & 50Hz picture (w/o temperature) will make your videos pretty pretty good.X2 is a PCB-friendlly camera. Cause it have MANUAL focus ring and great macro from-the-box.X2 is a "search" camera. You can find thermal leaks, water moist, people, animals or birds everywhere. Also you can find flyes cause flyes are hot and w/ 50Hz rate you really see a flyes dot and not a "wtf is that?"X2 is a solid camera. Yes. They claim IP65, it's solid made, i never had moist condensation inside. I filmed w/ iced and hot camera and it always was properly working, just click the shutter for the auto calibration. They claim -20°C, well at -10°C their FW noise cancellation seems to be offline or on lowlevel, cause picture doesn't get any benefits from cold temp. 25°C is a correct operating temp for correct usage. I really love how it's build (you feel manual focus, how it's precise and lens are good), you see that TYPE-C have bunch of contacts and not just 4 cheap pins.What's notX2 isn't an instrument. Temperature measurements are awful and have nothing w/ real.X2 work in hi-gain mode only. Regarding firmware it looks to have only hi-gain section, but i'd like so much to get both.X2 is a phone dongle. After using COVID Hikvision i really enjoyed the beauty of handheld cameras.But there are pros & cons: if you use it as a fun/search thermal camera fully shooting at 50Hz WITH your phone, noone care but if you take a HANDHELD camera which is looks like a weird GUN.. well.. you know. Just a different usages and needs. Also HANDHELD model is more solid, i can't drop dongle nor X2 on the tableWhat's nextWell, i enjoyed this camera,i enjoyed my 1st thermal camera.I understood what i really need. And this X2 model is really GOOD to help you to understand if you need it for measurements & radiometric OR thermal multimedia (again, it's 50Hz, no rolling shutter shit). Buti will sell it.Why i will sell it? As i said i understood thatfor my needsi need a thermal camera w/ manual focus in a handheld design. Type-c dongle w/ phone aren't so handy for me. Also i can't use it for radiometric purposes. So i will hunt for Flir Exx models to hack them or buy as is (if they are really advanced) or for iX serie. I don't need 50Hz nor 25Hz indeed.Guess it will be ebay and local (french) websites for price i paid finally (around 310€ cause i got refund for 38) and it's good cause new costs ~430 guessSummaryIt's a good FUN thermal camera for FUN and PCB purposes but NOT an instrument to measure and take radiometric images for postprocessing. On my Pixel 7 (Android 13) it works like a charm, but on another forum (4pda) folks have issues when use infiray modules w/ weak phones.

author: EuT
author_rank: Contributor
timestamp: October 20, 2023, 06:14:11 pm
content: Quote from: nikitasius on August 29, 2023, 05:55:05 pmHello,how did you capture it with Virtualdub? What parameters have you set in Virtualdub program?I can connect to my XH09 (X2) 50Hz camera from Python program with frame set as 256x384, as in you case, but it shows black screen (same with Win Camera App and VLC player).Below is Python code that I use. It works correctly for Infiray TS2+ and T3/T3 Search cameras but shows just black screen for XH09 (X2) camera.Please help,Thank you# ----------------------------------------------------------------------------------------import numpy as npimport cv2 # need to install OPENCV package in console: pip install open_pythonimport time# Activate USB capture (Cam# = 0, if just one camera is connected)cap = cv2.VideoCapture(0)cap.set(cv2.CAP_PROP_CONVERT_RGB, 0) # capture raw data, do not convert it to RGB# Command to camera: use raw modecap.set(cv2.CAP_PROP_ZOOM, 0x8004)# Command to camera: Calibrate (with closed shutter)#cap.set(cv2.CAP_PROP_ZOOM, 0x8000)start_time = time.time()frame_count = 1 # for FPS calc# Main Loop: acquire, process and display frames from camerawhile(True):ret, frame = cap.read()#frame = frame.reshape(196, 256, 2) # 0: LSB. 1: MSB T2S+ camera#frame = frame.reshape(292, 384, 2) # 0: LSB. 1: MSB T3 camera# Remove the last four extra rows (with camera metadata)#frame = frame[:-4, ...]# for X2 camera captured frame is X,Y 256 x 384 with two bytes/pixel in little endian formatframe = frame.reshape(384, 256, 2) # 0: LSB. 1: MSB XH09 (X2) ? 384 Rows, 256 Columns, 2 bytes/pxl (Y, X, bytes)frame = frame[192:, :, :] # take lower half part of the frame with raw data# Take data from camera as uint16 and convert it to float32dt = np.dtype(('<u2', [('x', np.uint8, 2)]))frame = frame.view(dtype=dt).astype(np.float32)# Normalize and apply AGC to float array frame (range 0.0 - 1.0)frame -= frame.min()frame /= frame.max()# Convert float array to unsigned integer for displaygray = (frame * 255).astype(np.uint8)gray = np.clip(gray, 0, 255)# Display gray image zoomed 2x, no interpolation#zoomed_image = cv2.resize(gray, None, fx=2, fy=2, interpolation=cv2.INTER_NEAREST)#cv2.imshow('Gray Frame', zoomed_image)# Apply Rainbow Color Maprainbow_colored = cv2.applyColorMap(gray, cv2.COLORMAP_JET)# Display Color zoomed image x2, no interpolationzoomed_image = cv2.resize(rainbow_colored, None, fx=2, fy=2, interpolation=cv2.INTER_NEAREST)cv2.imshow('Rainbow Colored Frame', zoomed_image)frame_count += 1# Calculate and display FPS every 30 framesif frame_count % 30 == 0:end_time = time.time()fps = frame_count / (end_time - start_time)print(f"FPS: {fps:.2f}")# Reset for the next 30 framesframe_count = 0start_time = time.time()key = cv2.waitKey(1) & 0xFFif key == ord('q'): # Get out of the loopbreakcap.release()cv2.destroyAllWindows()# ----------------------------------------------------------------------------------------

author: EuT
author_rank: Contributor
timestamp: October 20, 2023, 08:04:34 pm
content: Actually my Python program does show some strange frames at first few brief moments after switching camera Off and On (by disconnecting from USB port) and restarting the program.Then shows blank images and array frame is reported as NaN.So, it somehow looses connection?

author: EuT
author_rank: Contributor
timestamp: October 20, 2023, 08:16:13 pm
content: Quote from: nikitasius on August 29, 2023, 05:24:53 pmImage captured from my Python program looks similar to one attached in the message above.And that's where I got the idea of taking lower half part of the captured frame with raw data.

author: EuT
author_rank: Contributor
timestamp: October 20, 2023, 08:24:45 pm
content: It could be that after capturing several initial frames, the format of the data in a frame changed?Program does not crash, so it may be that dimention of the captured frames is the same 384 x 256, but it is shown as blank image and frame is NuN.Can anybody help, please, to get correct Python code for frame format, for capturing video from InfirayXH09 (X2) camera?Thank you!

author: EuT
author_rank: Contributor
timestamp: October 20, 2023, 11:48:55 pm
content: Ohh, my! Don't know how but the same code that didn't work for XH09 (X2) camera just started to work!All I did is - I tried to run Virtualdub program.Virtualdub didn't work correctly before but today (after several runs of my python program) Virtualdub started to capture correctly, just like in @nikitasius message.Then I closed Virtualdub and run again my Python code - and it works now. Go figure!Anyway the code in my post works correctly now.It reads the row data frame from Infiray TS2+, T3 and XH09(X2) cameras, applies Ranbow Color pallette, zooms it 2X and displays in pseudo-color.These are basic operations that give one access to raw video data that can be processed further.So here is specific part of Python code for capturing video with raw data for each camera:---------------------------------------------------------------------# For Infiray TS2+ camera:frame = frame.reshape(196, 256, 2) # 0: LSB. 1: MSB T2S+ camera# Remove the last four extra rows (with camera metadata)frame = frame[:-4, ...]---------------------------------------------------------------------# For Infiray T3/T3 Search camera:frame = frame.reshape(292, 384, 2) # 0: LSB. 1: MSB T3 camera# Remove the last four extra rows (with camera metadata)frame = frame[:-4, ...]---------------------------------------------------------------------# For Infiray XH09 (X2) camera:# X2 camera does not have metadata attached, so no need to remove it from frameframe = frame.reshape(384, 256, 2) # 0: LSB. 1: MSB X2 cameraframe = frame[:192, :, :] # take lower half part of the frame with raw dataNote: according to Rune Hansen (the author of IRCAM Thermal Viewer Windows program), some Infiray cameras have 2 versions of firmware.This requires a bit different work with data format.My three cameras version: TS2+ is V1; T3 is V1; XH09 (X2) - version unknown (X2 is not supported in IRCAM program yet).Below are snapshots from Virtualdub and python program for Infiray XH09(X2) camera.

author: EuT
author_rank: Contributor
timestamp: October 21, 2023, 12:43:14 am
content: Quote from: nikitasius on September 17, 2023, 03:44:17 pmThe frame rate of XH09 (X2) camera is still a mystery for me yet.VLC reports 256x384 25Hz with X2. My python program also calcs 25Hz.How can XH09 (X2) camera be switched to 50Hz?

author: nikitasius
author_rank: Regular Contributor
timestamp: October 21, 2023, 10:42:47 am
content: HiEuT,I think the issue "it doesn't worked and now it works!" due x2 need to start and init.If i plug & capture i had that issue. If i plug, let it "start", click once and run the capture, it works.50Hz in VirtualDub are native. W/ OBS you can switch 25Hz or 50Hz to get 256x192 in 25/50 or 256x384 in 25Hz.Thanks for sharing your python code, i will try it also once at my laptop 😁If 2nd image in 256x384 share temp info i will try to pick it up. Or you know, try to pick it from the objects you know (hand, table etc) if you have external thermometer to test.Fraser once told on a forum that there are radiometric datas for measuremebts and ROIC logic based on temperature curve or kind of.Via vanilla app x2 gives shit temp measurements and it require to know ambient temp so.. i'm afraid it can use that curve.

author: nikitasius
author_rank: Regular Contributor
timestamp: October 21, 2023, 10:48:03 am
content: Quote from: EuT on October 20, 2023, 08:04:34 pmBtw, interesting moments: if you film hot surfaces you will get hot pixels pattern. Directly w/ X2.But compared with Hikvision covid camera you will get it only on high contrast images. If i film very hot surface in hot ambient i have great picture (hikvision).So looks like X2's firmware pretty poor to handle these adjustements.

author: EuT
author_rank: Contributor
timestamp: October 24, 2023, 02:21:00 am
content: Quote from: nikitasius on October 21, 2023, 10:42:47 amHi nikitasius,thank you for confirming that strange On/Off behavior of X2 camera. It remains weird thoughSorry for my naïve Q: what is OBS?Is it a special Windows program/software that can read USB cameras? If so, could you please give me links to it.Radiometric data in Infiray cameras:As to radiometric data - XH09 (X2) camera, for example, does not provide it at all, by design.Radiometric Infiray cameras like TS2+, T2 Pro, P2 Pro - have 4 extra lines in the frame that have info related to radiometric data.In my application I need to measure only small relative T differences (for example, before and after stimulation), so no need for absolute T values.That's why the last 4 lines of each video frame that contain data for radiometric measurements are removed in my python program.Otherwise one need to use that data for calculating temperature values, I guess.I haven't figure it out yet how to use this data.

author: blargg
author_rank: Contributor
timestamp: December 07, 2023, 06:47:17 pm
content: Got my XH09. General notes:* Handle/frame for phone and camera is nice.* Can stand being dropped on counter and floor (oops).* Temperature readings is noticeably high.* Slight gradient across picture, one side being a little cooler than other.* 50 Hz worked on Linux but I first had to select 256x195 resolution for the rate to appear, and even then I had to switch res/rate a few times to get a picture.* Row-column artifactsCompared to P2 Pro it's a good complement, not replacement. P2 Pro definitely best as a first thermal camera:* A little more power. 67mA vs 45mA for P2 Pro.* More bulky. Will probably avoid using directly on phone due to risk of falling out or getting bumped.* So much sharper, due to being a narrower FOV (more telephoto) and having manual focus.* Focus is more work. Can take many turns of focus to shift from far to near.* Doesn't work with old P2 Pro app or the great Topdon TC001 like the P2 Pro does.* Works great with nExt Camera on Android for recording at the full 50 Hz rate.* Can't get as close to subject as P2 Pro w/ macro lens, but due to being a narrower FOV the XH09 gives more detail.* Calibration shutter is more noisy, sounds like a ball bearing bouncing on glass.Videos:Cat, hot air over blanketHeat rising from heaterCooling fan with filter pad over it showing vorticies of air

author: aim120
author_rank: Newbie
timestamp: December 15, 2023, 12:24:01 pm
content: The mini256 core specification says that there is no 50hz, only the mini384 has a 50hz output but with 25hz during temperature measurement. Some of you are saying in 50hz the resolution is 384x192, what if they locked the resolution of min384.Also the new XH15 has 60hz and 25mv so has to be a new core.

author: adlep2002
author_rank: Newbie
timestamp: December 18, 2023, 07:18:44 am
content: Is it possible to disable the X2 option? I like the product but walking around with it at 2x I get dizzy after few minutes. I think the best application for observing is to have it at 1x and then zoom to 2x and up upon detecting something. So "scan" go 1x, and then "detect" 2x and up...

author: svgurus
author_rank: Regular Contributor
timestamp: December 19, 2023, 09:58:56 am
content: Quote from: adlep2002 on December 18, 2023, 07:18:44 amHoney, the only relatively new thermal imagers where you can "remove x2" are iray zoom and conotech aquila series, check out their price and size;)Got myself this xh-09 on occasion, metal case looks nice and smaller than t2s+, the app and variety of them is frustratingand looks like you cant change the lens because of their efforts to make it weatherproof

author: nikitasius
author_rank: Regular Contributor
timestamp: December 20, 2023, 08:34:31 am
content: Quote from: svgurus on December 19, 2023, 09:58:56 amWhy you wanna change the lens on a dongle?Especially when it support MF from-the-box.Honestly, the only issues why ipersonallydon't like and i sold mine: it's a dongle & temperature it's a joke.But to film, have fun, do solder/examine pcb w/ crazy good macromode it's awesome.

author: svgurus
author_rank: Regular Contributor
timestamp: December 20, 2023, 10:11:22 am
content: Quote from: nikitasius on December 20, 2023, 08:34:31 amMy fav dongle was therm-app bc of lens changing and *personally* i'd say your 160*120 Hik is a jokeT2s+ almost supports lens changing(on iphone rather not) and is supported by more than 1 application(also only on android) so I'd prefer it. but will wait when they will roll out hd mode and iphone support for t3 lineup.And i forgot to mention XH09 has one of the worst contact stability of type c port. It makes its tiny size and tight lens thread not that big advantage

author: nikitasius
author_rank: Regular Contributor
timestamp: January 15, 2024, 09:49:41 am
content: Quote from: svgurus on December 20, 2023, 10:11:22 amWell,* 160x120 Hik works pretty good for exam/testing purposes, it gives meradiometricimages on handheld format (saved on a microsd card), also it have bigger pixel and great sensivity ("hand on the wall" test videohttps://drive.google.com/file/d/1NQZpsE3MLZYY_dCMzTZ80sKBVtHtQdy3/view). I can shot anything then open on my PC and get the image i need, for 80€ it outperform Infirays modules for 400 bucks.* i found XH09 having pretty good type-c in my pixel7, probably yours is pretty dirty so it lose all the time (my old xiaomi's issue).But after using dongle and having handheld i wanna say: no more dongles for me. Dongles sucks. I.e for gaming purposes or some fun - yeah. But handheld it's solid, long time working, independant + simply better images due better PCB, better space.

author: Shadowsfromnowhere
author_rank: Newbie
timestamp: January 18, 2024, 08:33:37 pm
content: Quote from: nikitasius on January 15, 2024, 09:49:41 amCan the 160x120 Hikvision handheld record 25hz video internally? Thanks.

author: ArcSin
author_rank: Contributor
timestamp: January 31, 2024, 08:30:29 am
content: Hello!I am new here and this is my first post here.I have some questions relating the X2, well actually its analogue, the E20+.Firstly, is it safe to connect it to the computer USB, I ask this because I don't know how it manages the power delivery, and if it has some communication that requires the "on the go" stuff, it might damage it.I know the possibility is remote, but not zero, so it it wont don't hurt to ask. Better safe than sorry and many euros poorer.Secondly, as I understand, the E20+ and the X2 is more or less analogues, if not down right share same sensor (considering the fab to make the sensor is usually outside the pocketbook of midsize companies to run and get the needed economy of scale) and differ in control logic or/and firmware. If so, the I/O should still have some universal features that would lend it to be used with some universal Win/Linux app... with some tweaking. Is there any floating around worth a shot? I would like to use mine E20+ in a project that needs the flexibility that phone app just cant provide. However, I am still novice in electronics and programming, so instead of learning how to invent a wheel, I like to shake proverbial "geek tree" and see what falls down.Thank you in advance.

author: RO
author_rank: Contributor
timestamp: January 31, 2024, 11:44:01 am
content: 1, I don't have a E20 and can't try if there is some highly unlikely problem with it's usb-c, but you should be able to plug it in without problem.If it has some uvc porotocol you might even be able to install it as a webcam, try reading the manual or searching.2, I doubt your assumptions about the sensor. It's not unlikely the E20+ houses a Hikvision 'in-house' core, like the 2TP31 fraser tore down:https://www.eevblog.com/forum/thermal-imaging/hikvision-ds-2tp31-series-thermal-camera-teardown-307840/msg3942805/#msg3942805.If so it couldn't be more different, might communicate over a similar protocol, probably won't.If it's based on the iray tiny1 core or has a similar protocol you can look into these projects:https://www.eevblog.com/forum/thermal-imaging/rasbpi-and-topdon-tc001-(guinea-pig)-tester-requested/https://github.com/92es/Thermal-Camera-Reduxhttps://www.eevblog.com/forum/thermal-imaging/infiray-and-their-p2-pro-discussion/200/https://github.com/leswright1977/PyThermalCamera

author: nikitasius
author_rank: Regular Contributor
timestamp: January 31, 2024, 07:44:24 pm
content: Quote from: Shadowsfromnowhere on January 18, 2024, 08:33:37 pmit's a cheap covid cam, nope.

author: Dogman211
author_rank: Contributor
timestamp: February 04, 2024, 08:38:13 am
content: Lads I got my hands on the SDK for this high refresh cam.XH09 win/linux SDKhttps://mega.nz/file/O1gAmaaZ#ANAzXknDAvhjccnsX6WNxF21AkBkAm4FEJUWjIhxb_IXH09 android SDKhttps://mega.nz/file/GkpjDbZT#i7hWughvoCXEPRNOkRfeQxl0zJ3NwSkSja9WunnuE4ILots of it is in chinese and the make files arent really pointed in the right direction, needs some cleaning up

author: obnauticus
author_rank: Newbie
timestamp: February 21, 2024, 09:07:35 pm
content: Does anyone here know if this enumerates as a linux video device natively? Like in /dev/videoX?I read through the SDK and it looks like it is _probably_ a UVC or V4L2 compatible camera but I wanted to ask to see if anyone knows for sure.

author: Muny
author_rank: Contributor
timestamp: March 11, 2024, 11:55:17 pm
content: Is the XH15 available to purchase yet? I can't seem to find it. Supposedly they showed it off at CES, but I don't see anything related to it.

author: nikitasius
author_rank: Regular Contributor
timestamp: March 19, 2024, 05:39:47 pm
content: Quote from: Muny on March 11, 2024, 11:55:17 pmforum:https://www.eevblog.com/forum/thermal-imaging/files-from-infisense-doc-cn-(the-public-ones-sure)/msg5055790/#msg5055790china:https://www.iraytek.com/product/xfdzpro-detail-337.htm

author: OutoftheBox
author_rank: Newbie
timestamp: March 27, 2024, 08:10:19 pm
content: Has anyone got theirs to work on Linux? I had a cheaper 25hz aliexpress thermal to work with a pi zero 2w using python3 scripts from this forum. The lens did not work well for the project I am trying to adapt it to--so I upgraded to the new cam. However, I cant get the XH09 to work. The Xh09 will only display static for a moment and then turn a solid grey color on the display.I am looking for the pi zero 2w to process the data and display it to a comp out video. I am looking to keep it at 50hz with minimal lag.This is the code being used:#!/usr/bin/env python3import cv2import numpy as npimport argparseparser = argparse.ArgumentParser()parser.add_argument("--device", type=int, default=0, help="Video Device number e.g. 0, use v4l2-ctl --list-devices")args = parser.parse_args()if args.device:dev = args.deviceelse:dev = 0#init videocap = cv2.VideoCapture('/dev/video'+str(dev), cv2.CAP_V4L)#cap.set(cv2.CAP_PROP_CONVERT_RGB,False)cap.set(cv2.CAP_PROP_CONVERT_RGB,0.0)#we need to set the resolution here why?'''wright@CF-31:~/Desktop$ v4l2-ctl --list-formats-extioctl: VIDIOC_ENUM_FMTIndex : 0Type : Video CapturePixel Format: 'YUYV'Name : YUYV 4:2:2Size: Discrete 256x192Interval: Discrete 0.040s (25.000 fps)Size: Discrete 256x384Interval: Discrete 0.040s (25.000 fps)'''scale = 3width = (256 * scale)height = (192 * scale)name = 'Thermal'cv2.namedWindow(name,cv2.WINDOW_GUI_NORMAL)cv2.resizeWindow(name, width, height) # Scale window once to desired scalewhile(cap.isOpened()):# Capture frame-by-frameret, frame = cap.read()if ret == True:cv2.namedWindow(name,cv2.WINDOW_NORMAL)imdata,thdata = np.array_split(frame, 2) # Split into individual sub-framesimdata = cv2.cvtColor(imdata, cv2.COLOR_YUV2BGR_YUYV)imdata = cv2.resize(imdata, (width, height), cv2.INTER_CUBIC)imdata = cv2.applyColorMap(imdata, cv2.COLORMAP_JET)cv2.imshow(name,imdata)keyPress = cv2.waitKey(3)if keyPress == ord('q'):breakcapture.release()cv2.destroyAllWindows()

author: Dogman211
author_rank: Contributor
timestamp: March 27, 2024, 11:04:14 pm
content: Yep, force your image to not use the sensor data. use 256*192 and not the 256*384 sensor data. If you use 256*384 it spergs out

author: OutoftheBox
author_rank: Newbie
timestamp: April 27, 2024, 01:29:55 am
content: I have tried embarrassingly long to implement your advice and get it to work; however, I can't seem to get it to work. I have systemically worked through the code, but only to further break it. I don't really know what I am doing as I have been just reading the blogs and trying to copy/paste codes until I figure it out. Do you mind elaborating on what I need to do?

author: Jane
author_rank: Frequent Contributor
timestamp: April 27, 2024, 02:49:20 pm
content: Anyone here uses this camera for electronics reparing?Experience?

author: OutoftheBox
author_rank: Newbie
timestamp: April 30, 2024, 04:23:24 pm
content: I think this could work, but it seems there are better ones for up close work. They are both cheaper and have macro lenses. Several are available on Aliexpress that would probably be a better choice for you as this is more for outdoor use with a focus lens that is designed for that. Try checking out the P2 Pro

author: Jane
author_rank: Frequent Contributor
timestamp: April 30, 2024, 07:57:06 pm
content: @OutoftheBox: Thank you for reply

author: MagnumMoose
author_rank: Newbie
timestamp: May 25, 2024, 02:34:21 pm
content: @Outofthebox: Did you ever find a solution?

author: b1izz
author_rank: Newbie
timestamp: November 28, 2024, 04:59:45 pm
content: Hi guys this is my 1st postCan you show how xh09 x2 camera cope with temperatures below 0*C?for example open fridge and take a picture of the freezer drawers?

author: Dogman211
author_rank: Contributor
timestamp: November 30, 2024, 03:07:34 am
content: Quote from: b1izz on November 28, 2024, 04:59:45 pmNot well, do not use this for accurate temperature measurement its at best a thermal imager not a thermal reader

author: Fraser
author_rank: Super Contributor
timestamp: November 30, 2024, 12:57:29 pm
content: b1izz,Accurate temperature measurement of targets below Zero Celsius in atmosphere with a thermal camera can be challenging, both in terms of thermal camera performance and the test setup. Frost formation on the surface of the target will adversely effect the measurement accuracy. In cases where accuracy is important, a special test rig may be justified. The area between the target and thermal camera may need to be encased so that the atmosphere between camera lens and target may be replaced with Nitrogen gas. This removes the issue of frost formation BUT cannot be considered a true non contact measurement anymore as the test rig will seal to the target through contact with it. If contact is not an issue, a precision PTC100 or thermocouple might be a better choice of measurement tool. If imaging of the target is required but not temperature measurement, a microbolometer based thermal camera is capable of imaging to temperatures as low as -40 Celsius, but budget cameras will struggle below -10 or -20 Celsius.Maybe if you can detail your thermal camera use scenario the readership can draw upon its knowledge for you ?Fraser