Search found 16 matches

by Isperia
Wed Sep 02, 2020 4:03 pm
Forum: Technical Discussion
Topic: corners as roi
Replies: 3
Views: 51

Re: corners as roi

i understand that it is possible to draw such a rectangle, though - could i create a mask and use that to determine my roi?
thanks
by Isperia
Mon Aug 31, 2020 5:38 pm
Forum: Technical Discussion
Topic: corners as roi
Replies: 3
Views: 51

corners as roi

Hi,
is it possible to give a function (like find_blobs) a ROI that is in the form of corners, or any other shape that is not a horizontal/vertical rectangle?
Thanks
by Isperia
Tue Aug 11, 2020 5:23 pm
Forum: Technical Discussion
Topic: Blob Outlines
Replies: 1
Views: 47

Blob Outlines

Hi,
is it possible to find the outline of a blob? ie, not the bounding box, but rather all of the outermost pixels in the blob?
Thanks
by Isperia
Fri Jul 31, 2020 6:36 pm
Forum: General Topics
Topic: Blob Detection Wrap
Replies: 3
Views: 72

Re: Blob Detection Wrap

Real setup, camera view and logpolar view are attached. As you can see in the annotations on the log polar image, the blue is split in two. Is there any way to avoid this? I can only see two ways: moving the seam(perhaps by rotating the image before applying the filter) or by allowing blob detection...
by Isperia
Thu Jul 30, 2020 6:47 pm
Forum: General Topics
Topic: Blob Detection Wrap
Replies: 3
Views: 72

Blob Detection Wrap

I was testing the lin and log polar again. My apologies to @kwagyeman, I did not properly understand it, which is why I did not think it would work. However, using it with the reverse argument set to False returns an image with a seam since I am using the conic omnidirectional mirror, and since the ...
by Isperia
Mon Jul 20, 2020 2:38 pm
Forum: Technical Discussion
Topic: New firmware runs out of frame buffer stack more easily
Replies: 2
Views: 73

New firmware runs out of frame buffer stack more easily

Hi, I wrote some code before 3.6.6, and it worked. Now, it keeps getting MemoryErrors at QVGA for img.lens_corr(strength = 8, zoom = 0.55, xcorr=30, ycorr=40).gamma_corr(gamma = GAM_COR, contrast = CONTR_COR, brightness = BRIGHT_COR).cartoon(seed_threshold=0.08, floating_thresholds=0.12). Have any c...
by Isperia
Mon Jun 22, 2020 10:16 am
Forum: General Topics
Topic: New Cameras
Replies: 1
Views: 128

New Cameras

I was in the docs and noticed some new sensor modules. Does this mean that openmv will soon run on Portenta H7, and that there will be an OpenMV cam micro?
*I am excited*
Thanks
by Isperia
Tue Apr 21, 2020 4:56 pm
Forum: Technical Discussion
Topic: specific application of gaussian
Replies: 1
Views: 756

specific application of gaussian

Hey! I'm writing an application that benefits immensely from high level gaussian filters. However, because of the computational load of that filter, I want to apply it in only a specific area of interest. Since it appears that the img.gaussian() doesn't take a roi argument, how do I generate a mask ...
by Isperia
Fri Apr 10, 2020 9:23 pm
Forum: Technical Discussion
Topic: Local Testing
Replies: 4
Views: 850

Re: Local Testing

Yeah, I might look into implementing that myself. In the end, I'll probably just end up using standard python image libraries to test those algorithms. I'll post here if I do end up building anything semi-useful!
by Isperia
Fri Apr 10, 2020 11:24 am
Forum: Technical Discussion
Topic: Local Testing
Replies: 4
Views: 850

Local Testing

Is it possible to run OpenMV code locally on a PC on a stored dataset to test how it works at high speed, instead of having to use real time data at camera processing speed? I specifically want to iterate different algorithmic options on a dataset with a few hundred test cases to try to optimize spe...
by Isperia
Sat Mar 21, 2020 2:04 pm
Forum: General Topics
Topic: Multicolor Blob Codes
Replies: 1
Views: 1085

Multicolor Blob Codes

Hi!
it looks like I'll have to track blobs that contain multiple colors for my project. I was looking at the example code, and could not figure out why the blob codes are the numbers that they are.
If I were to pass 4 thresholds, what blob.code() numbers would the combinations be assigned?
Thanks
by Isperia
Sat Mar 14, 2020 4:13 pm
Forum: Project Discussion
Topic: Display Splitting
Replies: 1
Views: 1555

Display Splitting

Hi! For my project it has become necessary to aim the camera. For this reason, I would like to take two fragments of the standard QVGA frame and display them together on the LCD shield. they are each 128x80 pixels, so together make up the necessary QQVGA2. How do I pass arguments to sensor.snapshot(...
by Isperia
Thu Feb 27, 2020 11:32 am
Forum: Technical Discussion
Topic: External Interrupt Send
Replies: 0
Views: 2556

External Interrupt Send

Hi! Is there any limit on what functions can be called on an ExtInt callback? my code specifically involves sending an array over I2C on a pin getting pulled low here's the code: import sensor, image, time, math, ustruct import pyb from pyb import UART #if switch on: # enemycolor = blue #else: # ene...
by Isperia
Sat Feb 08, 2020 12:42 pm
Forum: Technical Discussion
Topic: Code Splitting
Replies: 3
Views: 1193

Re: Code Splitting

Hi! My goal detection is working pretty well, but to eliminate random colors that happen to be the same as the goal, I was thinking of combining detection with some kind of shape recognition. Is there any way to do this other than a Haar Cascade? I'm hesitant to use the Cascade because the size of t...
by Isperia
Mon Jan 13, 2020 3:01 pm
Forum: Technical Discussion
Topic: Code Splitting
Replies: 3
Views: 1193

Code Splitting

Hey, it's me again. A teammate is pestering me, and I don't think it's possible, but is there a way to split code on OpenMV? For instance, could I define subfunctions in separate files from the one I'm running? Thanks P.S. said teammate now thinks it might be useful to integrate an uncertainty facto...
by Isperia
Fri Dec 27, 2019 11:45 am
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 11
Views: 3524

Re: Standard Lens FOV

How would I do that individual pixel get and set? The reason is that I'm trying to make the camera set its thresholds based on goals which have set positions, but because of changing lighting conditions hard-coding threshold numbers is risky. Thanks! edit: also, the library import does not seem to b...

Go to advanced search