Search found 4458 matches

by kwagyeman
Fri Sep 11, 2020 1:46 pm
Forum: General Topics
Topic: Windows 10 not recognizing Openmv
Replies: 5
Views: 2082

Re: Windows 10 not recognizing Openmv

I've seen issues like this. Typically, when I've seen it on my laptop its because of my Pluggable USB-C HUB. Its... glitchly sometimes.
by kwagyeman
Fri Sep 11, 2020 1:32 am
Forum: Technical Discussion
Topic: Problems with counting time intervals & SD performance
Replies: 11
Views: 157

Re: Problems with counting time intervals

Please post code using the code tag. Then formatting is kept. Please use the pyb module .mills() to get the milliseconds. ticks_ms() is for the fps counter. It's not keeping track of time. Regarding SD write performance. There's margin on our end to improve that. Also, use bigger blocks of data. Lik...
by kwagyeman
Fri Sep 11, 2020 1:30 am
Forum: Technical Discussion
Topic: send person_detection result to arduino error
Replies: 13
Views: 169

Re: send person_detection result to arduino error

Okay, I pushed a released. Arduino will pick it up in about 2 hours: https://github.com/openmv/openmv-arduino-rpc/releases
by kwagyeman
Fri Sep 11, 2020 12:55 am
Forum: Technical Discussion
Topic: send person_detection result to arduino error
Replies: 13
Views: 169

Re: send person_detection result to arduino error

Hi, I'll update the library tomorrow morning and test compile with the ESP8266 and ESP32.

I have to add some ifdefs.

I'll let you know when I'm done.
by kwagyeman
Thu Sep 10, 2020 11:25 pm
Forum: Technical Discussion
Topic: send person_detection result to arduino error
Replies: 13
Views: 169

Re: send person_detection result to arduino error

Mmm, what architecture are you using? I've tested compile for the AVR and ARM Cortex M3 (Arduino offical boards) Are you using the ESP32? If so, you might need to ifdef out some of the interfaces in the library. You can just remove those interfaces. Both the class in the header and in the source file.
by kwagyeman
Thu Sep 10, 2020 2:01 pm
Forum: Technical Discussion
Topic: send person_detection result to arduino error
Replies: 13
Views: 169

Re: send person_detection result to arduino error

Install the openmv rpc library on Arduino. Open up the examples, see the popular features example, follow the instructions in the example. Run the corresponding script on the OpenMV Cam, and things will work. You don’t have to do any coding.
by kwagyeman
Thu Sep 10, 2020 12:34 pm
Forum: Technical Discussion
Topic: send person_detection result to arduino error
Replies: 13
Views: 169

Re: send person_detection result to arduino error

Use our interface library. We just released on for the Arduino. It literally comes with example code for this.
by kwagyeman
Thu Sep 10, 2020 10:35 am
Forum: Project Discussion
Topic: Gender Recognition with OpenMV H7
Replies: 2
Views: 88

Re: Gender Recognition with OpenMV H7

Another user had this exact same problem. You need to quantize all layers of the model.

viewtopic.php?f=6&t=2036#p12299
by kwagyeman
Thu Sep 10, 2020 1:02 am
Forum: Technical Discussion
Topic: Maximum size of tflite model on Cam H7
Replies: 3
Views: 66

Re: Maximum size of tflite model on Cam H7

Yeah, you have to disable things in the firmware to fit.
by kwagyeman
Thu Sep 10, 2020 1:01 am
Forum: Technical Discussion
Topic: ADC data plot
Replies: 5
Views: 124

Re: ADC data plot

Yep, you can.

Go to tools->Open Terminal.

The you can send the script to the pyboard after connecting to it via the buttons on the top bar of the terminal.
by kwagyeman
Wed Sep 09, 2020 12:01 pm
Forum: Technical Discussion
Topic: Not recognizing MicroSD Card
Replies: 1
Views: 42

Re: Not recognizing MicroSD Card

Uh, yeah, the card is not detected. The issue you are getting is that you are trying to write an image that's more than 100kb to the internal flash drive.

Mmm, some SD cards randomly don't work. But, the type is supported. I would suggest to try a different card... or reformat the card.
by kwagyeman
Wed Sep 09, 2020 1:21 am
Forum: General Topics
Topic: KLT (Lucas-Kanade) Feature tracking
Replies: 3
Views: 67

Re: KLT (Lucas-Kanade) Feature tracking

Yeah, you don’t really have to know much about embedded code. You just have to be able to write C.
by kwagyeman
Tue Sep 08, 2020 9:24 pm
Forum: Technical Discussion
Topic: Advice on "Flash photography in the dark"?
Replies: 1
Views: 47

Re: Advice on "Flash photography in the dark"?

Yeah, ajacobs (https://forums.openmv.io/viewtopic.php?f=6&t=2011) basically figured out how to force the camera settings to be what he wants instantly. Um, you should look at the sensor data sheet. There's a few registers you can read that give you the YAVG and GAIN settings which you can use to get...
by kwagyeman
Tue Sep 08, 2020 9:21 pm
Forum: General Topics
Topic: KLT (Lucas-Kanade) Feature tracking
Replies: 3
Views: 67

Re: KLT (Lucas-Kanade) Feature tracking

It can be done... but, me and Ibrahim have soooooooooooooooo many other things to do that this isn't likely to get worked on. If you really want to see it happen you should find the C code for it and try to integrate it yourself. Assuming a C library exists that takes in a grayscale image... then th...
by kwagyeman
Tue Sep 08, 2020 6:44 pm
Forum: Technical Discussion
Topic: Camera Module Extension Cable Not Working
Replies: 4
Views: 65

Re: Camera Module Extension Cable Not Working

Mmm, I'll ask SingTown to test the cables we buy. We don't make them. We just resell.
by kwagyeman
Tue Sep 08, 2020 1:10 pm
Forum: Technical Discussion
Topic: img-chars74k.network network module missing,
Replies: 12
Views: 3976

Re: img-chars74k.network network module missing,

Hi, we moved to TensorFlow and have discontinued support of this module. If you want to recognize characters just collect a dataset of them and use edge impulse to train a CNN for this. It only takes 15-30 minutes and it's much better than using a large network that is not targeted at your applicati...
by kwagyeman
Sun Sep 06, 2020 11:01 am
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 51
Views: 1052

Re: OpenMV as Autoguider for astrophotography?

The STM32H7 supports 2 USB ports. I would design a new board using the second USB port and leave the first untouched. This way you don’t have to deal with the changes.

Those are the two events. Everything else is from the script itself.
by kwagyeman
Sat Sep 05, 2020 10:44 pm
Forum: Technical Discussion
Topic: ADC data plot
Replies: 5
Views: 124

Re: ADC data plot

Yes, you just need to read the ADC and then do set_pixel(). You can plot the data like an oscope.

Just do img.clear() to blank the screen buffer.
by kwagyeman
Sat Sep 05, 2020 12:43 pm
Forum: Technical Discussion
Topic: Error while using tf.load on custom tflite model
Replies: 3
Views: 91

Re: Error while using tf.load on custom tflite model

Glad to hear it’s working!
by kwagyeman
Sat Sep 05, 2020 12:42 pm
Forum: Technical Discussion
Topic: Resize the image to give it as an input to neural network
Replies: 1
Views: 45

Re: Resize the image to give it as an input to neural network

Our TF module takes cares of all these details for you. You just need to load the network and run it. 1. Out TF module does this, it will crop and scale the input image to whatever the network takes while maintaining aspect ratio. 2. Our TF module scales the inputs and outputs of the network to be w...
by kwagyeman
Fri Sep 04, 2020 3:35 pm
Forum: Technical Discussion
Topic: Error while using tf.load on custom tflite model
Replies: 3
Views: 91

Re: Error while using tf.load on custom tflite model

As the error says it’s not supported. Please use Edge Impulse to train TensorFlow models. They have the complete tool chain setup to make this easy. TF lite micro doesn’t support everything desktop tf lite supports. If you look at the code in that file you may be able to determine what layer is wrong.
by kwagyeman
Fri Sep 04, 2020 1:13 pm
Forum: Technical Discussion
Topic: Firmware update using python script
Replies: 3
Views: 81

Re: Firmware update using python script

You can't flash the STM32H743 with SDRAM via DFU. ST changed the bootloader hard flashed into the chip and broke all tooling. There's no fix for this. No DFU tools work anymore to load the whole firmware. You can only flash the bootloader (bootloader.dfu) then after that you need to use our bootload...
by kwagyeman
Thu Sep 03, 2020 8:35 pm
Forum: General Topics
Topic: Extracting the pixel value of the image
Replies: 10
Views: 259

Re: Extracting the pixel value of the image

And the error message is and the line it's from?
by kwagyeman
Wed Sep 02, 2020 4:49 pm
Forum: Technical Discussion
Topic: corners as roi
Replies: 3
Views: 60

Re: corners as roi

I guess also.
by kwagyeman
Tue Sep 01, 2020 7:20 pm
Forum: Technical Discussion
Topic: Defect Pixel Correction
Replies: 0
Views: 42

Defect Pixel Correction

This got solved in an email thread... so, posting the results here: # DEFECT PIXEL CORRECTION FOR GLOBAL SHUTTER MODULE import sensor, image, time def defect_pixel_correction(img, point_list): """ Input is an image object 'img' and a list of points [(x,y),(x,y),etc.] """ for p in point_list: val_lis...
by kwagyeman
Tue Sep 01, 2020 7:04 pm
Forum: Project Discussion
Topic: OpenMV as Autoguider for astrophotography?
Replies: 51
Views: 1052

Re: OpenMV as Autoguider for astrophotography?

Hey, really great write up. I'm going to tweet it. Awesome work! Also, you are free to use our logos and etc. However, if you plan on selling the product you cannot use the logos in such a way that makes people think that your product is an official OpenMV product. ... Yes, moving the scripts to fla...
by kwagyeman
Tue Sep 01, 2020 2:16 pm
Forum: Technical Discussion
Topic: april tag size
Replies: 1
Views: 46

Re: april tag size

Um, so, you can scale the tag images the IDE generates to any size on a computer. The APrilTag function doesn't care. However, if you want to know the tag distance you have to know the tag size and some of the camera details like the camera pixel size. You cannot change the relative space of black a...
by kwagyeman
Tue Sep 01, 2020 2:09 pm
Forum: General Topics
Topic: Extracting the pixel value of the image
Replies: 10
Views: 259

Re: Extracting the pixel value of the image

Just iterate through the image and keep track of the minimum pixel value you see. If you keep the region of interest small the code will run decently fast.
by kwagyeman
Tue Sep 01, 2020 12:08 am
Forum: General Topics
Topic: is anybody aware of openMV-based projects making it to production?
Replies: 3
Views: 112

Re: is anybody aware of openMV-based projects making it to production?

Folks don’t share this information publicly really. Nor am I allowed to share such info online publicly either. That said, we want to have more business sales in the future and plan to improving board build quality and features for this. The price may go up... but, we should be able to make the syst...
by kwagyeman
Mon Aug 31, 2020 5:55 pm
Forum: General Topics
Topic: is anybody aware of openMV-based projects making it to production?
Replies: 3
Views: 112

Re: is anybody aware of openMV-based projects making it to production?

I've seen people take our design and remix it into products. E.g. you take the eagle files and build your own version.
by kwagyeman
Mon Aug 31, 2020 5:53 pm
Forum: Technical Discussion
Topic: corners as roi
Replies: 3
Views: 60

Re: corners as roi

Nope. However, you can use perspective correction to make something not in the shape of a box into the shape of a box. Please see the rotation_corr() method. Pass those points to it and then it will stretch the area inside your points to be a box. If you need to keep the source image intact make a c...
by kwagyeman
Mon Aug 31, 2020 3:15 pm
Forum: Technical Discussion
Topic: Software (bitbang) SPI Setup Error
Replies: 9
Views: 154

Re: Software (bitbang) SPI Setup Error

It might not be that flexible.

Our Arduino Interface Library is ready finally. You can use one to expand I/O now.
by kwagyeman
Sat Aug 29, 2020 11:33 am
Forum: General Topics
Topic: face mak detection with openmv
Replies: 4
Views: 137

Re: face mak detection with openmv

167ms is about 5 FPS.

The system is an MCU, not an application professor. Reduce the model size if you want it to go faster...
by kwagyeman
Fri Aug 28, 2020 1:52 pm
Forum: General Topics
Topic: face_detection Haar Cascade with an Ultra Wide Angle Lens
Replies: 1
Views: 56

Re: face_detection Haar Cascade with an Ultra Wide Angle Lens

Use the lens_corr() method to correct the image lines.
by kwagyeman
Fri Aug 28, 2020 11:10 am
Forum: General Topics
Topic: MAKING DIY OPENMV CAM
Replies: 5
Views: 147

Re: MAKING DIY OPENMV CAM

Our schematics for the H7 are open source. Please review them.
by kwagyeman
Fri Aug 28, 2020 11:08 am
Forum: Technical Discussion
Topic: Stream Images From Lepton 3.5 To Host
Replies: 2
Views: 82

Re: Stream Images From Lepton 3.5 To Host

Yes, use the interface library on github. There’s extensive documentation.

There’s literally a steaming image example.
by kwagyeman
Thu Aug 27, 2020 11:13 am
Forum: General Topics
Topic: limit space in drive
Replies: 3
Views: 94

Re: limit space in drive

You put the network on an SD card.
by kwagyeman
Thu Aug 27, 2020 11:12 am
Forum: General Topics
Topic: Extracting the pixel value of the image
Replies: 10
Views: 259

Re: Extracting the pixel value of the image

get_pixel()

Will give you the price results. It’s just slow in python. If you want to do pixel level stuff use C code.

Or, use our library methods which likely do what you need.
by kwagyeman
Thu Aug 27, 2020 11:10 am
Forum: Technical Discussion
Topic: Software (bitbang) SPI Setup Error
Replies: 9
Views: 154

Re: Software (bitbang) SPI Setup Error

Just set a baudrate and the code will try to match it. The internal SPI bus has a 160MHz clock. Max is 80,40,20,10,5,etc.

Software is based on nanosecond delays, since it’s not banged there’s no rate per say. You can put in a large number and it will try to go fast.
by kwagyeman
Wed Aug 26, 2020 4:47 pm
Forum: General Topics
Topic: QVGA has weird purple splotches on new H7 Plus
Replies: 8
Views: 1289

Re: QVGA has weird purple splotches on new H7 Plus

Hi, you have the wrong firmware on the camera. You need to manually load the OPENMV4P firmware from here: https://github.com/openmv/openmv/releases/tag/v3.6.7

Use the Tools->Run Bootloader and select the firmware.bin file in the OPENMV4P folder.
by kwagyeman
Wed Aug 26, 2020 11:43 am
Forum: Technical Discussion
Topic: Software (bitbang) SPI Setup Error
Replies: 9
Views: 154

Re: Software (bitbang) SPI Setup Error

You need to import machine and then use SPI. It’s a different module.
by kwagyeman
Wed Aug 26, 2020 2:30 am
Forum: Technical Discussion
Topic: BUG with 4P ex-ram saving image
Replies: 1
Views: 55

Re: BUG with 4P ex-ram saving image

Code? Please post the smallest snippet That causes the problem with code tags.
by kwagyeman
Tue Aug 25, 2020 9:02 pm
Forum: Technical Discussion
Topic: Software (bitbang) SPI Setup Error
Replies: 9
Views: 154

Re: Software (bitbang) SPI Setup Error

Hmm,

I'm not sure why this isn't working.

Ibrahim?
by kwagyeman
Tue Aug 25, 2020 5:44 pm
Forum: Technical Discussion
Topic: Printout from find_rects()
Replies: 3
Views: 71

Re: Printout from find_rects()

Next firmware release. But, you’d be better off to compile the firmware and fix it yourself. This is not a high pri issue to me.
by kwagyeman
Tue Aug 25, 2020 2:51 pm
Forum: Technical Discussion
Topic: NEOPIXEL AS A LED RING LIGHT
Replies: 15
Views: 4455

Re: NEOPIXEL AS A LED RING LIGHT

Let's just try to get the SPI hardware working like you need: https://www.st.com/resource/en/reference_manual/dm00314099-stm32h742-stm32h743-753-and-stm32h750-value-line-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdf See page 2180. Here's the SPI code: https://github.com/openmv/micropython/bl...
by kwagyeman
Tue Aug 25, 2020 12:46 pm
Forum: Technical Discussion
Topic: Firmware update using python script
Replies: 3
Views: 81

Re: Firmware update using python script

We need to make a script for this... but, right now there isn't one. You have to copy what the IDE does from the IDE source code right now.
by kwagyeman
Tue Aug 25, 2020 11:46 am
Forum: General Topics
Topic: How to send the original data of the lepton camera through WiFi instead of just sending a JPG image
Replies: 5
Views: 121

Re: How to send the original data of the lepton camera through WiFi instead of just sending a JPG image

Hi, we had a customer in another thread dig deep into the accuracy of the jpeg image. And... he found its fine. Just send the grayscale jpeg image in measurement mode to the PC and then the min and max temperatures. With that you can undo the scaling on the image and get the temperature per pixel. S...
by kwagyeman
Mon Aug 24, 2020 11:40 pm
Forum: Technical Discussion
Topic: Printout from find_rects()
Replies: 3
Views: 71

Re: Printout from find_rects()

Weird, I thought I disabled all strings in the AprilTags code. It should print nothing.

Please create a bug tracker on GitHub.

Go to advanced search