Search found 3264 matches

by kwagyeman
Wed Jul 17, 2019 1:46 pm
Forum: Technical Discussion
Topic: OSError: ROI does not overlap on the image!
Replies: 1
Views: 1416

Re: OSError: ROI does not overlap on the image!

Um, just don't pass an ROI that doesn't overlap on the image to a method.
by kwagyeman
Wed Jul 17, 2019 1:45 pm
Forum: Technical Discussion
Topic: Capturing a 1 MP image
Replies: 5
Views: 1858

Re: Capturing a 1 MP image

Um, it's possible to add level shifter as requested, the DRAM version design is not fixed yet. Um, okay, so, email us at openmv@openmv.io and I will connect you to Kazhi who is leading the design. You can work with him to add this part to the board. We are buying these units through SingTown as the ...
by kwagyeman
Tue Jul 16, 2019 11:30 pm
Forum: Technical Discussion
Topic: Best way to define a perimeter for a driving bot?
Replies: 3
Views: 1451

Re: Best way to define a perimeter for a driving bot?

Oh, yeah, in that case if the tags are all over the perimeter fine. You can detect the distance to them easily do when you find yourself getting close to any you drive away.
by kwagyeman
Tue Jul 16, 2019 11:28 pm
Forum: Technical Discussion
Topic: First time with servos not going well
Replies: 4
Views: 1619

Re: First time with servos not going well

Hi Scott, the drive you are trying to use is for controlling the 8-channel servo shield. You have the Pan/Tilt shield. For this shield no driver chip is necessary. The servos are directly controlled by the OpenMV Cam. Please see the Board Control -> Servo example for how to drive servos directly fro...
by kwagyeman
Tue Jul 16, 2019 11:26 pm
Forum: Project Discussion
Topic: Project Idea: Automatically point camera at target
Replies: 15
Views: 3212

Re: Project Idea: Automatically point camera at target

Um, I can just build it for you. Mmm, what camera do you have? An H7 or M7?
by kwagyeman
Mon Jul 15, 2019 9:20 pm
Forum: General Topics
Topic: Will OpenMV run Tensorflow 2 models?
Replies: 3
Views: 1754

Re: Will OpenMV run Tensorflow 2 models?

Hi, I finished the port of TensorFlow back in April to the OpenMV Cam but then got sucked into 3 months of back to back events every week. It will be in the next release. Models that will be supported are TensorFlow lite models using Depth-Wise Separable convolutions.
by kwagyeman
Mon Jul 15, 2019 9:19 pm
Forum: General Topics
Topic: OpenMV image recognition
Replies: 3
Views: 1548

Re: OpenMV image recognition

Oh, yeah, you need to increase the exposure on the image. Please see the sensor exposure control examples. We have the frame rate turned up with very little exposure which causes issues for image quality but give you speed. If you don't need the speed increase the image exposure and the images will ...
by kwagyeman
Mon Jul 15, 2019 12:17 pm
Forum: Technical Discussion
Topic: Capturing a 1 MP image
Replies: 5
Views: 1858

Re: Capturing a 1 MP image

That would require more engineering work that we have capacity to do. If someone contributed to the project with that tech it would be appreciated however.
by kwagyeman
Mon Jul 15, 2019 12:15 pm
Forum: General Topics
Topic: Openmv related library functions
Replies: 1
Views: 1347

Re: Openmv related library functions

Um, not really, a camera can't really do that. It can classify a thing but to determine the thing's location in the image is a lot more work. There are ways to avoid objects that appear to be coming closer but it isn't the right sensor to use for this.
by kwagyeman
Mon Jul 15, 2019 12:13 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 44
Views: 24180

Re: saving video on SD card

We support FAT and exFAT. Most microcontrollers only support these formats. As for files not showing up on the PC when recorded... there's no way to fix this. Modern OSes don't mount the USB flash drive like a network disk, they think they have full control and mount the disk on as a block device. I...
by kwagyeman
Mon Jul 15, 2019 12:10 pm
Forum: General Topics
Topic: OpenMV image recognition
Replies: 3
Views: 1548

Re: OpenMV image recognition

Um, what type of recognition are you trying to do?
by kwagyeman
Mon Jul 15, 2019 12:10 pm
Forum: Technical Discussion
Topic: Best way to define a perimeter for a driving bot?
Replies: 3
Views: 1451

Re: Best way to define a perimeter for a driving bot?

AprilTags would offer the easiest way. However, it would make more sense to just use a high precision GPS system to do this. Think an RTK GPS. It will work really well and be much better than vision. To do this with AprilTags you'd need to be able to see them from the entire length of the field so t...
by kwagyeman
Mon Jul 15, 2019 12:08 pm
Forum: Technical Discussion
Topic: Support for I2C LCD 4x20 displays
Replies: 27
Views: 9159

Re: Support for I2C LCD 4x20 displays

I think MicroPython just supports that in general. Since we are a MicroPython board you don't need to look for a driver just for our system:

https://forum.micropython.org/viewtopic.php?t=910
by kwagyeman
Thu Jul 11, 2019 1:58 pm
Forum: General Topics
Topic: OpenMV Obstacle avoidance
Replies: 1
Views: 1369

Re: OpenMV Obstacle avoidance

Okay
by kwagyeman
Thu Jul 11, 2019 1:58 pm
Forum: Technical Discussion
Topic: OpenMV porting on own board
Replies: 3
Views: 1519

Re: OpenMV porting on own board

We really can't provide help support for custom firmware implementations. You are on your own here.

(To be honest, me and Ibrahim are stressed for time answering questions about our own product. We don't really have time to answer questions where it isn't our product).
by kwagyeman
Thu Jul 11, 2019 1:56 pm
Forum: Technical Discussion
Topic: face tracking with servos
Replies: 24
Views: 10764

Re: face tracking with servos

Hi dos, I don't know how to do everything.

If you want it to be smoother you should filter the input blob location through an average filter and then reduce the x_gain and y_gain so the system tracks more slowly.
by kwagyeman
Wed Jul 10, 2019 5:36 pm
Forum: Technical Discussion
Topic: Convert Image To Pixel Array
Replies: 3
Views: 6005

Re: Convert Image To Pixel Array

Please post the code snippet for others. Thank!
by kwagyeman
Wed Jul 10, 2019 11:25 am
Forum: Technical Discussion
Topic: face tracking with servos
Replies: 24
Views: 10764

Re: face tracking with servos

Yeah, that's the basic idea. It looks like you are doing exactly the right thing.
by kwagyeman
Wed Jul 10, 2019 11:22 am
Forum: Technical Discussion
Topic: Contrast / Saturation
Replies: 1
Views: 1170

Re: Contrast / Saturation

Hi, in VGA mode for color we switch from using a processed image to debayering a bayer image on the fly when doing jpg compression. All the auto methods are bypassed when this happens. We have to do this because we cannot fit an RGB565 640x480 image in RAM. We will have a new H7 camera with RAM whic...
by kwagyeman
Wed Jul 10, 2019 11:20 am
Forum: General Topics
Topic: Power supplied of Openmv4 H7 with TOF module
Replies: 9
Views: 2664

Re: Power supplied of Openmv4 H7 with TOF module

Um, the OpenMV Cam needs about 200 mA. How is the system and the ToF unit powered? You could use a second battery which may ease the problem.
by kwagyeman
Tue Jul 09, 2019 3:58 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 16
Views: 5832

Re: Minimal detect AprilTag (don't need tag ID) with better range?

Um, I just have dev units. If I get one working I could send it to you. Don't expect this to happen in a timely manner however.
by kwagyeman
Tue Jul 09, 2019 2:45 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 16
Views: 5832

Re: Minimal detect AprilTag (don't need tag ID) with better range?

There's an example script which shows off how to us find_blobs() to do what you want at 640x480. it's under the AprilTag examples.

We will have a DRAM camera coming out soon which will have no limits on this.
by kwagyeman
Tue Jul 09, 2019 2:21 pm
Forum: Technical Discussion
Topic: OpenMV porting on own board
Replies: 3
Views: 1519

Re: OpenMV porting on own board

Um, so, if you are doing your own custom board we'd expect you to be a complete expert in what you are doing. Adding SRAM is hard. We will be releasing a camera with SRAM support soon. But, otherwise, you're on your own. I can't tell you why the USB is broken either. All this stuff is very hard.
by kwagyeman
Tue Jul 09, 2019 2:01 am
Forum: Project Discussion
Topic: Project Idea: Automatically point camera at target
Replies: 15
Views: 3212

Re: Project Idea: Automatically point camera at target

Cool glad to see it working. Note I put some camera firmware upgrades in on the tip of the github commits which improve the image quality. I will be restarting firmware pushing now.
by kwagyeman
Tue Jul 09, 2019 1:48 am
Forum: General Topics
Topic: cpufreq Pb with OpenMv H7 (V3.4.2)
Replies: 3
Views: 1952

Re: cpufreq Pb with OpenMv H7 (V3.4.2)

Thanks!
by kwagyeman
Tue Jul 09, 2019 1:48 am
Forum: Technical Discussion
Topic: upper quartile
Replies: 4
Views: 5911

Re: upper quartile

Hi, okay, I sat down and I see what you are doing.

So... the threshold argument doesn't adjust the count of pixels sampled it looks like. This would be a bug.

Good find: https://github.com/openmv/openmv/issues/548
by kwagyeman
Tue Jul 09, 2019 1:28 am
Forum: Project Discussion
Topic: Detect moving object
Replies: 9
Views: 5269

Re: Detect moving object

Um, just click the disable button the on top right of the IDE to see the frame rate without the burden of streaming JPG images to the PC.
by kwagyeman
Sat Jul 06, 2019 8:33 pm
Forum: Technical Discussion
Topic: Detection of Tiny Blobs from QQVGA
Replies: 5
Views: 8131

Re: Detection of Tiny Blobs from QQVGA

Hi, that's because of the default x and y stride. The algorithm doesn't sample all pixels to go faster. Set the x_stride and y_stride to 1. As a note... I heavily recommend to read the API when you have issues... You've asked two questions now that would have been answered by reading the API for fin...
by kwagyeman
Sat Jul 06, 2019 8:30 pm
Forum: Project Discussion
Topic: Detect moving object
Replies: 9
Views: 5269

Re: Detect moving object

Um, from your code the indentation is wrong. The code for the find blobs never gets executed. Please check your python indentation.
by kwagyeman
Sat Jul 06, 2019 8:28 pm
Forum: Project Discussion
Topic: Detect moving object
Replies: 9
Views: 5269

Re: Detect moving object

Hi, are the color tracking thresholds set right? Please look at the difference image and use the Tools-> Machine Vision-> Threshold Editor to get the right color thresholds for the difference image. You have those apply them to the script and things should start to work.
by kwagyeman
Sat Jul 06, 2019 8:26 pm
Forum: General Topics
Topic: Connecting to a high amperage motor driver such as a Sabertooth 3x32
Replies: 1
Views: 1354

Re: Connecting to a high amperage motor driver such as a Sabertooth 3x32

I can't give device specific knowledge on how to connect the two. But the sabertooth shield is quite simple and a direct PWM controlled device. So, the examples and pinouts for the motor shield should be applicable assuming you connect the same type of pins to what need to be driven. E.g. on the mot...
by kwagyeman
Sat Jul 06, 2019 8:10 pm
Forum: Project Discussion
Topic: Detect a candle fire using OpenMV H7 and FLIR
Replies: 21
Views: 17641

Re: Detect a candle fire using OpenMV H7 and FLIR

Hi, please see Examples - > FLIR Lepton -> Target Temperature Tracking. We have about 8 examples to work with.
by kwagyeman
Fri Jul 05, 2019 12:00 pm
Forum: Technical Discussion
Topic: upper quartile
Replies: 4
Views: 5911

Re: upper quartile

Sorry about now answering this yet... In Boston for a Wedding. Can you just email me this to do? I can track things better there.
by kwagyeman
Fri Jul 05, 2019 11:59 am
Forum: Technical Discussion
Topic: Minimum Object Distance
Replies: 1
Views: 1180

Re: Minimum Object Distance

It depends on the object size. The lens gives you about 4x zoom. Generally, expect about 2ft to focus on something.
by kwagyeman
Fri Jul 05, 2019 11:56 am
Forum: Technical Discussion
Topic: face tracking with servos
Replies: 24
Views: 10764

Re: face tracking with servos

Hi, um, this whole forum post is about how to do this. Rather not explain it again. If you have a very specific question on an issue you are having I'm happy to answer.
by kwagyeman
Wed Jul 03, 2019 11:31 pm
Forum: Project Discussion
Topic: Project Idea: Automatically point camera at target
Replies: 15
Views: 3212

Re: Project Idea: Automatically point camera at target

Yeah, this is very easy. You just do a PID loop on each axis. Um, do you need help with this? You just use find blobs and then once you find the target blob you subtract the middle of the X/Y position of the image from the X/Y of the blob and then that's your error for the X/Y direction. Then you ju...
by kwagyeman
Wed Jul 03, 2019 2:09 am
Forum: General Topics
Topic: Timer Counter not counting
Replies: 5
Views: 2243

Re: Timer Counter not counting

Um, it would be via how MicroPython implements these:

https://github.com/micropython/micropyt ... 32/timer.c
by kwagyeman
Wed Jul 03, 2019 2:07 am
Forum: Technical Discussion
Topic: LCD type
Replies: 30
Views: 16092

Re: LCD type

It's been a todo on my list for a while to add support for this. I'm about to start another firmware push. Please create a github issue tracker.
by kwagyeman
Wed Jul 03, 2019 2:06 am
Forum: Technical Discussion
Topic: LED / IR LEDS
Replies: 5
Views: 1892

Re: LED / IR LEDS

The IR LEDs can only be blocked by electrical tape. Even a simple sticker doesn't keep the light they produce out. There's not really a solution to this that doesn't involve electrical tape. They are really powerful.
by kwagyeman
Sun Jun 30, 2019 11:54 am
Forum: General Topics
Topic: Timer Counter not counting
Replies: 5
Views: 2243

Re: Timer Counter not counting

Is this on the H7? It's probably a bug in the HAL. Ibrahim can debug it.
by kwagyeman
Sat Jun 29, 2019 4:48 pm
Forum: Project Discussion
Topic: Detect multiple letters
Replies: 3
Views: 7438

Re: Detect multiple letters

Um, just select an area on the frame buffer and it will display the ROI of that area that you can pass to the code.
by kwagyeman
Sat Jun 29, 2019 3:42 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17384

Re: Two Issues about autostart

Regarding wakeup. I have to check on that. Did you follow how the RTC example works? (Answering this from my phone while out at an event. Please forgive me not being able to give exact code help).
by kwagyeman
Sat Jun 29, 2019 3:41 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17384

Re: Two Issues about autostart

Um, yeah, the code is working exactly as you want. Your firmware has complete control over he camera so it's turning the power off on the camera and kicking the IDE off. You need to reflash the firmware to fix this. I need to add a disk erase method to get around this issue. I will do that. Basicall...
by kwagyeman
Sat Jun 29, 2019 1:07 pm
Forum: General Topics
Topic: Could not start openmvide on raspberry pi
Replies: 8
Views: 7530

Re: Could not start openmvide on raspberry pi

Could you send me your OS image via drop box or something like that? Then I can reproduce it and fix it.
by kwagyeman
Sat Jun 29, 2019 1:05 pm
Forum: General Topics
Topic: Reset doesn't work
Replies: 8
Views: 3041

Re: Reset doesn't work

How much power are you supplying to the camera? The system draws about 150ma. If the script doesn't work when not plugged into the PC it would be that the system is browning out as it's not getting enough power from whatever power supply you are providing. Note that 150mA is much more current that w...
by kwagyeman
Sat Jun 29, 2019 1:02 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17384

Re: Two Issues about autostart

Hi, the issue is that you have another disk that OpenMV IDe thinks is your OpenMV Cam disk. You can fix this by clicking on the disk drive path in the status bar and selecting the right disk and the IDE will remember that. They the IDE can save the script to the right disk. There's no method for me ...
by kwagyeman
Thu Jun 27, 2019 4:09 pm
Forum: General Topics
Topic: Reset doesn't work
Replies: 8
Views: 3041

Re: Reset doesn't work

If you want to delete the script on board try to reflash the firmware.
by kwagyeman
Thu Jun 27, 2019 4:09 pm
Forum: General Topics
Topic: Reset doesn't work
Replies: 8
Views: 3041

Re: Reset doesn't work

That's it being reset... The red is the IDE flushing the disk to the camera and then the green is the bootloader running again. Your code runs after the green light stops if you loaded a script on it.
by kwagyeman
Thu Jun 27, 2019 3:05 pm
Forum: Technical Discussion
Topic: Dotcode barcode recognition
Replies: 1
Views: 973

Re: Dotcode barcode recognition

Unless there's a free C library for it I don't believe we will be able to.

Go to advanced search