Search found 3045 matches

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: 98

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: 272

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: 10
Views: 1428

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: 10
Views: 1428

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: 10
Views: 1428

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: 10
Views: 1428

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: 1339

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: 1339

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: 195

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: 27394

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: 1339

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: 292

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: 169

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: 233

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: 233

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: 346

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: 326

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: 326

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: 3802

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: 451

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: 3931

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: 163

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: 346

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: 346

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: 168

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: 326

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: 148

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: 168

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: 300

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: 300

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: 2662

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: 300

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: 216

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: 364

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: 364

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: 364

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: 364

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: 4462

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.
by kwagyeman
Thu May 30, 2019 3:19 pm
Forum: General Topics
Topic: openCV openMV bridge
Replies: 1
Views: 148

Re: openCV openMV bridge

Package it all up nicely and I'll add it to the IDE as a submodule for everyone when the IDE is installed.
by kwagyeman
Thu May 30, 2019 11:05 am
Forum: Technical Discussion
Topic: Wireless TV Shield Interupts the UART(3) Receiving Data
Replies: 4
Views: 216

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

This is weird. Um, whats the data rate the data is received at? The tv.diplay() method uses SPI and disables interrupts for a while while sending data. Is the UART running very fast? Here's the display method: https://github.com/openmv/openmv/blob/master/src/omv/py/py_tv.c#L540 You aren't using pins...
by kwagyeman
Thu May 30, 2019 11:02 am
Forum: Project Discussion
Topic: Detect a candle fire using OpenMV H7 and FLIR
Replies: 13
Views: 4462

Re: Detect a candle fire using OpenMV H7 and FLIR

Hi, the polarizer goes under the lens mount. Please order a new lens mount. We have a stock of them that didn't come from the production run. Lens mounts are available on the store.
by kwagyeman
Wed May 29, 2019 1:45 pm
Forum: Project Discussion
Topic: Detect a candle fire using OpenMV H7 and FLIR
Replies: 13
Views: 4462

Re: Detect a candle fire using OpenMV H7 and FLIR

Hi, use the filter method in Python and filter out blobs returned that pass the maximum value you want to ignore. Find blobs returns a list of values. So, just inspect the pixel/area count per blob returned and ignore blobs that have too large a value.
by kwagyeman
Wed May 29, 2019 11:27 am
Forum: Technical Discussion
Topic: openmv camera and matlab
Replies: 3
Views: 2248

Re: openmv camera and matlab

Not really, I'm personally stretch beyond the point where I can provide code examples for everything anymore.

Um, do you know how to use a serial port in MATLAB? If so, our serial protocol is trival to implement.
by kwagyeman
Wed May 29, 2019 11:25 am
Forum: General Topics
Topic: Presenter for Dutch tech event
Replies: 1
Views: 2944

Re: Presenter for Dutch tech event

Too busy right now to send an email out. Please ping me on the weekend about this/
by kwagyeman
Wed May 29, 2019 11:24 am
Forum: General Topics
Topic: Problems with H7 on a Mac
Replies: 5
Views: 2022

Re: Problems with H7 on a Mac

Weird, we checked the case against about 25 different microusb brands.
by kwagyeman
Tue May 28, 2019 12:20 am
Forum: Technical Discussion
Topic: openmv camera and matlab
Replies: 3
Views: 2248

Re: openmv camera and matlab

Hi, openmv doens't directly have support for this but the camera is a serial port. You just have to open the serial port via matlab and you can see its data output.
by kwagyeman
Mon May 27, 2019 6:41 pm
Forum: General Topics
Topic: Problems with H7 on a Mac
Replies: 5
Views: 2022

Re: Problems with H7 on a Mac

Mmm, when you mention that the board doesn't mount on Mac do you mean that you don't see the flash drive appear and you can't connect via OpenMV IDE? If so, please check that you are using a USB cable with power + data. The flash drive always appears for every os. That is very stable code.
by kwagyeman
Mon May 27, 2019 4:05 pm
Forum: Technical Discussion
Topic: Remote Camera
Replies: 2
Views: 3047

Re: Remote Camera

I'd recommend the Pi to connect to the Web. We really don't have the best stuff for that as it isn't our focus. You can control the camera (multiples in fact) from the Pi.
by kwagyeman
Mon May 27, 2019 4:04 pm
Forum: Project Discussion
Topic: People & Face tracking Robot
Replies: 4
Views: 2521

Re: People & Face tracking Robot

Hi, I've been busy with emails everyday to work on the TF stuff. I completed the port but it's not super awesome yet. Google is working on making their code better. I hope to have more time to work on it in the next week.

Go to advanced search