Search found 4539 matches

by kwagyeman
Fri Oct 23, 2020 11:54 pm
Forum: Technical Discussion
Topic: I2C Bus communication error - missing ACK
Replies: 13
Views: 1268

Re: I2C Bus communication error - missing ACK

Will check this. I'm doing an overhaul of the lcd and fir drivers soon for the OpenMV Cam Pure Thermal.
by kwagyeman
Fri Oct 23, 2020 12:08 pm
Forum: General Topics
Topic: Raspberry 4 installation problems
Replies: 15
Views: 339

Re: Raspberry 4 installation problems

Ah, yeah, that part won’t work unless you have the ide install folder.

Please do this, edit you script to match what that file generates.
by kwagyeman
Fri Oct 23, 2020 12:07 pm
Forum: Technical Discussion
Topic: Callback issues while remote controlling
Replies: 1
Views: 22

Re: Callback issues while remote controlling

None means the calls back failed. So, you have to try again in a loop until it succeeds. The method does try repeatedly for 1 second before giving up.

Was the openmv cam running before you ran the PC side?
by kwagyeman
Fri Oct 23, 2020 12:05 pm
Forum: Technical Discussion
Topic: VCP error or bug?
Replies: 6
Views: 67

Re: VCP error or bug?

Do you have an H7 or an H7 plus? We just found a serious issue in the H7 firmware in regards to it being overclocked.
by kwagyeman
Thu Oct 22, 2020 11:24 pm
Forum: Technical Discussion
Topic: VCP error or bug?
Replies: 6
Views: 67

Re: VCP error or bug?

Can you try to communicate to your script using the Open Terminal Feature in OpenMV IDE? It's under Tools->Open Terminal. It creates a terminal to talk to the camera.
by kwagyeman
Thu Oct 22, 2020 11:21 pm
Forum: General Topics
Topic: Raspberry 4 installation problems
Replies: 15
Views: 339

Re: Raspberry 4 installation problems

I figured out how to fix this. The issue will be resolved in the next IDE release.

Execute these steps here in the mean-time.

https://github.com/openmv/openmv-ide/bl ... ke.py#L162
by kwagyeman
Thu Oct 22, 2020 11:08 am
Forum: Project Discussion
Topic: Using OpenMV for text
Replies: 3
Views: 1726

Re: Using OpenMV for text

Yes, train a cnn on a letter, then slide the cnn window over the image and store the string of letters produced. It won’t be state of the art however, but, it will work.
by kwagyeman
Thu Oct 22, 2020 11:06 am
Forum: Technical Discussion
Topic: Connecting OpenMV to RaspberryPi interrupts main.py execution
Replies: 1
Views: 45

Re: Connecting OpenMV to RaspberryPi interrupts main.py execution

You need to turn off ctrl c as an interrupt to the usb vcp port. See the usb vcp class and set the interrupt char.
by kwagyeman
Wed Oct 21, 2020 10:23 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Wait, just watched the video. Mmm, okay, that's definitely odd, that was the exact procedure I just did. I also unplugged and plugged the device in too, but, otherwise it worked. Um, can you install this firmware here on the Portenta? https://github.com/openmv/openmv/releases/tag/v3.6.9 Install the ...
by kwagyeman
Wed Oct 21, 2020 10:20 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Hi, can you run the Tools->Reset OpenMV Cam command after saving the script with the IDE? I think what you might be running into is the fact that the internal disk size is small enough that the OS treats it as FAT12 and doesn't flush writes immediately but caches them. What's the disk size when you ...
by kwagyeman
Wed Oct 21, 2020 7:49 am
Forum: General Topics
Topic: TensorFlow - how to detect multi-objects in one image
Replies: 1
Views: 52

Re: TensorFlow - how to detect multi-objects in one image

Hi, we don't have a SSD type network yet to detect multiple objects at the same time. Right now it's just image classification. We are working with Edge Impulse to release: 1. A segmentation network architecture to support binary segmentation images. 2. A multi-bounding box detection architecture. U...
by kwagyeman
Tue Oct 20, 2020 11:47 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Yeah, I saved a script on the camera and just had it plugged in via a USB C cable to a power only port and it was blinking the LED onboard. I programmed it to blink the red led versus the blue one.
by kwagyeman
Tue Oct 20, 2020 11:45 pm
Forum: Arduino Portenta H7
Topic: Use the PortentaVisionShield using the Arduino IDE
Replies: 7
Views: 105

Re: Use the PortentaVisionShield using the Arduino IDE

I'll let me know about this.
by kwagyeman
Tue Oct 20, 2020 5:16 pm
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

Very old, probably before 480MHz. This is starting to make a lot of sense...
by kwagyeman
Tue Oct 20, 2020 11:04 am
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

Okay, I've asked Ibrahim to fix this. We'll just not set the clock speed to 480 when it's revision Y.
by kwagyeman
Tue Oct 20, 2020 11:02 am
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

Mmm, okay, I see. This explains a lot. Yes, we overclocked all our boards to 480 MHz since all our models worked that we tested.

I'll have Ibrahim fix this.

It's weird however, since they pass testing before we ship them.
by kwagyeman
Tue Oct 20, 2020 11:01 am
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

We have to by from the factory. Generally, we have a 3 month lead-time on getting now parts.
by kwagyeman
Tue Oct 20, 2020 11:00 am
Forum: Technical Discussion
Topic: Remote micropython coding using Wifi Shield
Replies: 1
Views: 24

Re: Remote micropython coding using Wifi Shield

We don't have WiFi debugging working right now. However, we improve the WiFi performance enough now where it's possible.

If you just want to use the WiFi feature to send data around that already works via sockets.
by kwagyeman
Tue Oct 20, 2020 10:58 am
Forum: General Topics
Topic: Edge impulse installation error
Replies: 1
Views: 35

Re: Edge impulse installation error

You don't need to install their CLI anymore. Our IDE integrates the necessary features.

If you are still installing their CLI then please ask them for help support about it.
by kwagyeman
Tue Oct 20, 2020 10:57 am
Forum: Technical Discussion
Topic: First time with servos not going well
Replies: 6
Views: 2269

Re: First time with servos not going well

In the IDE:

File -> Examples -> Board Control -> servo_control.py
by kwagyeman
Tue Oct 20, 2020 12:39 am
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

I tested saving a script to the camera and it works as expected.

Save the script to OpenMV Cam under Tools.
Then reset the camera with the reset OpenMV Cam option under Tools.
by kwagyeman
Tue Oct 20, 2020 12:03 am
Forum: Project Discussion
Topic: Detecting color of specific areas
Replies: 2
Views: 76

Re: Detecting color of specific areas

It's really easy!

Just pass the roi parameter:

find_blobs(roi=[x, y, w, h])

Just add roi=[x, y, w, h] which you can get from clicking on an area in the IDE to the call and it will restrict results to only be from that area.
by kwagyeman
Tue Oct 20, 2020 12:01 am
Forum: Arduino Portenta H7
Topic: Use the PortentaVisionShield using the Arduino IDE
Replies: 7
Views: 105

Re: Use the PortentaVisionShield using the Arduino IDE

Um, it's not really our shield. You should email Arduino about this. We've partnered to support all functionality of it. My goal is to get quality drivers working in our firmware and support for features folks want and need. If you are looking for Arduino to offer more drivers in C for everything th...
by kwagyeman
Mon Oct 19, 2020 11:56 pm
Forum: Arduino Portenta H7
Topic: Tricks to separate the Portenta and the visionCam
Replies: 4
Views: 55

Re: Tricks to separate the Portenta and the visionCam

I mean... I just realized that would not be smart and didn't do it. It seemed like it wasn't right.
by kwagyeman
Mon Oct 19, 2020 10:48 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Let me check.
by kwagyeman
Mon Oct 19, 2020 10:48 pm
Forum: Arduino Portenta H7
Topic: Examples menu needs a Portenta Section
Replies: 4
Views: 41

Re: Examples menu needs a Portenta Section

I’ve made a new ide release that I’m about to do smart. It will automatically change rgb565 to grayscale when the HM1B camera or any other grayscale only camera is attached.
by kwagyeman
Mon Oct 19, 2020 2:42 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Did you save a main.py script to the camera? And then reset the camera. And what output do you expect it to generate?
by kwagyeman
Mon Oct 19, 2020 1:07 pm
Forum: Arduino Portenta H7
Topic: Micropython autoboot boot.py
Replies: 14
Views: 124

Re: Micropython autoboot boot.py

Our firmware just runs the main.py file. However, if there's a boot.py file we will run that first, then the main.py. Use Tools->Save Script to OpenMV Cam, to save the script to the OpenMV Cam. https://github.com/openmv/openmv/blob/master/src/omv/main.c#L633 https://github.com/openmv/openmv/blob/mas...
by kwagyeman
Mon Oct 19, 2020 1:00 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 55
Views: 1704

Re: Radiometric vs Non-Radiometric Leptons

The OpenMV Cam Pure Thermal is just a mashup of everything we already support. Now with the Portenta we will support Ethernet. So, maybe we'll do a R2 with ethernet later. However, we literally used every I/O pin of the largest STM32H7 package. I think we can reclaim I/O pins by sharing I2C buses ho...
by kwagyeman
Sun Oct 18, 2020 12:18 pm
Forum: Technical Discussion
Topic: H7 Plus for Quantization TFLite Model ?
Replies: 1
Views: 46

Re: H7 Plus for Quantization TFLite Model ?

Another user had the same problem:

viewtopic.php?f=6&t=2036#p12299

This has been asked 3 times now. Please google.
by kwagyeman
Sun Oct 18, 2020 12:16 pm
Forum: Arduino Portenta H7
Topic: Examples menu needs a Portenta Section
Replies: 4
Views: 41

Re: Examples menu needs a Portenta Section

Yeah, we can make a Portenta example section, in fact. Arduino has asked us to support this. The IDE automatically parses example scripts from a folder path. So, you literally just have to make a top level folder with Arduino Portenta examples. Example scripts for release with the IDE are here: http...
by kwagyeman
Sun Oct 18, 2020 12:11 pm
Forum: Arduino Portenta H7
Topic: Trouble Shooting. What if the VisionCam isn't working
Replies: 1
Views: 25

Re: Trouble Shooting. What if the VisionCam isn't working

Error 4 is a bad sign. It means the camera failed to be detected. I2C probing found no camera hardware. I would check your connection between the camera shield and the Arduino Portenta. Given more folks seem to be getting this error more I think we'll change these errors to strings. They generally d...
by kwagyeman
Sun Oct 18, 2020 12:07 pm
Forum: Arduino Portenta H7
Topic: Use the PortentaVisionShield using the Arduino IDE
Replies: 7
Views: 105

Re: Use the PortentaVisionShield using the Arduino IDE

Um, the point of OpenMV IDE is that getting vision working with the Arduino IDE is pointless. It doesn't have enough tooling. You can take our camera driver and have it working with the Arduino IDE. However, the serial terminal they have is not going to cut it. Arduino's partnership with OpenMV is b...
by kwagyeman
Sun Oct 18, 2020 12:02 pm
Forum: Arduino Portenta H7
Topic: Tricks to separate the Portenta and the visionCam
Replies: 4
Views: 55

Re: Tricks to separate the Portenta and the visionCam

Yeah, pulling them apart is a little tricky. Be careful.

...

The above said, the Portenta is not OpenMV hardware. I'm no more of an expert on this than you.
by kwagyeman
Sun Oct 18, 2020 12:00 pm
Forum: Arduino Portenta H7
Topic: Are any of the Portenta Visible PINS used
Replies: 3
Views: 49

Re: Are any of the Portenta Visible PINS used

I'd say everything but the ADC and PWM are well supported with the current MicroPython library. For PWM that's done via timers. So, you'll need to grab the processor datasheet here: https://www.st.com/resource/en/datasheet/stm32h743bi.pdf And see what pins have timers on them and what timer channel ...
by kwagyeman
Sun Oct 18, 2020 11:57 am
Forum: Arduino Portenta H7
Topic: Are any of the Portenta Visible PINS used
Replies: 3
Views: 49

Re: Are any of the Portenta Visible PINS used

Here's the GPIO mapping file: https://github.com/openmv/micropython/blob/9992c24f3088e5ebe2138f0651cc962cb9439ef6/ports/stm32/boards/PORTENTA/pins.csv Any pin defines on the left hand of the column can be named in a string with a MicroPython pin object and it will work. Arduino hasn't directed us to...
by kwagyeman
Sun Oct 18, 2020 11:54 am
Forum: Arduino Portenta H7
Topic: Are any of the Portenta Visible PINS used
Replies: 3
Views: 49

Re: Are any of the Portenta Visible PINS used

Sorry for the late reply. My account didn't automatically follow this forum.
by kwagyeman
Sat Oct 17, 2020 3:31 pm
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 55
Views: 1704

Re: Radiometric vs Non-Radiometric Leptons

Hey all, just a note. This is coming out soon.

https://twitter.com/groupgetscom/status ... 00/photo/1
by kwagyeman
Fri Oct 16, 2020 12:48 pm
Forum: General Topics
Topic: openmv suddenly crashed
Replies: 3
Views: 63

Re: openmv suddenly crashed

Mmm, it wasn’t the images then. There’s a file system watcher class that’s a little finicky. I noticed it could crash the app when it’s not happy. That said, so don’t have a fix for why it crashed.
by kwagyeman
Fri Oct 16, 2020 10:25 am
Forum: General Topics
Topic: openmv suddenly crashed
Replies: 3
Views: 63

Re: openmv suddenly crashed

Hi, it could be the dataset folder. Do this, rename you dataset folder. This will stop the ide from loading it on startup.

How many files are in your dataset folder?
by kwagyeman
Thu Oct 15, 2020 10:40 pm
Forum: Project Discussion
Topic: MicroPython Color detection
Replies: 8
Views: 134

Re: MicroPython Color detection

import sensor,image,time,math,pyb from pyb import Pin thresholds = [(47,52,70,77,49,62), # Red threshold (28,32,-38,-31,18,32)] # Green threshold sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) sensor.set_auto_gain(False) # must b...
by kwagyeman
Thu Oct 15, 2020 2:54 pm
Forum: Project Discussion
Topic: MicroPython Color detection
Replies: 8
Views: 134

Re: MicroPython Color detection

Both pieces of code. The code tags button in the editor preserves formatting.
by kwagyeman
Thu Oct 15, 2020 2:53 pm
Forum: Technical Discussion
Topic: Firmware/Script updating through non-usb interface
Replies: 1
Views: 71

Re: Firmware/Script updating through non-usb interface

You can just write a script that updates a module that it loads. I.e. main.py runs your bootloader code and whatever. You then have a file that's the app as another python file which is included in main.py. Use try: except: to include the file to handle it missing or being corrupted. Then, the main ...
by kwagyeman
Thu Oct 15, 2020 2:02 pm
Forum: Project Discussion
Topic: MicroPython Color detection
Replies: 8
Views: 134

Re: MicroPython Color detection

Can you repost you code using the code tags? I can't read it.
by kwagyeman
Thu Oct 15, 2020 11:40 am
Forum: Technical Discussion
Topic: Radiometric vs Non-Radiometric Leptons
Replies: 55
Views: 1704

Re: Radiometric vs Non-Radiometric Leptons

It’s coming up to do. I have to get this working for the pure thermal openmv cam.

Note that the image will just be returned as an array of floats with each float being the pixel temp.
by kwagyeman
Wed Oct 14, 2020 10:10 pm
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

Not really, if the hardware is broken then there's not much you can do.
by kwagyeman
Wed Oct 14, 2020 7:39 pm
Forum: Technical Discussion
Topic: TFMini Distance Shield on I2C bus
Replies: 8
Views: 115

Re: TFMini Distance Shield on I2C bus

That’s basically the idea. The code is open source so you can extend it and modify it without needing me.
by kwagyeman
Wed Oct 14, 2020 6:10 pm
Forum: Technical Discussion
Topic: Writing to SD card faster FPS
Replies: 1
Views: 38

Re: Writing to SD card faster FPS

It’s just requires us to implement double buffering support. I will have this feature in before the end of the year. However, I have to get a new screen interface working before to enable the H7 to drive monitors.
by kwagyeman
Wed Oct 14, 2020 10:27 am
Forum: Technical Discussion
Topic: OpenMV-H7 Capture Failed: -4
Replies: 15
Views: 179

Re: OpenMV-H7 Capture Failed: -4

Seems like the firmware flashed incorrectly. Can you try updating the firmware again?

-4 means that no sensor was found. Can you check the camera connection to the main board.
by kwagyeman
Wed Oct 14, 2020 10:15 am
Forum: Technical Discussion
Topic: H7 PLUS: LCD SHIELD & NO FREE PWM PIN
Replies: 2
Views: 35

Re: H7 PLUS: LCD SHIELD & NO FREE PWM PIN

Use our RPC library to talk to another microcontroller.

Go to advanced search