Search found 58 matches

by GL-ITC
Fri Jul 31, 2020 2:12 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Yeah no problem. I won't get to it immediately as I have a few other features to develop first but when I eventually get it done I'll post the code. Thanks
by GL-ITC
Fri Jul 31, 2020 6:40 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, Possibly a foolish question but do you think there is any reason why the openmv board couldn't be used to calibrate the lepton 3.5 as per the Flir guide https://www.flir.com/globalassets/imported-assets/document/lepton-with-radiometry-quickstart-guide.pdf . I know it mentions communicating with ...
by GL-ITC
Thu Jul 30, 2020 6:41 am
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Hi, I thought this might be useful if someone like me wants the raw data or the reassurance that the 8 bit conversion the OpenMV board does is still quite accurate. I done two comparisons. The top comparison uses the Flir radiometric ROI SDK function to return the average temperature in Kelvin scale...
by GL-ITC
Tue Jul 28, 2020 3:45 pm
Forum: Technical Discussion
Topic: Send array of values
Replies: 3
Views: 60

Re: Send array of values

Given that my array is full of 16 bit data I tried packaging it as .pgm file but when reading on the host device it see's them as 8 bit values for some reason.
by GL-ITC
Tue Jul 28, 2020 7:58 am
Forum: Technical Discussion
Topic: Unable to connect to your OpenMV cams normal bootloader
Replies: 2
Views: 59

Re: Unable to connect to your OpenMV cams normal bootloader

Hi,
Just to let you know I got this working using the shared folders approach as per your documentation. The one thing I did notice is when I run the boot loader to update the firmware the Cam has to be disconnected from the ide before I try do it which I never noticed before.
by GL-ITC
Tue Jul 28, 2020 7:41 am
Forum: Technical Discussion
Topic: Send array of values
Replies: 3
Views: 60

Send array of values

Hi, How do i send an array of values to a raspberry pi as opposed to an image object? I have it working for an image object its more how do I package the array. So I have my "img" which is actually an array of 16 bit values but I am not entirely sure how I send those back to the host device. I store...
by GL-ITC
Fri Jul 24, 2020 5:56 am
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Hi, Just to let you know, and for anyone else that may need it, I got the spotmeter stuff working. There were two things happening. I had to put a time.sleep(500) between the setting of the ROI and the getting of the ROI to allow the changes to take effect. The other thing I wanted was to set the RO...
by GL-ITC
Fri Jul 24, 2020 4:42 am
Forum: Technical Discussion
Topic: Unable to connect to your OpenMV cams normal bootloader
Replies: 2
Views: 59

Unable to connect to your OpenMV cams normal bootloader

Hi, I'm trying to upload some firmware changes on the H7. I have done this several times before and it has worked fine. The only difference now is im trying to do it on a virtual machine, specifically on Ubuntu 14.04 (Guest OS) with the host OS being Windows 10. When I go to run the bootloader and t...
by GL-ITC
Thu Jul 23, 2020 4:43 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Yes I'll have a look. I also agree that the Flir documentation is quite poor given the complexity of the subject matter. Thank you.
by GL-ITC
Thu Jul 23, 2020 11:42 am
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Hi,

I have the 3.5. I can set the coordinates and get the coordinates to make sure they are set to mine but when I query the ROI for min, max, avg temp and population it seems to be based off of other coordinates as far as I can see.
by GL-ITC
Thu Jul 23, 2020 10:18 am
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Hi, When I issue the rad spot-o-meter set command with the following values I get a sensor control failed error. The code I use is: roi = struct.pack("<HHHH", 0,0,159,119) # defining rectangle coordinates and putting in structure sensor.ioctl(sensor.IOCTL_LEPTON_SET_ATTRIBUTE, 0x4ECD, roi) data = se...
by GL-ITC
Thu Jul 23, 2020 9:15 am
Forum: Technical Discussion
Topic: Image Indexing
Replies: 1
Views: 47

Image Indexing

Hi,

When you have an image object and you index into it

Code: Select all

img[0]
to get a pixel value, where is the source code that executes that operation out of interest?
by GL-ITC
Wed Jul 22, 2020 9:17 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, I completely misread one of your earlier responses in this thread which is why I got so confused. You said in non measurement mode the sensor runs an algorithm called AGC which adaptively scales the 14-bits to 8-bits using a method that changes per area of the image . I have since looked at the ...
by GL-ITC
Tue Jul 21, 2020 2:21 pm
Forum: Technical Discussion
Topic: Built in self test
Replies: 2
Views: 59

Re: Built in self test

Hi,

Yes thats fine once i have the use of the print statement I will probably figure it out myself. Cheers.
by GL-ITC
Tue Jul 21, 2020 4:55 am
Forum: Technical Discussion
Topic: Built in self test
Replies: 2
Views: 59

Built in self test

Hi,

I have made changes to the firmware and uploaded them onto the H7. The camera seems to be stuck on the self test I see no blue light flashing? How long should it take?. Also is it possible to see the output of print statements in the firmware for debugging purposes.
by GL-ITC
Mon Jul 20, 2020 4:11 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 39
Views: 3756

Re: Temperature value of each pixel captured by LEPTON

Hi Iseeinir23, I'm definitely not an expert but it sounds like you need to calibrate the lepton off a black body source. The camera should be doing FFC automatically so the core temperature of the camera shouldn't be an issue. The lepton is calibrated at factory for a scence with 100% emissivity in ...
by GL-ITC
Wed Jul 15, 2020 8:34 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, I would like to summarise my understanding of this code and see If you can tell me whether I am on the right lines or not: int value = __REV16(row_ptr[fast_floorf(x * scale_inv)]); if (measurement_mode) { // Need to convert 14/16-bits to 8-bits ourselves... if (!radiometry) value = (value - 8192...
by GL-ITC
Tue Jul 14, 2020 6:54 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, So I had the temperature settings set at -10 and 140 which by my calculations would result in a possible loss of precision of approximately 0.58C in an 8 bit greyscale image, is that correct? I didn't intend on leaving the temperature window that wide going forward anyway but I didn't realise it...
by GL-ITC
Mon Jul 13, 2020 2:58 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Yes maybe your right, I'm just trying to understand it which the source code definitely helped with. The critical temperature range is 20 to 40 degrees, you wouldn't really want a server reaching 40 degrees anyway.
by GL-ITC
Mon Jul 13, 2020 1:18 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Yes I saw it. The spot meter requires me to give it the coordinates of an area I want to check. In terms of a server rack I cant say the hotspot will always be at a specifc point, hence why I wanted the raw data as well as an 8 bit greyscale image. We would then implement our own hotspot detection c...
by GL-ITC
Mon Jul 13, 2020 11:25 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi I would like to access the raw temperature data the camera produces I understand that I would still need to convert it to 8 bit or whatever for display purposes. So in short I would like to have an array of raw temperature values and the 8 bit greyscale image. I understand what you mean about con...
by GL-ITC
Mon Jul 13, 2020 6:43 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, Is the logical AND of value and 0xff in the switch statement where the 14 bit to 8 bit conversion is actually happening. I had a quick look at the code and specifically looked up the 0xff operator which gives you the last 8 bits of the value. The code I'm looking at is here: IMAGE_PUT_GRAYSCALE_...
by GL-ITC
Wed Jul 08, 2020 7:38 am
Forum: General Topics
Topic: Shipping
Replies: 1
Views: 53

Shipping

Hi,

Im just wondering if you ship products to Ireland the shipping calculator on your website doesn't show Ireland as an option and I'm pretty sure it used to. I just want to make sure before buying. Thanks
by GL-ITC
Tue Jul 07, 2020 11:10 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi,

Could you provide me with a link to the file that scales the data from 14 bit to 8 bit please? I would like to look at the source code as it seems I will need to edit it to get the radiometric data that I require.
by GL-ITC
Thu Jun 18, 2020 3:39 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Re: Radiometric vs Non-Radiometric Leptons

Hi, By converting from 14 bit to 8 bit is the radiometric aspect lost? So really in the current implementation of the Lepton code you provide, it doesn't make use of the radiometric aspect of the camera? I'm not sure I fully understand your explanation. Does that mean then the map_g_to_temp() functi...
by GL-ITC
Thu Jun 18, 2020 9:46 am
Forum: Technical Discussion
Topic: Leton 3.5 Compressed Image
Replies: 6
Views: 224

Re: Leton 3.5 Compressed Image

Apologies for coming back to this question so soon but I was reading an article on compression of thermal images https://irinfo.org/04-01-2006-colbert/ that says The JPEG image file, commonly used for photographs and other complex still-images on the Web, is an image that has lossy compression.....N...
by GL-ITC
Thu Jun 18, 2020 9:21 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 26
Views: 599

Radiometric vs Non-Radiometric Leptons

Hi, Its probably not the right place to be asking the question but I'm struggling to find a specific answer, how does a radiometric lepton (3.5) differ from a non-radiometric. More specifically when reading about radiometric measurement it says each pixel can be interpreted as a temperature value. W...
by GL-ITC
Wed Jun 17, 2020 10:39 am
Forum: Technical Discussion
Topic: Leton 3.5 Compressed Image
Replies: 6
Views: 224

Re: Leton 3.5 Compressed Image

Thats great, thank you.
by GL-ITC
Wed Jun 17, 2020 10:31 am
Forum: Technical Discussion
Topic: Leton 3.5 Compressed Image
Replies: 6
Views: 224

Re: Leton 3.5 Compressed Image

So in my case I set the min temperature to -10 and the maximum temperature to 140. I then set the minimum greyscale value to 0 and the maximum value to 255. If I compress an image that has been taken using these settings can I interpret a pixel as temperature value using your function in a post proc...
by GL-ITC
Wed Jun 17, 2020 9:08 am
Forum: Technical Discussion
Topic: Leton 3.5 Compressed Image
Replies: 6
Views: 224

Leton 3.5 Compressed Image

Hi

Quick question, is it possible to send the thermal image back to a device without compressing it? My understanding is that if I want to gather temperature values from the image in a post processing stage then I can't compress the image?

Thanks,
Gar
by GL-ITC
Tue May 12, 2020 12:07 pm
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Re: Image Statistics

Ok thanks for your help, it's much appreciated
by GL-ITC
Tue May 12, 2020 11:49 am
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Re: Image Statistics

So am I correct in saying then that the example code in the IDE which draws before generating the stats is incorrect, or at least for my use case where I need the temperature. I understand that you feel I'm overthinking what's happening, but from my point of view I need to understand if the data I h...
by GL-ITC
Tue May 12, 2020 11:09 am
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Re: Image Statistics

Hi, I have looked at the lepton_get_object_temp.py file which shows the following code: for blob in img.find_blobs(threshold_list, pixels_threshold=200, area_threshold=200, merge=True): img.draw_rectangle(blob.rect()) img.draw_cross(blob.cx(), blob.cy()) stats = img.get_statistics(thresholds=thresho...
by GL-ITC
Tue May 12, 2020 6:35 am
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Re: Image Statistics

Hi, Update I appear to have found the issue why there was such a difference. In the graph I included in my original post the blue line represented images that had a bounding box around the perimeter of the image whereas the red line represented the temperature calculation on an image with no boundin...
by GL-ITC
Mon May 11, 2020 2:38 pm
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Re: Image Statistics

Hi Nyamekye,

It may be a foolish question on my part but where did you get the figure of .588 C ?
Also I will get you an image in BMP format as soon as I can.

Thanks for your help.
Gar
by GL-ITC
Mon May 11, 2020 11:41 am
Forum: Technical Discussion
Topic: Image Statistics
Replies: 12
Views: 872

Image Statistics

Hi, I have a question regarding the the image.get_statistics function and the mean value it returns. Im currently using the the H7 with a Flir Lepton 3.5 connected to it. I'm trying to assess how accurate the thermal camera is. To do this I have set the cameras temperature range to its maximum (whic...
by GL-ITC
Tue Mar 10, 2020 5:40 am
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

You could use the blob.pixels() function to find how many pixels are in each blob and then just send back/display the one with the most pixels in it.
by GL-ITC
Mon Mar 09, 2020 2:31 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

Sorry just to be clear, you want to send the largest blob back as well or am I misunderstanding you?
by GL-ITC
Mon Mar 09, 2020 2:00 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

On the code you are running on the openmv board you can remove the print statement because that outputs data to the serial/usb port. See if that fixes the error your getting now
by GL-ITC
Mon Mar 09, 2020 8:15 am
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

Which line shows up as line 32 in your text editor/IDE?
by GL-ITC
Sat Mar 07, 2020 3:41 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

To send the c variable to another python program, you need to set up your other python program to receive data via the serial port. You could send the c variable as a JSON object. I haven't got the OpenMv board with me at the minute so I cannot verify if the code will work, but it think this should ...
by GL-ITC
Sat Mar 07, 2020 7:36 am
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

Ok so first of all you can't run a python program that tries to access the serial port if the IDE is already connected to the camera . The camera must be disconnected form the IDE if you want another python program to communicate/get data from the serial port with the camera. Can you be more specifi...
by GL-ITC
Sat Mar 07, 2020 6:25 am
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

Install the pyserial package on the host system and do the following to find the USB port the openmv board is attached to, create a serial port object and then check that it is open. This script assumes there is only one openmv board attached to the host system that is running your python script. im...
by GL-ITC
Fri Mar 06, 2020 12:54 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 3926

Re: Couple questions about the H7

I am not as qualified to answer the first question as the admins (Kwagyeman and iabdalkader) are but as regards sending images via USB serial port see this discussion: https://forums.openmv.io/viewtopic.php?f=6&t=1764 it should help with the basics. If you can be more specific with your issues I may...
by GL-ITC
Fri Mar 06, 2020 12:48 pm
Forum: Technical Discussion
Topic: Letpon 3 vs Lepton 3.5
Replies: 2
Views: 1249

Re: Letpon 3 vs Lepton 3.5

Perfect, thank you.
by GL-ITC
Fri Mar 06, 2020 10:40 am
Forum: Technical Discussion
Topic: Letpon 3 vs Lepton 3.5
Replies: 2
Views: 1249

Letpon 3 vs Lepton 3.5

Hi In your example code for getting the temperature of an object you say it may not work with other leptons because they do not have radiometry. What would be the difference if I was to use the Lepton 3.0 instead of the 3.5. Does it mean I cannot get a temperature value for an object? I have somehow...
by GL-ITC
Thu Mar 05, 2020 11:25 am
Forum: Technical Discussion
Topic: Threshold list in image.get_statistics and find_blobs
Replies: 5
Views: 1375

Re: Threshold list in image.get_statistics and find_blobs

Ah ok, I see what you mean. Thank you.
by GL-ITC
Thu Mar 05, 2020 10:55 am
Forum: Technical Discussion
Topic: Threshold list in image.get_statistics and find_blobs
Replies: 5
Views: 1375

Re: Threshold list in image.get_statistics and find_blobs

Sorry I'm still a bit confused. I understand that they are two separate functions and that they can be called independently of each other. In the documentation for the get_statistics function on the thresholds attribute specifically it says Only pixel regions that fall between these thresholds will ...
by GL-ITC
Thu Mar 05, 2020 8:18 am
Forum: Technical Discussion
Topic: Threshold list in image.get_statistics and find_blobs
Replies: 5
Views: 1375

Threshold list in image.get_statistics and find_blobs

Hi, Can you explain to me the purpose of passing the color threshold list to the find_blobs and image.get_statistics function. The issue I am having is if the find_blobs function is finding blobs that meet the color thresholds and the other threshold parameters, why does the image.get_statistics fun...
by GL-ITC
Wed Mar 04, 2020 4:31 pm
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 31
Views: 5023

Re: Timestamp filenames

Glad to hear its working.

Go to advanced search