Search found 3985 matches

by kwagyeman
Mon May 25, 2020 1:58 pm
Forum: Technical Discussion
Topic: OSError:Failed to init the MLX90640!
Replies: 1
Views: 12

Re: OSError:Failed to init the MLX90640!

Are your I2C wires hooked up correctly with Pull ups? Can you list how those are attached? Also, are you using the latest firmware?
by kwagyeman
Mon May 25, 2020 1:23 pm
Forum: Technical Discussion
Topic: Logging to USB serial from firmware
Replies: 5
Views: 330

Re: Logging to USB serial from firmware

You just do printf() in the code and it goes to the IDE. If you are inside of our TensorFlow library you have to do: error_reporter->Report()
by kwagyeman
Sun May 24, 2020 11:56 pm
Forum: General Topics
Topic: Power requirements confirmation
Replies: 4
Views: 133

Re: Power requirements confirmation

Sent you an email.
by kwagyeman
Sun May 24, 2020 2:16 pm
Forum: General Topics
Topic: Power requirements confirmation
Replies: 4
Views: 133

Re: Power requirements confirmation

Please write less dense forum posts. ;)

The specs are for the total system. The LCD shield draws only a few mA.
by kwagyeman
Sun May 24, 2020 2:03 am
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

New H7 Firmware.
by kwagyeman
Sun May 24, 2020 12:44 am
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

Hi, I was able to run your model. The model gets the correct result. But, the TensorFlow vector output is not the same. RAW Output = [0.5019608, 0.5019608, 0.5369792, 0.9202359, 0.5019608, 0.544761, 0.5019608, 0.5019608, 0.5019608, 0.5019608] After SoftMax = [0.09435112, 0.09435112, 0.09771368, 0.14...
by kwagyeman
Sat May 23, 2020 5:51 pm
Forum: Technical Discussion
Topic: Using binary function problem
Replies: 5
Views: 155

Re: Using binary function problem

It will be fixed.
by kwagyeman
Sat May 23, 2020 5:51 pm
Forum: Technical Discussion
Topic: Using binary function problem
Replies: 5
Views: 155

Re: Using binary function problem

Hi, this is an issue with the M7 JPEG compression. The actual frame buffer is fine. But, when being jpeg compressed there seems to be an error.
by kwagyeman
Sat May 23, 2020 1:42 pm
Forum: Project Discussion
Topic: Flat Field Correction
Replies: 4
Views: 1619

Re: Flat Field Correction

Thanks for posting that info kwiley. Note: divide() works like the photoshop divide. It's not a pure numerical divide: https://en.wikipedia.org/wiki/Blend_modes. It's done in a different way as just dividing one image by another would yield 0 for all pixels generally. https://github.com/openmv/openm...
by kwagyeman
Sat May 23, 2020 2:29 am
Forum: General Topics
Topic: BAYER: two questions
Replies: 4
Views: 191

Re: BAYER: two questions

Was it...I mean...are you implying you *reBayered* the RGB image? The ISPs on the camera sensors do a lot of color map processing and etc. Processed bayer is literally a re-bayered image. It's there for software compatibility since OnmiVision makes sensors for cellphone cameras. The RAW bayer image...
by kwagyeman
Sat May 23, 2020 12:37 am
Forum: Technical Discussion
Topic: Color bars test is failing on H7P (3.6.3)
Replies: 1
Views: 88

Re: Color bars test is failing on H7P (3.6.3)

I'll check.

You can ignore that error however. Our self-test just checks the color bars to make sure the camera is working.
by kwagyeman
Sat May 23, 2020 12:34 am
Forum: General Topics
Topic: BAYER: two questions
Replies: 4
Views: 191

Re: BAYER: two questions

The preview in the IDE is a JPG image. So, the software onboard debayers the image, then converts it to YUV (this is done in one step) and then jpg compresses it to send it to the IDE. The raw data matrix is in bayer however. So, none of our CV functions can read the image. The camera sensor outputs...
by kwagyeman
Fri May 22, 2020 4:15 pm
Forum: General Topics
Topic: SD card name reverts to NO NAME
Replies: 3
Views: 172

Re: SD card name reverts to NO NAME

It's not OpenMV.
by kwagyeman
Fri May 22, 2020 2:19 pm
Forum: Technical Discussion
Topic: H7 image "blown out" by IR LEDs
Replies: 5
Views: 200

Re: H7 image "blown out" by IR LEDs

People haven't really been complaining that much about it. Other things to fix, so, we don't worry about it.

Also, it's not really an easy to fix issue. The IR light easily goes right through material that looks opaque to visible light. Black electrical tape works if you need a quick solution.
by kwagyeman
Fri May 22, 2020 2:17 pm
Forum: General Topics
Topic: SD card name reverts to NO NAME
Replies: 3
Views: 172

Re: SD card name reverts to NO NAME

I think that's what most OSes just format a cards name to. You should be able to set the name again. When you format the file system is destroys the name of the card.
by kwagyeman
Fri May 22, 2020 2:13 pm
Forum: General Topics
Topic: SD card not recognized
Replies: 7
Views: 292

Re: SD card not recognized

I will update the docs to say SXDC are supported now. Note for video recording we do not have a video fifo onboard. While we can write 25 MB/s to the SD Card the SD Card will still randomly start erasing when you are writing to it and it's allowed to block for up to 500 ms per the SD Card spec. To b...
by kwagyeman
Fri May 22, 2020 12:36 am
Forum: General Topics
Topic: SD card not recognized
Replies: 7
Views: 292

Re: SD card not recognized

It could be many things. It's not the card size. Either the card has a difficult to talk to I/O layer and our driver just fails to get block access working or the file system is slightly weird. Question, I've seen it take a while to mount the card on windows when the card is heavily corrupted. Can y...
by kwagyeman
Fri May 22, 2020 12:34 am
Forum: Technical Discussion
Topic: H7 image "blown out" by IR LEDs
Replies: 5
Views: 200

Re: H7 image "blown out" by IR LEDs

I think it's a hardware issue related to IR light going through the bottom of the camera board into the bottom of the sensor. You can fix this by putting black electrical tape under the sensor. The M7 had a similar issue when sunlight hit the back of it. We had fixed that with a black sticker. But, ...
by kwagyeman
Fri May 22, 2020 12:28 am
Forum: Technical Discussion
Topic: WIFI shield vs ESP8266
Replies: 4
Views: 108

Re: WIFI shield vs ESP8266

No, it's just harder as you have to write your own protocol.
by kwagyeman
Thu May 21, 2020 8:06 pm
Forum: Technical Discussion
Topic: How to read A5 sheet with 7mm QR codes?
Replies: 1
Views: 54

Re: How to read A5 sheet with 7mm QR codes?

You need the OpenMV Cam H7 Plus. The AprilTag algorithm requires a lot of RAM. If you want VGA resolution you need 8MB of RAM to process that image. The OpenMV Cam H7 Plus has enough to do so. Note that FPS will only be 1. That said, it can do it however. Also, you can probably go up to SXGA before ...
by kwagyeman
Thu May 21, 2020 8:04 pm
Forum: General Topics
Topic: 940nm IR sensitivity?
Replies: 2
Views: 61

Re: 940nm IR sensitivity?

The data sheet for the MT9V034 (Global Shutter Module) has a plot of the sensitivity of the sensor given wavelength. Anyway, 940nm will work. It's just a range issue. You will need a bright light source.

Also, don't use an IR filter on the lens.
by kwagyeman
Thu May 21, 2020 8:01 pm
Forum: Technical Discussion
Topic: WIFI shield vs ESP8266
Replies: 4
Views: 108

Re: WIFI shield vs ESP8266

Once we finish our RPC library for the Arduino then you can use that to link COMs between the OpenMV Cam and the ESP8266/32. Larry already wrote some of the Arduino code... But, I need to debug it.

The WiFi shield does 15 Mb/s transmit.
by kwagyeman
Thu May 21, 2020 7:59 pm
Forum: General Topics
Topic: Global Shutter Module stock
Replies: 1
Views: 26

Re: Global Shutter Module stock

Money is tight. We just sold the last modules to SparkFun. They will start distributing some of our addons. Right now, we have a whole bunch in our Hong Kong warehouse I can't access. So, the plan is to wait until I can access our larger stock of them. The border between Hong Kong and Shenzhen has b...
by kwagyeman
Thu May 21, 2020 7:55 pm
Forum: Technical Discussion
Topic: Automatic reload of a trained model
Replies: 3
Views: 66

Re: Automatic reload of a trained model

You need to edit the firmware yourself.
by kwagyeman
Thu May 21, 2020 7:55 pm
Forum: Technical Discussion
Topic: Using binary function problem
Replies: 5
Views: 155

Re: Using binary function problem

Will test on the M7.
by kwagyeman
Wed May 20, 2020 11:18 pm
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

If you softmax the output. Our code doesn't do that for you. We just get 0-255 out from the library and then we divide that by 255 and then that's the float result.

Can you attach the trained model for me to run, along with 1 or two images? Thanks,
by kwagyeman
Wed May 20, 2020 11:11 pm
Forum: Technical Discussion
Topic: OV2640 cropping full resolution, registers
Replies: 1
Views: 52

Re: OV2640 cropping full resolution, registers

While it may not look like it from the code... we typically spends weeks of effort on getting drivers working. It's very hard.

Please check the OV5640 driver. It does what you want. Given the cameras are similar maybe you can get a hint from that code on how to control the OV2640.
by kwagyeman
Wed May 20, 2020 11:08 pm
Forum: Technical Discussion
Topic: Using binary function problem
Replies: 5
Views: 155

Re: Using binary function problem

Please post code to show the error. I just ran the example and it works fine.
by kwagyeman
Wed May 20, 2020 11:06 pm
Forum: Technical Discussion
Topic: Automatic reload of a trained model
Replies: 3
Views: 66

Re: Automatic reload of a trained model

With the TensofFlow module you just delete the model object from RAM and accept a new model.

How is the model getting onto the OpenMV Cam?
by kwagyeman
Wed May 20, 2020 11:05 pm
Forum: Technical Discussion
Topic: 100 fps H7+
Replies: 4
Views: 327

Re: 100 fps H7+

Sure, I'll post a video when I do it.
by kwagyeman
Wed May 20, 2020 11:05 pm
Forum: Technical Discussion
Topic: H7 Plus 1080p 30fps
Replies: 1
Views: 44

Re: H7 Plus 1080p 30fps

Yes and no.

If you set the readout window to 1920x1080 it will run at 30 FPS. However, the field of view will shrink. That said, getting the data off the camera is another issues. It's not a video camera optimized for recording. We can take snapshots fine.
by kwagyeman
Wed May 20, 2020 11:03 pm
Forum: Project Discussion
Topic: Robot Obstacle Avoidance
Replies: 1
Views: 70

Re: Robot Obstacle Avoidance

Yes, what computer vision method do you plan to use. I.e. how do you envision seeing the object? Typically there needs to be a feature you are looking for.
by kwagyeman
Wed May 20, 2020 1:41 am
Forum: Technical Discussion
Topic: Training on the OpenMV IDE
Replies: 1
Views: 88

Re: Training on the OpenMV IDE

OpenMV IDE is for controlling the OpenMV Cam. It doesn't do machine learning.
by kwagyeman
Wed May 20, 2020 1:41 am
Forum: Technical Discussion
Topic: WIFI Shield DMA support
Replies: 2
Views: 95

Re: WIFI Shield DMA support

Performance should be in the 15 Mb/s range now. The performance was bad before because the firmware would wait for an ACK per packet. It no longer does.
by kwagyeman
Wed May 20, 2020 1:40 am
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

Should be 0-255. However, you need to match the color of the binary data with MNIST. So, if it's black on white then 0 and 255. If it's white on black then 255 and 0.
by kwagyeman
Wed May 20, 2020 1:38 am
Forum: General Topics
Topic: Did the STM32H743 Rev V speed up?
Replies: 1
Views: 58

Re: Did the STM32H743 Rev V speed up?

All H7 cameras run at 480 MHz.
by kwagyeman
Sat May 16, 2020 2:46 pm
Forum: Technical Discussion
Topic: OV5640 FREX mode
Replies: 7
Views: 928

Re: OV5640 FREX mode

Haven't gotten t working on this. Will do soon.
by kwagyeman
Fri May 15, 2020 2:21 pm
Forum: Technical Discussion
Topic: OpenMV M7 not loading ts person recognition
Replies: 6
Views: 555

Re: OpenMV M7 not loading ts person recognition

Attached is the latest M7 firmware. Use Tools -> Run bootloader to flash it onto your camera.
by kwagyeman
Thu May 14, 2020 9:13 pm
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

Regarding your model. Please try a dataset where the input data is a series of color images and verify that your model works okay before trying mnist.

We are getting things ready for Edge Impulse support. So, we expect TensorFlow support to be working smoothly moving forwards.
by kwagyeman
Thu May 14, 2020 9:12 pm
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

H7 Firmware
by kwagyeman
Thu May 14, 2020 9:00 pm
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 44
Views: 4967

Re: Can't use Tensorflow-Lite for OpenMV

Hi, I've updated the firmware to support int8/uint8/float32. The model still needs to be int8/uint8 quantized internally, but, float32 is supported as the input/output layer. It was tested on Mobilenet (uint8), the person detector (uint8), another person detector (int8), and then a flower model (flo...
by kwagyeman
Thu May 14, 2020 5:59 pm
Forum: Technical Discussion
Topic: IDE Hotkeys.
Replies: 1
Views: 275

Re: IDE Hotkeys.

There's no shortcut. Please add an enhancement request here: https://github.com/openmv/openmv-ide/issues
by kwagyeman
Thu May 14, 2020 1:41 pm
Forum: Technical Discussion
Topic: 100 fps H7+
Replies: 4
Views: 327

Re: 100 fps H7+

Enjoy
by kwagyeman
Thu May 14, 2020 1:40 pm
Forum: Technical Discussion
Topic: Logging to USB serial from firmware
Replies: 5
Views: 330

Re: Logging to USB serial from firmware

Yeah, it will just show up in the IDE window. printf() in c == print() in python.
by kwagyeman
Thu May 14, 2020 1:47 am
Forum: Technical Discussion
Topic: Logging to USB serial from firmware
Replies: 5
Views: 330

Re: Logging to USB serial from firmware

The terminal stores 1M lines of text. Just select all and copy it.

If you use the Open Terminal Feature there's an explicit save operation if you click on the disk icon.
by kwagyeman
Wed May 13, 2020 1:01 pm
Forum: Technical Discussion
Topic: how to send image to server by post to http?
Replies: 27
Views: 10031

Re: how to send image to server by post to http?

Yeah, we'll add urequests and mqtt. Mqtt is already onboard. But, will document it with this: https://makeblock-micropython-api.readthedocs.io/en/latest/public_library/Third-party-libraries/urequests.html https://makeblock-micropython-api.readthedocs.io/en/latest/public_library/Third-party-libraries...
by kwagyeman
Wed May 13, 2020 12:28 pm
Forum: Technical Discussion
Topic: how to send image to server by post to http?
Replies: 27
Views: 10031

Re: how to send image to server by post to http?

The tool I built works on the socket level layer. It's not FTP/HTTP/POST/etc. If you want to use a higher level protocol you need to implement that on top of the sockets layer. With the latest firmware various bugs with the WiFi shield have been fixed. So, you should find it very straight forward to...

Go to advanced search