Search found 3056 matches

by kwagyeman
Mon Jun 24, 2019 9:41 pm
Forum: Technical Discussion
Topic: Issue with lens fit
Replies: 2
Views: 1009

Re: Issue with lens fit

Scott, please email us and we will send you replacement lenses from our stock. Our manufacturer may be using a slightly different mount than we approved. We should be able to fix this.
by kwagyeman
Sun Jun 23, 2019 6:21 pm
Forum: Technical Discussion
Topic: Convert Image To Pixel Array
Replies: 1
Views: 634

Re: Convert Image To Pixel Array

You have to get a pixel at a time using the get pixel method and send that as ASCII. It's going to be extremely slow. The hex data you sent before is the raw binary image. Um, images are treated as linear int arrays BTW. You can just index them with [] in python to get values. However, I recommend u...
by kwagyeman
Sun Jun 23, 2019 12:02 pm
Forum: General Topics
Topic: Floor detection Help!
Replies: 1
Views: 918

Re: Floor detection Help!

Yeah, so, this is basically a flood fill. Please use the flood fill method and keep modifying the parameters until the floor area is all painted as you want. Then once that works well use the find_blobs() method on the flood filled color per slice of the image (you can define slices to be rectangula...
by kwagyeman
Sat Jun 22, 2019 12:52 pm
Forum: Technical Discussion
Topic: Open MV CLI and OTA programming
Replies: 4
Views: 1866

Re: Open MV CLI and OTA programming

Um, so, it code work was completed but it doesn't work 100% reliably. Right now, my push is to get new driver support for the OV5640 out, the OV2640, and we have a DRAM version of the H7 coming soon. This will allow you to take high res 5MP still images and do AprilTags at Max res. We also are start...
by kwagyeman
Fri Jun 21, 2019 6:05 pm
Forum: Technical Discussion
Topic: Detection of Tiny Blobs from QQVGA
Replies: 2
Views: 904

Re: Detection of Tiny Blobs from QQVGA

Hi, you need to set the area_threshold argument to a low value too. It defaults to non zero to ignore those tiny blobs.
by kwagyeman
Wed Jun 19, 2019 11:06 pm
Forum: Technical Discussion
Topic: OpenMV H7 hibernate mode current consumption
Replies: 1
Views: 914

Re: OpenMV H7 hibernate mode current consumption

It's about 1.5mA the last time I checked. It's hard to get it lower than that due to random static current draws on the board.
by kwagyeman
Wed Jun 19, 2019 11:25 am
Forum: Technical Discussion
Topic: upper quartile
Replies: 1
Views: 800

Re: upper quartile

Hi, I need to answer this. Will do in a few hours.
by kwagyeman
Wed Jun 19, 2019 10:49 am
Forum: General Topics
Topic: Global Shutter
Replies: 32
Views: 22125

Re: Global Shutter

Hi, please see the Openmv boards repo and see the OMV4 board and the sensor modules of it. The design files for the global shutter camera are there.
by kwagyeman
Tue Jun 18, 2019 2:31 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

Yeah, so, you don't need the resolution in this particular problem. Just the FoV. So, I'd use a wide angle lens. The algorithm used by AprilTags can decode tags that are warped. It doesn't need the tag to be squarish. Since you don't need the resolution. Just get to the highest res you can using gre...
by kwagyeman
Tue Jun 18, 2019 1:03 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

Um, just wrap the code with a try: except: block. AprilTags uses more RAM when it has to deal with edges. The less stuff there is in the image the less RAM it uses. The big RAM hog is that is allocates a 12 byte point structure per black/white edge transition. So, with 200x200 pixels it could need ~...
by kwagyeman
Tue Jun 18, 2019 2:14 am
Forum: Technical Discussion
Topic: Anyone launched two copies of IDE on Mac?
Replies: 3
Views: 859

Re: Anyone launched two copies of IDE on Mac?

You can only have one copy of the IDE. This is on purpose. We have a module called QtSingleApplication running that when you start a second IDE it finds the previous running one, passes it's command lines arguments to the first one, and then shutsdown. This is how drag and drop works among other thi...
by kwagyeman
Sun Jun 16, 2019 8:13 am
Forum: Technical Discussion
Topic: How to set "Reference Voltage" to raise an Interrupt from External Sensor
Replies: 2
Views: 536

Re: How to set "Reference Voltage" to raise an Interrupt from External Sensor

Hi, you have to use an external comparator circuit that tests if the voltage is higher than 1.25v. General purpose I/O pins can't be used to measure voltage levels.

You can use any pin that is free for the interrupt from the comparator.
by kwagyeman
Thu Jun 13, 2019 10:17 pm
Forum: Project Discussion
Topic: Detect multiple letters
Replies: 1
Views: 1034

Re: Detect multiple letters

Yes, you need to pass the network an ROI where it should be executed for each expected letter location. You can get the ROI from using the GUI and selecting the frame buffer. If you want to detect letter locations automatically you have to use find blobs to detect the letter centroids and then creat...
by kwagyeman
Thu Jun 13, 2019 7:04 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

SD Cards can't be used for RAM. Running at 200x200 is about the max the H7 can do with AprilTags. I'm sorry this isn't enough res.

If we have an H7 with RAM working soon I will send you a model. Then this limit will be removed.
by kwagyeman
Thu Jun 13, 2019 1:21 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

Um, try 200x200. That works well.

Note... we might be making an H7 version with RAM where this limit would be removed. The AprilTag algorithm doesn't actually need a lot of memory bandwidth so the external RAM and resolution would not necessary reduce performance.
by kwagyeman
Thu Jun 13, 2019 1:19 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

Hi, it requires brackets because the Python code expects a tuple of 2 or 4 length. When you increase the AprilTag resolution the algorithm adjusts to the larger memory requirement by reducing a temporary heap size used to store edge point matches. Because this memory pool is smaller the algorithm ru...
by kwagyeman
Tue Jun 11, 2019 12:41 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 15
Views: 2753

Re: Frame Rate April Tags

Don't run at 256x256, stay at 240x240. Use the set_windowing method with a resolution of QVGA or higher. set the windowing to 240x240.

As for QrCodes, I believe that takes less RAM. Remember resolution is in 2-dimensions so going up to the next res is 4x more RAM.
by kwagyeman
Tue Jun 11, 2019 12:38 am
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 14
Views: 2133

Re: Problem: Broadcast Discovery Port

Okay, it looks like you solved the issue.

I would say it's more likely your computer settings than our fault however. We don't have any auto starting code in our IDE. I know Mac has this feature to auto start software but it's not available on Windows by default.
by kwagyeman
Tue Jun 11, 2019 12:35 am
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 14
Views: 2133

Re: Problem: Broadcast Discovery Port

This is so weird. I have no code in the IDE to cause this to happen. Mmm, okay, try this... Please startup windows in safe mode. Then move the IDE code folder (under x86 programs) to your desktop. Then reboot back into normal mode. Windows should not be able to spawn these zombie processes again. Th...
by kwagyeman
Mon Jun 10, 2019 9:03 pm
Forum: Technical Discussion
Topic: from openmv to arduino
Replies: 2
Views: 649

Re: from openmv to arduino

Hi, this question has been asked many times on the forums. Please search the forum for the answer.

Thanks,
by kwagyeman
Mon Jun 10, 2019 9:03 pm
Forum: General Topics
Topic: Shape Detection
Replies: 26
Views: 28348

Re: Shape Detection

No, not really.
by kwagyeman
Sat Jun 08, 2019 11:50 pm
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 14
Views: 2133

Re: Problem: Broadcast Discovery Port

Hi, the wifi discover port has nothing to do with the VCP port the IDE uses to communicate to the camera. For the wifi discovery all I try to do is to bind to a particular UDP port and I display that message if the bind fails. As for the VCP port issue. It's true that it's possible to have an unkill...
by kwagyeman
Sat Jun 08, 2019 2:27 pm
Forum: Project Discussion
Topic: Detect moving object
Replies: 2
Views: 634

Re: Detect moving object

Frame differencing followed by find_blobs() will work for what you want to do. However, shadows and other things will trip you up. Try frame differencing out followed by blob detection for quick results however.
by kwagyeman
Sat Jun 08, 2019 2:04 am
Forum: Technical Discussion
Topic: Change name of my openMV board
Replies: 1
Views: 585

Re: Change name of my openMV board

You have to edit the source code. We don't provide help for this. You can find the USB drivers and the board name by searching our GitHub repo for that string and changing it.
by kwagyeman
Fri Jun 07, 2019 11:44 am
Forum: Technical Discussion
Topic: Pre-processing before Bolb Detection - MorphClose, Div, Norm & Thresh
Replies: 3
Views: 676

Re: Pre-processing before Bolb Detection - MorphClose, Div, Norm & Thresh

Play with the threshold and the constant added to get the best results. The method was made to do exactly what you want to do above however.
by kwagyeman
Fri Jun 07, 2019 11:07 am
Forum: Technical Discussion
Topic: Pre-processing before Bolb Detection - MorphClose, Div, Norm & Thresh
Replies: 3
Views: 676

Re: Pre-processing before Bolb Detection - MorphClose, Div, Norm & Thresh

Please don't post forum request that are of a format... here's a bunch of code. Please fix it for me. We don't have that type of time anymore for customers. First, what are you trying to do? Detect sharp edges? If so, see the Examples->Image Filtering->Mean_Adaptive_Threshold example. This does basi...
by kwagyeman
Thu Jun 06, 2019 5:25 pm
Forum: Technical Discussion
Topic: OPENMV H7 stopped working
Replies: 7
Views: 994

Re: OPENMV H7 stopped working

Oh, the term brick means to reduce the device to being nonfunctional. I.e. if you were to brick your phone it would no longer be a phone but a paper weight or a brick. It's just an American colloquialism.
by kwagyeman
Thu Jun 06, 2019 1:06 pm
Forum: Technical Discussion
Topic: Precision of RGB Gain
Replies: 4
Views: 845

Re: Precision of RGB Gain

Omnivision likes to make the top 4 bits of registers a integer gain and the bottom 4 bits a fractional gain of 1/16.
by kwagyeman
Thu Jun 06, 2019 1:06 pm
Forum: Technical Discussion
Topic: Precision of RGB Gain
Replies: 4
Views: 845

Re: Precision of RGB Gain

There's no app note from Omnivision. I'm guessing that's how it works based on an appnote from the OV2640 and OV9965 as that's how OmniVision likes to control their gain registers. It may not actually be correct. Please assume the value you put into the reg is completely opaque. ... Regarding auto_g...
by kwagyeman
Wed Jun 05, 2019 11:19 pm
Forum: General Topics
Topic: It does not focus with Ultra Wide Angle Lens
Replies: 16
Views: 4507

Re: It does not focus with Ultra Wide Angle Lens

I will tell our CM to check the wide angle lens fits on all new units.
by kwagyeman
Wed Jun 05, 2019 4:53 pm
Forum: Technical Discussion
Topic: OSError: failed to init WINC1500 module
Replies: 16
Views: 1430

Re: OSError: failed to init WINC1500 module

Hi, are the connectors on the camera soldered on?
by kwagyeman
Tue Jun 04, 2019 7:55 pm
Forum: Technical Discussion
Topic: how to capture an image when an external trigger arised
Replies: 12
Views: 4539

Re: how to capture an image when an external trigger arised

Can you repost your code with code tags? Also, I notice you are not using global in your callback method. Python methods do not have scope of variables like C unless you say a variable is global before hand. def callback (line): cap = 1 Is not valid python code. You have to do: def callback (line): ...
by kwagyeman
Tue Jun 04, 2019 7:53 pm
Forum: Technical Discussion
Topic: uart request / response snapshot
Replies: 3
Views: 659

Re: uart request / response snapshot

Hi, I can't really give you all the code you need but I can point you to the right direction. import pyb, sensor, image sensor.reset() sensor.set_frame_size(sensor.QVGA) sensor.set_pixformat(sensor.RGB565) uart = pyb.UART(3, 115200, timeout_char=1000) while true: if uart.any(): if uart.read(1) == 'p...
by kwagyeman
Tue Jun 04, 2019 5:51 pm
Forum: Technical Discussion
Topic: OPENMV H7 stopped working
Replies: 7
Views: 994

Re: OPENMV H7 stopped working

Um, you might have put a script on the card that bricks the camera. Since we start running any code on the SD card you can call stuff that causes the camera to crash. What kinda of program did you have in the SD card?
by kwagyeman
Tue Jun 04, 2019 3:49 pm
Forum: Technical Discussion
Topic: OPENMV H7 stopped working
Replies: 7
Views: 994

Re: OPENMV H7 stopped working

Hi, it can you load an example that blinks an LED on an SD card and attach it to the camera? The hardware doesn't trivially break. It could be the USB cable or the connector on the camera breaking for some reason.

We have dev units that we've been flashing and programming a lot without issue.
by kwagyeman
Tue Jun 04, 2019 12:24 pm
Forum: General Topics
Topic: Do i have to skipframe if i change format or frame size without ressetting ?
Replies: 3
Views: 618

Re: Do i have to skipframe if i change format or frame size without ressetting ?

There's no real certainty other than waiting enough time for the camera to stabilize. The OmniVision cameras are designed for cell phones so they offer no values for how long things take to stabilize. Please use the global shutter sensor if you want precision.
by kwagyeman
Tue Jun 04, 2019 12:23 pm
Forum: Technical Discussion
Topic: Precision of RGB Gain
Replies: 4
Views: 845

Re: Precision of RGB Gain

Hi, I turned the values into db because they are unitless otherwise and mean different things on every camera. Please do not expect the values to 100% matchup always for writing and reading. There is quite a bit of precision loss because of how the conversion step works. Please see the C code for wh...
by kwagyeman
Tue Jun 04, 2019 12:21 pm
Forum: Technical Discussion
Topic: set gain ceiling
Replies: 4
Views: 764

Re: set gain ceiling

The ceiling is how much the auto algorithm goes up too.
by kwagyeman
Mon Jun 03, 2019 12:11 pm
Forum: General Topics
Topic: Do i have to skipframe if i change format or frame size without ressetting ?
Replies: 3
Views: 618

Re: Do i have to skipframe if i change format or frame size without ressetting ?

If you don't the camera output is garbage for a while. So, you will experience bad frames.
by kwagyeman
Mon Jun 03, 2019 1:54 am
Forum: Project Discussion
Topic: Is OpenMV Right For: Object Counting & Market Rotation Detection
Replies: 6
Views: 718

Re: Is OpenMV Right For: Object Counting & Market Rotation Detection

Yep, you just need to make sure you have plenty of contrast. Note that grey metal on a white surface is not contrast. Grey metal on blue would be contrast.
by kwagyeman
Sun Jun 02, 2019 2:36 pm
Forum: Project Discussion
Topic: Is OpenMV Right For: Object Counting & Market Rotation Detection
Replies: 6
Views: 718

Re: Is OpenMV Right For: Object Counting & Market Rotation Detection

Yes, that's super easy. This is exactly what our system is designed to do. Um, you'd want to just track the white lines. Not the colors. But, if you track the white you will get the position of each arrow along with rotation from 0-180 degrees (not 360 degrees however). You will have to do something...
by kwagyeman
Sun Jun 02, 2019 1:58 am
Forum: Technical Discussion
Topic: Heap Memory Error problem.
Replies: 4
Views: 3152

Re: Heap Memory Error problem.

Hi, there's no way to fix the file creation issue. That's due to how modern OSes work.

As for the face database, I don't know exactly how to help here. It really depends on your matching method. You need to have a classifier that returns an "I don't know value".
by kwagyeman
Sun Jun 02, 2019 1:56 am
Forum: Project Discussion
Topic: Is OpenMV Right For: Object Counting & Market Rotation Detection
Replies: 6
Views: 718

Re: Is OpenMV Right For: Object Counting & Market Rotation Detection

Hi, we have a pretty robust color tracking system with lots of measurements for blobs of a certain color. E.g. rotation , size, and position of blobs. Do the objects you are looking at have a high contrast with the background?
by kwagyeman
Fri May 31, 2019 1:46 am
Forum: Technical Discussion
Topic: Wireless TV Shield Interupts the UART(3) Receiving Data
Replies: 4
Views: 639

Re: Wireless TV Shield Interupts the UART(3) Receiving Data

Hmm, yeah, it probably takes longer than the serial buffer has time to buffer data for before needing to be serviced by the CPU.
by kwagyeman
Thu May 30, 2019 5:07 pm
Forum: General Topics
Topic: Camera FOV
Replies: 7
Views: 978

Re: Camera FOV

Oh, that text might be outdated.
by kwagyeman
Thu May 30, 2019 5:06 pm
Forum: General Topics
Topic: Camera FOV
Replies: 7
Views: 978

Re: Camera FOV

There's a specs table on each lens product page that has info like: Specifications Focal Length12mm ApertureF2.0 Format1/3" MountM12*0.5 FOVH = 18.8°, VFOV = 14.0° IR Cut Filter650nm (removable) Weight4g Length14mm Width14mm Height15mm The above is for the telephoto lens. There's a table link this o...
by kwagyeman
Thu May 30, 2019 3:55 pm
Forum: General Topics
Topic: Camera FOV
Replies: 7
Views: 978

Re: Camera FOV

On the bottom of the product page for the H7 there's a table with system specs. This lists the lens FoV.
by kwagyeman
Thu May 30, 2019 3:25 pm
Forum: General Topics
Topic: Camera FOV
Replies: 7
Views: 978

Re: Camera FOV

This is listed on the website product pages for each lens and and the OpenMV Cam H7 camera.
by kwagyeman
Thu May 30, 2019 3:24 pm
Forum: Project Discussion
Topic: Detect a candle fire using OpenMV H7 and FLIR
Replies: 13
Views: 5016

Re: Detect a candle fire using OpenMV H7 and FLIR

Yes, the standard lens mount you have should work with the ultra wide angle lens. It's just that we use really cheap lens mounts which aren't to spec always.

Go to advanced search