Search found 2202 matches

by kwagyeman
Sat Sep 22, 2018 3:34 pm
Forum: General Topics
Topic: Right camera module for camera traps
Replies: 3
Views: 93

Re: Right camera module for camera traps

FLIR is thermal vision: https://youtu.be/166JRLueCwc
by kwagyeman
Sat Sep 22, 2018 3:33 pm
Forum: General Topics
Topic: How to dowload the cifar100 picture
Replies: 1
Views: 39

Re: How to dowload the cifar100 picture

Hi, cifar10 is a very weak CNN. It works if you are pointing it at images on a screen. Otherwise, it's just a demo thing and not really good for anything. Lenet6 which runs on the H7 is actually usable. Um, cifar10 will give you perfect detection results if you show it pictures of what it was traine...
by kwagyeman
Sat Sep 22, 2018 3:30 pm
Forum: Technical Discussion
Topic: Finding translation and rotation using M4
Replies: 1
Views: 38

Re: Finding translation and rotation using M4

Hi, we removed these features from the M4 camera because of flash space exhaustion to fit the feature. You can re-enable this in our firmware if you modify our code. otherwise, you need to buy the OpenMV Cam M7 or back us for the OpenMV Cam H7.
by kwagyeman
Sat Sep 22, 2018 3:29 pm
Forum: Technical Discussion
Topic: Determining whether a blob is detected
Replies: 1
Views: 32

Re: Determining whether a blob is detected

Hi, please see the Examples->Color Tracking in OpenMV IDE. The find_blobs() method detects blobs and returns a list of color blobs in the image. If the threshold you pass for the color you want to detect is found then the list of blobs will not be empty.
by kwagyeman
Fri Sep 21, 2018 12:25 am
Forum: Project Discussion
Topic: Positioning of Robot using fiducial markers
Replies: 1
Views: 94

Re: Positioning of Robot using fiducial markers

The units of the distance are related to the size of the tag. If you look at the MAVLink AprilTag example in the examples folder you'll see some code I wrote that tells you the distance to a tag that is of a user defined size. Um, once you have the distance units simple trigonometry applies. If you ...
by kwagyeman
Fri Sep 21, 2018 12:22 am
Forum: General Topics
Topic: File Transfer using OpenMV WiFi shield
Replies: 3
Views: 225

Re: File Transfer using OpenMV WiFi shield

Can you repost your code with the code tags. You're likely overflowing the heap which gets fragmented. A way to fix this is to import the gc module, explicitly delete unused variables, and call gc.collect() before your method.
by kwagyeman
Thu Sep 20, 2018 12:03 pm
Forum: General Topics
Topic: about find_blob function
Replies: 1
Views: 65

Re: about find_blob function

Hi, the find blob method is just a wild fire scanline flood fill algorithm. The way it works is to walk every pixel in the image, find a pixel which matches the color bounds, the "burn" all the pixels connected to that pixel by doing a breath/depth first search and setting visited nodes in a bitmap....
by kwagyeman
Thu Sep 20, 2018 2:18 am
Forum: Project Discussion
Topic: Modbus slave Library support
Replies: 1
Views: 75

Re: Modbus slave Library support

Can you bitbang the modbus protocol in an interrupt handler? This would be the easiest way to do it.
by kwagyeman
Thu Sep 20, 2018 2:16 am
Forum: Technical Discussion
Topic: Differentiate between IDE & VCP connections
Replies: 6
Views: 217

Re: Differentiate between IDE & VCP connections

Mmm, it probably is a bug. Mostly related to the way our IDE connects to the cam. Please submit a bug request to our GitHub.
by kwagyeman
Thu Sep 20, 2018 1:18 am
Forum: General Topics
Topic: Right camera module for camera traps
Replies: 3
Views: 93

Re: Right camera module for camera traps

Mmm, so, this is where the FLIR sensor on our new OpenMV Cam H7 reach makes the difference. With it you'll be able to see in day and night regardless of what's going on regarding sunlight. It will see temperature so you can easily trigger using that versus trying to make sense of a washed out color ...
by kwagyeman
Wed Sep 19, 2018 2:46 pm
Forum: General Topics
Topic: M7 Thermal Imager support for AMG8833 and MLX90640
Replies: 3
Views: 69

Re: M7 Thermal Imager support for AMG8833 and MLX90640

Um, do the devices support multiple I²C addresses?

I'm basically just going to make a snapshot mechanisms that allocates an image on the heap since they are so small and then all the regular methods will work with them.

So, my code efforts will be minimal.
by kwagyeman
Wed Sep 19, 2018 11:30 am
Forum: Technical Discussion
Topic: Differentiate between IDE & VCP connections
Replies: 6
Views: 217

Re: Differentiate between IDE & VCP connections

Hi, um, you can't use the VCP port when the IDE is connected to the camera because the IDE uses that. I'd recommend using the hardware UART for testing purposes and then switch to the VCP port once you think your code is ready.
by kwagyeman
Wed Sep 19, 2018 11:29 am
Forum: General Topics
Topic: M7 Thermal Imager support for AMG8833 and MLX90640
Replies: 3
Views: 69

Re: M7 Thermal Imager support for AMG8833 and MLX90640

Yeah, I'm going to start working on this soon just to make thermal imaging more of a thing we can do. The feature add will work for both the H7 and the M7. Um, as for doing this work... it's not per say a lot of effort since both those chips have already available software libraries... so, I just ha...
by kwagyeman
Wed Sep 19, 2018 11:26 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 50
Views: 1783

Re: Script autostart

Let me ask Ibrahim.
by kwagyeman
Mon Sep 17, 2018 11:04 am
Forum: Technical Discussion
Topic: Controller Area Network
Replies: 4
Views: 158

Re: Controller Area Network

Ibrahim, can you post an updated firmware image?
by kwagyeman
Sun Sep 16, 2018 9:36 pm
Forum: General Topics
Topic: Source code of functions
Replies: 3
Views: 112

Re: Source code of functions

Hi, all methods are written in C. Python just provides the high level user interface. Um, what allows the code to be called in python isn't particularly interesting. It's just business logic.
by kwagyeman
Sun Sep 16, 2018 6:38 pm
Forum: General Topics
Topic: Best way to learn ?
Replies: 6
Views: 201

Re: Best way to learn ?

Ah, yeah, then check this video out: https://youtu.be/9dFAwHfGPw4 Note that the camera is just giving you one reading. It's noisy and not that useful by itself unless you filter the output with a kalman filter. In particular, to use such a filter you'll need to predict the movement of the quadcopter...
by kwagyeman
Sun Sep 16, 2018 3:48 pm
Forum: General Topics
Topic: Best way to learn ?
Replies: 6
Views: 201

Re: Best way to learn ?

Okay, so, AprilTags would be best for this. Please watch this: https://youtu.be/keb0B11zj5g
by kwagyeman
Sun Sep 16, 2018 3:19 pm
Forum: General Topics
Topic: Source code of functions
Replies: 3
Views: 112

Re: Source code of functions

Um, it's under:

src/omv/imlib

Find circles is under Hough.c
by kwagyeman
Sat Sep 15, 2018 7:13 pm
Forum: General Topics
Topic: Best way to learn ?
Replies: 6
Views: 201

Re: Best way to learn ?

What do you want to do? Our system does color tracking the best and AprilTag tracking like stuff.
by kwagyeman
Sat Sep 15, 2018 7:12 pm
Forum: Technical Discussion
Topic: support for FFT,DCT and WT
Replies: 1
Views: 96

Re: support for FFT,DCT and WT

Hi, um, we actually have the FFT code on the camera. Phase correlation uses it. Um, what in particular do you need? I could get back on making an external method for some features.
by kwagyeman
Sat Sep 15, 2018 12:45 pm
Forum: Kickstarter Topics
Topic: OpenMV H7
Replies: 7
Views: 414

Re: OpenMV H7

Hi, it's a parallel interface. So, no MiPi cameras. This is fine however since we're not exactly going to be pushing super high resolutions. That said, if you want to build a product with the numerous low power camera modules popping up for always on camera applications our system works well for tha...
by kwagyeman
Thu Sep 13, 2018 11:28 pm
Forum: Kickstarter Topics
Topic: OpenMV H7
Replies: 7
Views: 414

Re: OpenMV H7

All versions. We have a driver in software that supports everything (not really that hard)?
by kwagyeman
Thu Sep 13, 2018 4:41 pm
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 4
Views: 173

Re: Problem: Broadcast Discovery Port

Mmm, okay, can you verify that the OpenMV Cam's USB flash drive still appears along with it's VCP serial port? They should appear in windows device manager. If they don't appear then we likely need to reset the firmware.
by kwagyeman
Thu Sep 13, 2018 4:39 pm
Forum: General Topics
Topic: Tutorial Needed: Companion computer reading data
Replies: 6
Views: 221

Re: Tutorial Needed: Companion computer reading data

Mmm, sorry for not responding immediately. I thought I did already. I do most forum responses on my phone.
by kwagyeman
Wed Sep 12, 2018 6:43 pm
Forum: Technical Discussion
Topic: Problem: Broadcast Discovery Port
Replies: 4
Views: 173

Re: Problem: Broadcast Discovery Port

Hi, that issue is related to Wifi programming support which isn't rolled out yet. You should be able to ignore it.

Um, does the IDE have permissions to access ports on your PC? The broadcast issue is unrelated to USB working.
by kwagyeman
Wed Sep 12, 2018 6:42 pm
Forum: Technical Discussion
Topic: Build OpenMV from source...
Replies: 8
Views: 127

Re: Build OpenMV from source...

I see what you want to do. Um, yeah, we don't actually have support to do that. It would make debugging a lot easier to have built a PC environment but we did everything on the MCU.
by kwagyeman
Wed Sep 12, 2018 11:11 am
Forum: Technical Discussion
Topic: Cannot Connect USB Device
Replies: 11
Views: 332

Re: Cannot Connect USB Device

Hi, try unplugging from the PC and plug back in without the jumpers. It may work. Or at least the bootloader should be back.to use our regular firmware update.
by kwagyeman
Wed Sep 12, 2018 12:14 am
Forum: Technical Discussion
Topic: Cannot Connect USB Device
Replies: 11
Views: 332

Re: Cannot Connect USB Device

Okay, just follow the DFU update instructions provided by OpenMV IDE and you should be good to go. It works very reliably on windows. To start the un-bricking process click the connect button on the IDE and say my camera is bricked.
by kwagyeman
Wed Sep 12, 2018 12:13 am
Forum: General Topics
Topic: i've follow the cmsisnn tutotrial,but don't work
Replies: 7
Views: 173

Re: i've follow the cmsisnn tutotrial,but don't work

Hi, is this in the script that generates the CNN? It will be hard to debug what is wrong without some context. Can you please provide info on how to re-produce?
by kwagyeman
Wed Sep 12, 2018 12:11 am
Forum: Project Discussion
Topic: OpenMV attached to spotting scope to record bullet hits?
Replies: 4
Views: 114

Re: OpenMV attached to spotting scope to record bullet hits?

Hi, I don't really know a great answer for you. I guess maybe something like this: https://www.amazon.com/Pixco-Mount-Lens-All-metal-Adapter/dp/B01E536ZZ6 And this? https://www.google.com/search?ei=npGYW9nvMOuq0gLz4oj4Dg&q=cs-mount+lens+250mm&oq=cs-mount+lens+250mm&gs_l=psy-ab.3...795.1616..1754...0...
by kwagyeman
Tue Sep 11, 2018 10:15 pm
Forum: Technical Discussion
Topic: Build OpenMV from source...
Replies: 8
Views: 127

Re: Build OpenMV from source...

Ibrahim may have some thoughts. He uses GDB with a STLink tool.
by kwagyeman
Tue Sep 11, 2018 9:14 pm
Forum: Technical Discussion
Topic: Build OpenMV from source...
Replies: 8
Views: 127

Re: Build OpenMV from source...

It outputs a binary file. The binary file has to be loaded on the OpenMV Cam using openmv-ide. You'll notice the openmv/firmware/OPENMV3 binary files were updated when you built. That's the result of the compile process.
by kwagyeman
Tue Sep 11, 2018 8:00 pm
Forum: Technical Discussion
Topic: Build OpenMV from source...
Replies: 8
Views: 127

Re: Build OpenMV from source...

Git clone --recursive <repo url>
by kwagyeman
Tue Sep 11, 2018 5:27 pm
Forum: Technical Discussion
Topic: Cannot Connect USB Device
Replies: 11
Views: 332

Re: Cannot Connect USB Device

In DFU mode the LEDs don't turn on. Can you follow the IDE prompts to try to recover the firmware? It shouldn't be bricked.

Note the green bootloader light should blink when you first plug the board in.
by kwagyeman
Tue Sep 11, 2018 1:35 pm
Forum: General Topics
Topic: using openmv for robot localization
Replies: 3
Views: 839

Re: using openmv for robot localization

Not at all. We can detect an unlimited number of AprilTags per frame and you will get a value equal to your distance away from each tag from our methods. However, the camera can't really determine the Z distance with that much accuracy. X and Y are much easier to be more precise about since that dir...
by kwagyeman
Mon Sep 10, 2018 7:41 pm
Forum: Project Discussion
Topic: OpenMV attached to spotting scope to record bullet hits?
Replies: 4
Views: 114

Re: OpenMV attached to spotting scope to record bullet hits?

Um, I think you can buy M12 to CS lens adapters. I'd look for an adapter that turns the lens from one to another. This will let you select whatever lens you want.

As for the rest of on the OpenMV. That depends on what you are trying to look at.
by kwagyeman
Mon Sep 10, 2018 7:14 pm
Forum: General Topics
Topic: AttributeError: 'Image' object has no attribute 'find_number'
Replies: 5
Views: 58

Re: AttributeError: 'Image' object has no attribute 'find_number'

Lenet I think doesn't run in the M7 due to lack of RAM. On the H7 it runs great.
by kwagyeman
Mon Sep 10, 2018 7:05 pm
Forum: General Topics
Topic: AttributeError: 'Image' object has no attribute 'find_number'
Replies: 5
Views: 58

Re: AttributeError: 'Image' object has no attribute 'find_number'

That method was removed after we got CNNs working. Where did you find that old code? It should have been temvoed from the release.
by kwagyeman
Mon Sep 10, 2018 1:17 pm
Forum: Technical Discussion
Topic: Functional advice: add UVC in P0 and P1
Replies: 3
Views: 89

Re: Functional advice: add UVC in P0 and P1

Actually, the STM32H7 has more endpoint than the F7. This may be possible without dropping any features.
by kwagyeman
Mon Sep 10, 2018 12:59 pm
Forum: Technical Discussion
Topic: Functional advice: add UVC in P0 and P1
Replies: 3
Views: 89

Re: Functional advice: add UVC in P0 and P1

Hmm, yeah, this could likely be done with the current USB port. The issue is a lack of hardware support on the ST chip for more than two endpoints. That said, we could make a new python method that turns the camera into a UVC device and drops the flash device on the board to free up an endpoint. If ...
by kwagyeman
Mon Sep 10, 2018 12:54 pm
Forum: General Topics
Topic: [fixed] draw_circle Fill=True Not Work
Replies: 3
Views: 68

Re: [fixed] draw_circle Fill=True Not Work

Hi, please use lowercase fill. Also, what firmware are you using? If you check our draw examples you'll see this works.
by kwagyeman
Mon Sep 10, 2018 12:53 pm
Forum: General Topics
Topic: M7 Case and Prototype board in the EU
Replies: 1
Views: 51

Re: M7 Case and Prototype board in the EU

Hi, please check our distributor links near the bottom of our home page. In particular, Robot Shop is likely your best bet.
by kwagyeman
Sat Sep 08, 2018 5:35 pm
Forum: General Topics
Topic: Does the openMV works like a web cam?
Replies: 3
Views: 116

Re: Does the openMV works like a web cam?

Hi, I see. Um, question. Are you using a data USB cable? On plugin to your PC the camera should appear as a USB flash drive. If this is not happening please check the USB cable you are using actually provides data and not just power.
by kwagyeman
Sat Sep 08, 2018 11:46 am
Forum: Technical Discussion
Topic: Changing Cameras Midway Through Code
Replies: 3
Views: 142

Re: Changing Cameras Midway Through Code

Yeah, just set the sensor pix format to grayscale and then skip a few frames.
by kwagyeman
Fri Sep 07, 2018 4:31 pm
Forum: Technical Discussion
Topic: Filesystem access, PC and pyb simultaneously
Replies: 9
Views: 277

Re: Filesystem access, PC and pyb simultaneously

Um, there's a frame buffer you can write to directly. However, you may need to edit our firmware to enable doing this. Um, see the allocate extra fb method under sensor. Once you do that you can send data to that FB via a receive call. That said, unless the data is in the right format the camera won...
by kwagyeman
Fri Sep 07, 2018 4:08 pm
Forum: Technical Discussion
Topic: Filesystem access, PC and pyb simultaneously
Replies: 9
Views: 277

Re: Filesystem access, PC and pyb simultaneously

Oh, use the serial port for that too. See the VCP USB class on our documentation.

That said you can't use OpenMV IDE when using this stuff. However, you can technically develop the code using the hardware UART and like and FTDI chip and then switch the UART to the USB one when done.
by kwagyeman
Fri Sep 07, 2018 4:06 pm
Forum: General Topics
Topic: Pins of Wifi Shield is NOT able to directly plugged into Cam M7 ?
Replies: 9
Views: 221

Re: Pins of Wifi Shield is NOT able to directly plugged into Cam M7 ?

The OpenMV Cam has no control over it's IP address assignment. So, you have to go into your routers to make it static.

Go to advanced search