Search found 3263 matches

by kwagyeman
Thu Sep 19, 2019 11:42 pm
Forum: Project Discussion
Topic: Tensorflow Updates?
Replies: 3
Views: 93

Re: Tensorflow Updates?

Hi Project_Sat, The work to allow tensor flow support on the OpenMV Cam was completed back in April. We have been working on a DRAM camera that will be really good for this. Using the internal SRAM is also possible. Anyway, this is what I can do... I can merge my PR for this soon. Once I do that the...
by kwagyeman
Thu Sep 19, 2019 12:18 pm
Forum: Project Discussion
Topic: Measuring misplacement of SMT components
Replies: 2
Views: 35

Re: Measuring misplacement of SMT components

Hi, sorry for not answering your post. Some questions I can't answer via my phone and then they just get lost to time. I will try to answer it in a a few hours.
by kwagyeman
Thu Sep 19, 2019 11:33 am
Forum: General Topics
Topic: Time lapse snapshot
Replies: 2
Views: 11

Re: Time lapse snapshot

Hi, if you use deep sleep in your script the computer will not be able to connect to the camera because the script turns the camera power off. Directly connect the USD card to the PC.
by kwagyeman
Thu Sep 19, 2019 3:53 am
Forum: Technical Discussion
Topic: How to split area of image
Replies: 1
Views: 23

Re: How to split area of image

Use the crop() method with the copy operation. If you need a second frame buffer call the alloc extra frame buffer method in the sensor module and pass that as the target of the copy operation.
by kwagyeman
Tue Sep 17, 2019 11:09 am
Forum: Project Discussion
Topic: Tensorflow Updates?
Replies: 3
Views: 93

Re: Tensorflow Updates?

Hi, I will merge my PR for this. Um, let me get back to you with a more detailed response. I long post requires a long response from me.
by kwagyeman
Sat Sep 14, 2019 3:41 pm
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 9
Views: 319

Re: Standard Lens FOV

Yeah, you have to edit the C code to do that however. Alternatively, just drop a library in python on the flash drive.
by kwagyeman
Sat Sep 14, 2019 1:52 pm
Forum: Technical Discussion
Topic: Saving Code in OpenMV
Replies: 3
Views: 160

Re: Saving Code in OpenMV

Just connect the camera without a sd card and it's internal flash appears.

...

This is all in the online documentation by the way...
by kwagyeman
Fri Sep 13, 2019 12:26 am
Forum: Project Discussion
Topic: Identifying the position of a moving animal
Replies: 11
Views: 9161

Re: Identifying the position of a moving animal

Hi, did you connect the two grounds between the two devices?

Note, you don't need to out the pin into DAC mode. You can use it as a regular GPIO. Try that instead of DAC mode. The pin might not be able to handle a large load in DAC mode and might expect a low impedance.
by kwagyeman
Thu Sep 12, 2019 10:29 pm
Forum: Technical Discussion
Topic: Process for building custom a model, training it, and deploying it to the OpenMV Cam H7
Replies: 13
Views: 6195

Re: Process for building custom a model, training it, and deploying it to the OpenMV Cam H7

You basically have to do everything from scratch right now. We will be offering TensorFlow support very soon but the tooling will be up to you still.
by kwagyeman
Thu Sep 12, 2019 2:11 am
Forum: Project Discussion
Topic: Trackable ID
Replies: 1
Views: 137

Re: Trackable ID

Hi, you have to build that up. We just supply a per frame detector. If you want the detection to run over multiple frames you need to write that code yourself.
by kwagyeman
Wed Sep 11, 2019 12:22 pm
Forum: General Topics
Topic: OpenIoE
Replies: 3
Views: 283

Re: OpenIoE

Um, I don't know about OpenIoe, but, we're almost done with the software for a OpenMV Cam board with 32 MB of SDRAM. Getting the performance up was a challenge but I think we've got it tuned in now. Basically, the SDRAM camera has no resolution limits anymore. High res image processing is slow howev...
by kwagyeman
Tue Sep 10, 2019 2:36 pm
Forum: Project Discussion
Topic: Moving object detection and tracking
Replies: 2
Views: 244

Re: Moving object detection and tracking

Just test out the frame differencing example scripts and then add find blobs to the scripts to look for color differences.
by kwagyeman
Tue Sep 10, 2019 2:34 pm
Forum: General Topics
Topic: OpenIoE
Replies: 3
Views: 283

Re: OpenIoE

Haha, yeah, well, we open sourced the thing so people could do this. The DRAM version is coming soon too.
by kwagyeman
Tue Sep 10, 2019 12:19 am
Forum: Technical Discussion
Topic: Process for building custom a model, training it, and deploying it to the OpenMV Cam H7
Replies: 13
Views: 6195

Re: Process for building custom a model, training it, and deploying it to the OpenMV Cam H7

Me and Ibrahim are finally working on the firmware after a long while. I have to finish up DRAM support and then this will be added to the firmware.
by kwagyeman
Tue Sep 10, 2019 12:18 am
Forum: General Topics
Topic: Problem with exposure time and FPS
Replies: 3
Views: 128

Re: Problem with exposure time and FPS

You can't change it from 9 FPS. As an export controlled product it's locked at that speed by FLIR.
by kwagyeman
Mon Sep 09, 2019 2:02 pm
Forum: General Topics
Topic: Problem with exposure time and FPS
Replies: 3
Views: 128

Re: Problem with exposure time and FPS

What's the IR sensor?

If it's the FLIR that doesn't have exposure control. Those values you are seeing would just be garbage then.

We should disable the implementation of the stubs in the FLIR code so exposure control methods error out...
by kwagyeman
Mon Sep 09, 2019 12:17 pm
Forum: Technical Discussion
Topic: Saving Code in OpenMV
Replies: 3
Views: 160

Re: Saving Code in OpenMV

Attach the SD card to the camera, plug the camera to the PC, connect with OpenMV IDE, then go to tools -> Save script to camera.
by kwagyeman
Mon Sep 09, 2019 11:50 am
Forum: General Topics
Topic: Sale of used OpenMV cams allowed on board?
Replies: 1
Views: 38

Re: Sale of used OpenMV cams allowed on board?

Sure, go ahead and ask. I'll make a sub forum if there's a lot of these posts.
by kwagyeman
Sun Sep 08, 2019 11:21 am
Forum: General Topics
Topic: OSError: Failed to init the MLX90640!
Replies: 2
Views: 8765

Re: OSError: Failed to init the MLX90640!

I just verified this works with the STM32H7. Are your I2C lines swapped?
by kwagyeman
Sun Sep 08, 2019 11:13 am
Forum: General Topics
Topic: OSError: Failed to init the MLX90640!
Replies: 2
Views: 8765

Re: OSError: Failed to init the MLX90640!

Hi, your post got lost in the forum noise. Is this still broken?
by kwagyeman
Sat Sep 07, 2019 8:06 pm
Forum: Technical Discussion
Topic: Use OpenMW H7 with PX4Flow
Replies: 1
Views: 59

Re: Use OpenMW H7 with PX4Flow

Not sure what you are trying to do. Don't power the PXFlow through an I/O pin on the OpenMV Cam. This will destroy your camera.

Um, if you want to connect their interfaces, the OpenMV Cam works fine as a SPI or I2C master.
by kwagyeman
Fri Sep 06, 2019 3:25 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 16
Views: 5831

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

I'm going to try out a fix on Saturday that should massively improve performance. I can make fballoc which we use to alloc memory target the sram for things that fit in sram and sdram for things that are bigger. This should give the best of both worlds, speed and space. I should be able to get april...
by kwagyeman
Fri Sep 06, 2019 12:42 pm
Forum: Technical Discussion
Topic: Creating custom AprilTags
Replies: 3
Views: 107

Re: Creating custom AprilTags

I built the tag generator into the IDE because there are no websites that generate apriltags. Anyway, the tags only store a number. They are not qrcodes. Um, you can use different tag families and the numbers in the tags to encode lots of things. I think we support over 5k tags that way. Otherwise, ...
by kwagyeman
Thu Sep 05, 2019 10:53 am
Forum: General Topics
Topic: DFU programmation with openmvide
Replies: 3
Views: 200

Re: DFU programmation with openmvide

No, I always bootload using the USB port. I use the ST DFU tool.
by kwagyeman
Thu Sep 05, 2019 10:52 am
Forum: Technical Discussion
Topic: True dimension / ISO-Constraints
Replies: 3
Views: 2896

Re: True dimension / ISO-Constraints

And what does this have to do with OpenMV?
by kwagyeman
Wed Sep 04, 2019 12:01 pm
Forum: General Topics
Topic: DFU programmation with openmvide
Replies: 3
Views: 200

Re: DFU programmation with openmvide

We use ST's DFU tool in windows. What's the error exactly?
by kwagyeman
Wed Sep 04, 2019 12:00 pm
Forum: Technical Discussion
Topic: New firmware release
Replies: 8
Views: 1483

Re: New firmware release

You pay the $15 for a license key since it's a clone. We stopped making the M7 a while ago. The IDE has a link to buy a board key online via our website...
by kwagyeman
Wed Sep 04, 2019 2:22 am
Forum: General Topics
Topic: How to make the people counter
Replies: 8
Views: 1779

Re: How to make the people counter

By hysteresis I mean... like, only say it's going down if it passes the low position in one direction during an update and if the state of the blob was not going down and only up if it passes the high position during an update and if the state of the blob was not going up. This prevents triggering m...
by kwagyeman
Wed Sep 04, 2019 2:06 am
Forum: General Topics
Topic: How to make the people counter
Replies: 8
Views: 1779

Re: How to make the people counter

I don't actually know. Generally, you try to break the problem down and think of something that may work. This might work... 1. For every frame detect all the blobs and then add new blobs that meet a threshold quality of "goodness" (for you to decide what that is) into a global tracked blob list. 2....
by kwagyeman
Tue Sep 03, 2019 4:50 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 16
Views: 5831

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

The H7 SDRAM bus runs at 80MHz with 16bits of data. Compared to a 480MHz bus with 64-bits of data. We have some knobs we can turn to get this up to 32-bits at 120 MHz but that will be the max. Please remember that we are not using an application processor with a DDR3 RAM interface and L1/L2 cache su...
by kwagyeman
Tue Sep 03, 2019 3:43 pm
Forum: Technical Discussion
Topic: Optimal Settings - Outdoor Frame Differencing
Replies: 4
Views: 167

Re: Optimal Settings - Outdoor Frame Differencing

I suggest optimizing one system at a time. First get exposure control working over the course of a day. As for gain control I recommend to just make that low and not to have a lot of gain. Gain in the image just causes noise in the picture making your job harder. I'd turn off auto gain control and s...
by kwagyeman
Tue Sep 03, 2019 2:48 pm
Forum: Technical Discussion
Topic: Optimal Settings - Outdoor Frame Differencing
Replies: 4
Views: 167

Re: Optimal Settings - Outdoor Frame Differencing

There's not really an optimal settings sure approach for this. You basically will need to collect data and then develope your own algorithm for how to do this. It's very labor intensive and is going to take you a lot of time and testing. You can use the get_stats() method to automate changing camera...
by kwagyeman
Tue Sep 03, 2019 10:43 am
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 16
Views: 5831

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

Hi, we just got this working. High res apriltag support is now all done. The frame rate is a problem however. The SDRAM is currently about 24x slower than internal memory. So, you get frame rates at UXGA that are like 0.2 Hz. This is to be expected however. At QQVGA the frame rate is still bad at li...
by kwagyeman
Tue Sep 03, 2019 1:43 am
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 9
Views: 319

Re: Standard Lens FOV

See the examples and the API please. :)
by kwagyeman
Mon Sep 02, 2019 7:16 pm
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 9
Views: 319

Re: Standard Lens FOV

Oh, this is easy to fix with the OpenMV Cam. Just pass multiple color thresholds to the threshold list for find_blobs(). This allows you to make each threshold setting much tighter than normal to bound the color you want to track. Then use the merge/margin parameters of find_blobs() to have the blob...
by kwagyeman
Mon Sep 02, 2019 5:03 pm
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 9
Views: 319

Re: Standard Lens FOV

Hi, you can get and set pixels, but, it's quite slow. What are you try to do?
by kwagyeman
Mon Sep 02, 2019 11:49 am
Forum: General Topics
Topic: Changing EMAIL on the shopping site
Replies: 1
Views: 92

Re: Changing EMAIL on the shopping site

I can do that. Um, email us via openmv@openmv.io your account to modify.
by kwagyeman
Sun Sep 01, 2019 6:56 pm
Forum: Technical Discussion
Topic: Error: Images not Equal
Replies: 5
Views: 248

Re: Error: Images not Equal

What firmware version are you running?
by kwagyeman
Sun Sep 01, 2019 12:17 pm
Forum: Technical Discussion
Topic: Grayscale Blob Detection
Replies: 3
Views: 93

Re: Grayscale Blob Detection

Thresholds is a list of grayscale upper and lower tuples. [(100, 255), (0, 50)] and etc. All pixels with values in it are considered part of a blob, all pixels out of it are not the blob. The API is clear on this... Pixels_threshold removes blobs that are too small (e.g. noise) from the list of outp...
by kwagyeman
Sat Aug 31, 2019 1:04 pm
Forum: General Topics
Topic: Timer Counter not counting
Replies: 5
Views: 2243

Re: Timer Counter not counting

Which timer? On which pin?
by kwagyeman
Thu Aug 29, 2019 10:51 am
Forum: Project Discussion
Topic: People counter using openmv
Replies: 1
Views: 807

Re: People counter using openmv

As far as I know our system can't do that easily. Um, people counting really needs a CNN to be done well. It's really a TensorFlow thing.
by kwagyeman
Wed Aug 28, 2019 5:04 pm
Forum: Technical Discussion
Topic: Best approach for detecting motion
Replies: 4
Views: 996

Re: Best approach for detecting motion

As mentioned previously, frame differencing plus blob detection.
by kwagyeman
Wed Aug 28, 2019 2:28 pm
Forum: Technical Discussion
Topic: Best approach for detecting motion
Replies: 4
Views: 996

Re: Best approach for detecting motion

Hi Jimmy, Generally, you're not going to get the best results for what you want to do no matter what as you're trying to use the camera in a non-controlled environment. If you can't predict what's going to be in-front of it you'll get a lot of false positives. Deep learning an AI really help on this...
by kwagyeman
Wed Aug 28, 2019 1:45 pm
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 565

Re: backup memory during low power mode

Cool! Glad to see it worked. Ibrahim just fixed deep sleep on the H7. It will be fixed in the next firmware release.
by kwagyeman
Tue Aug 27, 2019 3:08 pm
Forum: Project Discussion
Topic: Detectign a rhombus (rotated square).
Replies: 4
Views: 1443

Re: Detectign a rhombus (rotated square).

You have to filter out the detections of what you aren't interested in by looking at the properties of the rectangles returned and rejecting ones that don't fit what you want. Please see the standard python 3 filter method.
by kwagyeman
Tue Aug 27, 2019 2:13 pm
Forum: Technical Discussion
Topic: Tough to get exposure correct
Replies: 2
Views: 3603

Re: Tough to get exposure correct

Hi, I made the camera driver better recently in the latest firmware about to come out. What boards do you have? I can upload the latest firmware for them here.
by kwagyeman
Tue Aug 27, 2019 2:11 pm
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 565

Re: backup memory during low power mode

Read the chip reference manual. Linked to on the product page for what you need to do.
by kwagyeman
Tue Aug 27, 2019 2:11 pm
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 565

Re: backup memory during low power mode

Use the stm module and manually do register accesses.

e.g.

stm.mem32[address] = value
by kwagyeman
Tue Aug 27, 2019 2:09 pm
Forum: General Topics
Topic: Using Find_rects with Global Shutter
Replies: 5
Views: 1368

Re: Using Find_rects with Global Shutter

I just got the first board we built working. A commit to GitHub for support will come soon. Performance is about 24x slower than internal SRAM at the moment so it's not really breaking speed records. If we redo the board design and make the RAM bus wider I think we can hit a memory speed that's 8x s...
by kwagyeman
Tue Aug 27, 2019 2:08 pm
Forum: Project Discussion
Topic: Detectign a rhombus (rotated square).
Replies: 4
Views: 1443

Re: Detectign a rhombus (rotated square).

Have you seen the find_rectangles() command? It finds rectangles with sharp white to black borders.

Go to advanced search