Search found 3837 matches

by kwagyeman
Sun Mar 22, 2020 11:12 am
Forum: Project Discussion
Topic: Multiple Cameras Triangulation
Replies: 3
Views: 242

Re: Multiple Cameras Triangulation

Hi, just print the blob you are tracking with print(). Then I'm Matlab open the serial port of each OpenMV Cam and you will see that print data coming out the serial port.

You just need to save the script to the camera once you've finished it in OpenMV IDE.
by kwagyeman
Sat Mar 21, 2020 7:14 pm
Forum: Technical Discussion
Topic: New to OPENMV, How far away do I place my CAM?
Replies: 2
Views: 190

Re: New to OPENMV, How far away do I place my CAM?

Hi, see this: https://www.edmundoptics.com/knowledge- ... d-of-view/

Then for the camera sensor size see the OV7725 data sheet and see the OpenMV Cam H7 product page for the lens focal length.
by kwagyeman
Fri Mar 20, 2020 1:58 pm
Forum: Technical Discussion
Topic: Connect another CMOS global shutter matrix to OpenMV H7
Replies: 6
Views: 353

Re: Connect another CMOS global shutter matrix to OpenMV H7

RSVD1...RSVD5 are for future MIPI cameras.
by kwagyeman
Fri Mar 20, 2020 1:58 pm
Forum: Technical Discussion
Topic: UART automatic baud rate detection
Replies: 4
Views: 251

Re: UART automatic baud rate detection

Hi, you can use the stm module to access registers and memory directly in MicroPython. This will allow you to turn on this feature in the ST HAL. That said, its literally going to involve you manually accessing memory addresses and read/writing register bits.
by kwagyeman
Fri Mar 20, 2020 1:56 pm
Forum: Project Discussion
Topic: a laser detection project i need help with
Replies: 9
Views: 1061

Re: a laser detection project i need help with

Hi, you have to code up filtering algorithms now. 1st: To track just the laser spot you need to filter blobs that don't match your expected size. For example, print out the attributes (just do print(blob)) of the blob that's the laser spot and then reject blobs that aren't near the same parameters. ...
by kwagyeman
Thu Mar 19, 2020 12:18 pm
Forum: Project Discussion
Topic: a laser detection project i need help with
Replies: 9
Views: 1061

Re: a laser detection project i need help with

What's the particular problem? The laser spit is not detected all the time? If so, you have to widen your thresholds. If this makes it hard to detect the laser only then you have to try more advanced image processing than only just color tracking. Can you give an example image of the scene?
by kwagyeman
Thu Mar 19, 2020 12:16 pm
Forum: General Topics
Topic: how use python code read video, not use openide
Replies: 7
Views: 948

Re: how use python code read video, not use openide

Hi, this is an Ibrahim question. Note that the UVC firmware isn't really that supported. We did it because a customer thought it would be a cool idea. However, UVC doesn't have a JPEG stream option so it's hard to send lots of data over USB with it.
by kwagyeman
Tue Mar 17, 2020 12:28 pm
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 580

Re: Memory Error, out of fast Frame Buffer Stack - H7

Hi, you need to install the latest firmware to run that model. Which... might not have been released yet. If you can compile the firmware for the H7 and install it you should be good to go. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/kernels/all_ops_resolver.cc#L21 We ...
by kwagyeman
Mon Mar 16, 2020 10:04 pm
Forum: Technical Discussion
Topic: Memory Error, out of fast Frame Buffer Stack - H7
Replies: 7
Views: 580

Re: Memory Error, out of fast Frame Buffer Stack - H7

It doesn't even work on the H7 Plus anymore. Google broke Mobilenet support with their recent updates to TensorFlow. We are waiting for a fix.
by kwagyeman
Sun Mar 15, 2020 6:36 pm
Forum: Technical Discussion
Topic: Can we do solvePnP on OpenMV?
Replies: 1
Views: 333

Re: Can we do solvePnP on OpenMV?

We spit out the tag x/y/z translation from the camera along with the rotation. Please use these values to get where the camera is.
by kwagyeman
Sun Mar 15, 2020 12:35 pm
Forum: Technical Discussion
Topic: How to covert image data to string
Replies: 1
Views: 311

Re: How to covert image data to string

compress() on the image. It's then a jpg byte string. If you want the image in a string with an rgb value per byte you can manually write python code to access each pixel and spit out text.
by kwagyeman
Sat Mar 14, 2020 5:21 pm
Forum: Project Discussion
Topic: Display Splitting
Replies: 1
Views: 305

Re: Display Splitting

Hi, you should just crop the image afterwards using the crop method. Alternatively, use the set_windowing() method in the firmware to limit the image window.
by kwagyeman
Sat Mar 14, 2020 2:12 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 1229

Re: Couple questions about the H7

The code on the PC side to read data doesn't have any concept of data framing. It just grabs whatever data has been received and then processes that. Which means you have no idea how many packets you grabbed in one go and etc. So, when you are trying to parse the data you have no idea what's at the ...
by kwagyeman
Sat Mar 14, 2020 12:24 pm
Forum: Project Discussion
Topic: a laser detection project i need help with
Replies: 9
Views: 1061

Re: a laser detection project i need help with

Hi, you can use the Threshold Editor under tools -> Machine vision to get the lab color thresholds of an object.
by kwagyeman
Sat Mar 14, 2020 12:23 pm
Forum: General Topics
Topic: How to mirror horizontally the image from the MLX90640 sensor?
Replies: 5
Views: 920

Re: How to mirror horizontally the image from the MLX90640 sensor?

You'd want to use the rotation correction algorithm to change the image and then combine it with the image captured in the main frame buffer. Basically, do snapshot () with the mlx, then rotation correction(), then snapshot of the main camera, then draw with alpha blending the thermal image on the r...
by kwagyeman
Sat Mar 14, 2020 12:19 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 1229

Re: Couple questions about the H7

If you are getting weird bugs like that it's a programming error on the camera. The last user who had an issue like that was referencing objects that had gone out of scope and we're being garbage collected. I noticed you just do a general read all command on the PC side which isn't really the most r...
by kwagyeman
Sat Mar 14, 2020 11:42 am
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 1229

Re: Couple questions about the H7

Sending via json is the best method. Note that the str() representation of all OpenMV objects is valid json. You should just send json output and then decide that received json in the other program.
by kwagyeman
Fri Mar 13, 2020 12:58 pm
Forum: Technical Discussion
Topic: Problem with Focus
Replies: 3
Views: 520

Re: Problem with Focus

Hi, the lens holder being tight is a know issue on some cameras. We would normally ship a new lens mount to you but things are shutdown from the virus right now.

You can buy a replacement here: https://www.amazon.com/uxcell-Mount-Hol ... B00R1J42T8
by kwagyeman
Fri Mar 13, 2020 12:56 pm
Forum: General Topics
Topic: TFT LCD Screen module
Replies: 6
Views: 11463

Re: TFT LCD Screen module

Thanks for the library!
by kwagyeman
Fri Mar 13, 2020 11:01 am
Forum: General Topics
Topic: H7 Plus Lens question.
Replies: 1
Views: 437

Re: H7 Plus Lens question.

It's the same 2.8mm lens.
by kwagyeman
Tue Mar 10, 2020 4:06 pm
Forum: Technical Discussion
Topic: Interface Library Discussion
Replies: 12
Views: 1438

Re: Interface Library Discussion

Hi, I'm almost to working on this. I have some other things involving drivers to finish up first but I expect to begin in the last two weeks of March.
by kwagyeman
Tue Mar 10, 2020 12:14 am
Forum: Technical Discussion
Topic: Bilinear or Bicubic Interpolation?
Replies: 2
Views: 519

Re: Bilinear or Bicubic Interpolation?

I never had time to do any interpolation. I was thinking about doing it... but, it's not so simple to code and requires a lot more CPU time to do.

If you wanted to contribute some code for this that would make the feature come a lot faster.
by kwagyeman
Tue Mar 10, 2020 12:13 am
Forum: Technical Discussion
Topic: Number Recognition? Is it possible?
Replies: 6
Views: 3454

Re: Number Recognition? Is it possible?

Unless our code has changes the chars74k network we package with the IDE should still work. See the example under machine learning.
by kwagyeman
Tue Mar 10, 2020 12:12 am
Forum: Technical Discussion
Topic: Lepton camera image overlap
Replies: 1
Views: 390

Re: Lepton camera image overlap

Hi, I've only seen that when your shutter on your lepton sensor is broken. When the sensor does flat field correction FFC it closes the shutter, calculates the default temperature array the sensor sees, and then opens the shutter and subtracts that from the current image. Please check that the shutt...
by kwagyeman
Sun Mar 08, 2020 6:16 pm
Forum: Technical Discussion
Topic: OpenMV doesnt recognise my CAM H7
Replies: 9
Views: 891

Re: OpenMV doesnt recognise my CAM H7

We use an ST DFU tool which might be outdated now that ST switched to a different DFU tool. We will have a new version of the IDE come out with new DFU support using another program.
by kwagyeman
Sun Mar 08, 2020 6:14 pm
Forum: Technical Discussion
Topic: OpenMV doesnt recognise my CAM H7
Replies: 9
Views: 891

Re: OpenMV doesnt recognise my CAM H7

Okay, it should be recoverable. DFU might just not detect the camera... Sigh...

Download this program here: https://www.st.com/en/development-tools ... eprog.html

The install the attached file (unzip first)
by kwagyeman
Sat Mar 07, 2020 6:03 pm
Forum: Project Discussion
Topic: Project advice
Replies: 3
Views: 567

Re: Project advice

Ah, well, we have a person detection CNN onboard but... It would just trigger like the motion detector except only on people. If you want to track a persons movement that is harder.

I don't think we have what you need. You could use our system to hack together something that kinda of works however.
by kwagyeman
Sat Mar 07, 2020 11:56 am
Forum: Project Discussion
Topic: Project advice
Replies: 3
Views: 567

Re: Project advice

We have the ability to do frame differencing... But, I assume you want to use the camera outside right? If so, you probably want a much higher powered system than can run YOLO or etc.
by kwagyeman
Sat Mar 07, 2020 11:55 am
Forum: Technical Discussion
Topic: OpenMV doesnt recognise my CAM H7
Replies: 9
Views: 891

Re: OpenMV doesnt recognise my CAM H7

Okay, the DFU trick in the IDE is the only way to fix it. Can you Elaborate what doesn't work? If possible, you you use Windows? The DFU for windows is better than on Mac and Linux.
by kwagyeman
Sat Mar 07, 2020 3:04 am
Forum: Technical Discussion
Topic: getting started a new C language project
Replies: 1
Views: 445

Re: getting started a new C language project

You should use our code from GitHub. Please follow the wiki in GitHub for how to compile it. Click on the wiki tab on our GitHub.
by kwagyeman
Sat Mar 07, 2020 3:03 am
Forum: Technical Discussion
Topic: OpenMV doesnt recognise my CAM H7
Replies: 9
Views: 891

Re: OpenMV doesnt recognise my CAM H7

Do you get a green light still when you plug it into the PC. Or is it fully dead? No lights? Since you get something when you do the DFU trick it should be fixable.
by kwagyeman
Sat Mar 07, 2020 3:00 am
Forum: General Topics
Topic: H7 plus max video resolution
Replies: 1
Views: 551

Re: H7 plus max video resolution

Yep, it definitely can. Frame rate isn't going to be high however. We don't do a video fifo onboard. So, you will get jumps whenever the SD card erases a block to write data. That said, if you modify our firmware you can double buffer images to get past this issue in C. ... And if MicroPython ever g...
by kwagyeman
Sat Mar 07, 2020 2:58 am
Forum: General Topics
Topic: frame buffer
Replies: 3
Views: 723

Re: frame buffer

draw_image()?
by kwagyeman
Fri Mar 06, 2020 1:02 pm
Forum: Technical Discussion
Topic: Couple questions about the H7
Replies: 23
Views: 1229

Re: Couple questions about the H7

1) Just do Tools->Save script to OpenMV Cam . In the IDE.

2) when you print() the data is output to the serial port if any program opens the serial port.
by kwagyeman
Fri Mar 06, 2020 11:54 am
Forum: Technical Discussion
Topic: Letpon 3 vs Lepton 3.5
Replies: 2
Views: 460

Re: Letpon 3 vs Lepton 3.5

The Lepton 3.0 outputs an uncalibrated temperature image. If you try to use it the temperatures in the image will drift all over the place. Functional, it generates the same data formats as the 3.5 but the quality of the data isn't there.
by kwagyeman
Fri Mar 06, 2020 12:57 am
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 25
Views: 1580

Re: Timestamp filenames

I understand your pain. However, it wasn't a design goal. It can just do it. Sigh, so, the IDE could technically do this for you. It's not hard for us to add a command where the IDE tells the camera what time it is. If you would like this please add a bug in GitHub for it and it may be added. Note t...
by kwagyeman
Fri Mar 06, 2020 12:52 am
Forum: Technical Discussion
Topic: problems of OpenMV4Plus SDRAM
Replies: 1
Views: 465

Re: problems of OpenMV4Plus SDRAM

You have to use extra frame buffers. Please use the alloc_extra_fb() command to make another frame buffer and then use copy with the load_to_fb argument targeting the other frame buffer. This will allow you to make image copies. I updated the firmware last year such that for every command that creat...
by kwagyeman
Thu Mar 05, 2020 12:53 pm
Forum: Project Discussion
Topic: Optical Flow Melty Brain Robot
Replies: 2
Views: 481

Re: Optical Flow Melty Brain Robot

Hi, our servo module updates at 50 Hz because that's what servos expect. However, its all based on general purpose timers so you can make the freq anything you want by using the TIM module directly. As for tacking a snapshot every n cycles... You can configure a pin as an interrupt source and then i...
by kwagyeman
Thu Mar 05, 2020 12:49 pm
Forum: Project Discussion
Topic: a laser detection project i need help with
Replies: 9
Views: 1061

Re: a laser detection project i need help with

Hi, can you look at the examples included with OpenMV IDE? Please see the color tracking examples. For example, see the single color tracking example. This shows off how to use the method correctly.
by kwagyeman
Thu Mar 05, 2020 12:47 pm
Forum: Technical Discussion
Topic: Is it possible to run object recognition and classification tasks on OpenMV Cam H7?
Replies: 8
Views: 1230

Re: Is it possible to run object recognition and classification tasks on OpenMV Cam H7?

Hi, I honestly don't know how to get around the issue. We're working with TensorFlow lite people directly on getting more support for this. If possible, reach out to Daniel Situnayake. He left the TensorFlow lite team but was able to help us get the person detector working originally. Also, I think ...
by kwagyeman
Thu Mar 05, 2020 12:41 pm
Forum: General Topics
Topic: New H7 Plus and AprilTags
Replies: 4
Views: 578

Re: New H7 Plus and AprilTags

The SD card has nothing to do with internal RAM. Since we have 32 MB of RAM onboard you can really max the resolution for processing AprilTags as large as you want. The frame rate will fall as you do that however.
by kwagyeman
Thu Mar 05, 2020 12:15 am
Forum: General Topics
Topic: littlevgl and openmv
Replies: 2
Views: 507

Re: littlevgl and openmv

The Arduino H7 will support this I think... so, we probably will do so.
by kwagyeman
Wed Mar 04, 2020 12:43 pm
Forum: General Topics
Topic: How to mirror horizontally the image from the MLX90640 sensor?
Replies: 5
Views: 920

Re: How to mirror horizontally the image from the MLX90640 sensor?

Use the snapshot() method to get the thermal image from the sensor. Then use set(h_mirror=True) to mirror the image and then use the draw_image() method to overlay the image using an alpha blend.
by kwagyeman
Wed Mar 04, 2020 12:18 pm
Forum: Project Discussion
Topic: a laser detection project i need help with
Replies: 9
Views: 1061

Re: a laser detection project i need help with

Please use the find_blobs() method and tune the camera too look for red. As for driving the motors you just need to make a PID loop based on the blob centroid X and Y values.
by kwagyeman
Wed Mar 04, 2020 12:17 pm
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 25
Views: 1580

Re: Timestamp filenames

Hi, when using the VCP port you cannot use OpenMV IDE. How are you debugging the camera?
by kwagyeman
Tue Mar 03, 2020 11:02 am
Forum: Technical Discussion
Topic: Data back and # of frame to skip
Replies: 2
Views: 541

Re: Data back and # of frame to skip

If you change exposures blindly they may get pipelined. I.e. if you change the exposure every frame you'll see the effect start changing every frame in the future delayed by N number of frames. OmniVision doesn't publish this info on how this works. If you want precise control us the global shutter ...
by kwagyeman
Tue Mar 03, 2020 11:00 am
Forum: Technical Discussion
Topic: Data back and # of frame to skip
Replies: 2
Views: 541

Re: Data back and # of frame to skip

Hi, here's the code that sets the exposure: https://github.com/openmv/openmv/blob/master/src/omv/ov7725.c#L389 It doesn't skip frames... so, what you are seeing is called the pipe delay of the camera. Typically, register settings take a few frames to actually work their way to being used versus appl...

Go to advanced search