Search found 1168 matches

by kwagyeman
Tue Nov 21, 2017 11:21 am
Forum: Project Discussion
Topic: Growth rings from timber
Replies: 3
Views: 38

Re: Growth rings from timber

I see the example... Mmm, I think you'll need a feature detector for this particular kind of thing. No simple algorithm is going to work for this. By a feature detector I mean a Haar Cascade or something like that. We're going to be pushing out a lot of better AI like feature next year. But, right n...
by kwagyeman
Tue Nov 21, 2017 11:06 am
Forum: General Topics
Topic: Newbie OpenMV Arduino I2C
Replies: 15
Views: 1056

Re: Newbie OpenMV Arduino I2C

Hi Mustafa, I'm on vacation for Thanksgiving right now. I will try to help you as much as I can... but, I don't have an Arduino with me. More over, you're basically asking me to do your project for you and you don't give me any feedback on what was wrong previously. I can't / don't really want to he...
by kwagyeman
Mon Nov 20, 2017 11:15 pm
Forum: Technical Discussion
Topic: Newly bought Wifi Shield hanged
Replies: 12
Views: 222

Re: Newly bought Wifi Shield hanged

Please contact us for a replacement if this is the case.
by kwagyeman
Mon Nov 20, 2017 11:15 pm
Forum: Project Discussion
Topic: Open MV Pan and Tilt
Replies: 8
Views: 52

Re: Open MV Pan and Tilt

Please see the servo shield product page and click on the specs tab.
by kwagyeman
Mon Nov 20, 2017 1:11 pm
Forum: Technical Discussion
Topic: some question
Replies: 1
Views: 7

Re: some question

Hi, we don't have a ROS wrapper.

As for reading a particular pixel of the image. Do, img.get_pixel(x, y).

All of this is documented in the image module documentation here: http://docs.openmv.io/library/omv.image.html
by kwagyeman
Mon Nov 20, 2017 1:09 pm
Forum: Technical Discussion
Topic: Source Code on MicroSD
Replies: 3
Views: 45

Re: Source Code on MicroSD

Micropython supports a frozen bytcode feature. Would you consider that secure? We can get that feature working very easily. We don't compile it in but it would be not a lot of a work to add. With frozen bytecode MP runs a compiled byte code program. So, the python source is not visible. That said, i...
by kwagyeman
Mon Nov 20, 2017 1:06 pm
Forum: Project Discussion
Topic: Open MV Pan and Tilt
Replies: 8
Views: 52

Re: Open MV Pan and Tilt

Hi, there are multiple examples on the forums of how to send face detection results out through the serial port. This is very easy. Here's a script to do it attached:

Re the previous comment, you need to setup the color tracking thresholds. I was just giving you some example code.
by kwagyeman
Sun Nov 19, 2017 8:04 pm
Forum: Project Discussion
Topic: Open MV Pan and Tilt
Replies: 8
Views: 52

Re: Open MV Pan and Tilt

Ah, I see. So, for these DC motors... Can you tell me how you go about holding the pan and tilt device in one position with them? Do you have some type of feedback on the motor position to close a loop? If so, then you'll want an Arduino for the motor control.
by kwagyeman
Fri Nov 17, 2017 9:52 pm
Forum: General Topics
Topic: how to write UART interrupt callback code?
Replies: 8
Views: 85

Re: how to write UART interrupt callback code?

Not quite sure what you are doing.
by kwagyeman
Fri Nov 17, 2017 11:28 am
Forum: General Topics
Topic: how to write UART interrupt callback code?
Replies: 8
Views: 85

Re: how to write UART interrupt callback code?

Hi, python requires you to make a variable as global if you are changing a variable outside of function.

So do:

Global flag

As the first line of the interrupt call back method.
by kwagyeman
Fri Nov 17, 2017 11:26 am
Forum: Project Discussion
Topic: Object orientation estimation
Replies: 7
Views: 103

Re: Object orientation estimation

Um, no, the rotation correction is fast. It just takes an angle to derotate by which you must deduce first. You can get above 30 FPs when doing rotation correction. So, I'm saying you just have to try out different derotate values by hand until you find one that works for you. Then you just derotate...
by kwagyeman
Fri Nov 17, 2017 11:24 am
Forum: Technical Discussion
Topic: 2D map generation with jevois or openMV.
Replies: 1
Views: 25

Re: 2D map generation with jevois or openMV.

We can't do SLAM to generate a 3D map of the room. This requires sensors that can generate structured light. See something like this:

https://structure.io/?gclid=CjwKCAiArrr ... IwQAvD_BwE
by kwagyeman
Fri Nov 17, 2017 12:03 am
Forum: Technical Discussion
Topic: Upgrading to 1.9.3
Replies: 6
Views: 66

Re: Upgrading to 1.9.3

Um, this might be possible if it's not too painful. I'm stuck right now trying to release v2.6. I've finished the IDE but I have to redo a lot of documentation work which is taking forever since there are so many events at the end of the year. Note that I've found an issue with v2.6 where my SD card...
by kwagyeman
Thu Nov 16, 2017 11:59 pm
Forum: Technical Discussion
Topic: How can uart1 of M7 OPENMV work?
Replies: 8
Views: 809

Re: How can uart1 of M7 OPENMV work?

Ibrahim, can you take a look at this?
by kwagyeman
Thu Nov 16, 2017 11:58 pm
Forum: General Topics
Topic: how to write UART interrupt callback code?
Replies: 8
Views: 85

Re: how to write UART interrupt callback code?

Hi, to print to the UART you need to do: def print_X1(line): red_led.toggle()#print("X1 is pressed") uart.write("X1 is pressed") That said... the UART blocks when it's full of bytes and you're going to crash the system with that code. Also, make sure to initialize the uart like so: uart = UART(3, 19...
by kwagyeman
Thu Nov 16, 2017 11:53 pm
Forum: Technical Discussion
Topic: Waking from pyb.stop() ?
Replies: 3
Views: 18

Re: Waking from pyb.stop() ?

We haven't actually built out this feature on the firmware. Um, with firmware version 2.6 I believe this is working much better. Ibrahim will have to comment on this. I've pinged him. ... As a side note, I'm sorry about the bugs on this. There's a lot of code to maintain and we run the company in ou...
by kwagyeman
Thu Nov 16, 2017 12:00 pm
Forum: General Topics
Topic: Data from OpenMV cam7 to MATLAB
Replies: 3
Views: 81

Re: Data from OpenMV cam7 to MATLAB

Hi, I'm going to work on some software to help you on this. You really need to be more verbose about what you mean by transfer data into Matlab though. That literally means anything.
by kwagyeman
Thu Nov 16, 2017 11:58 am
Forum: Project Discussion
Topic: Open MV Pan and Tilt
Replies: 8
Views: 52

Re: Open MV Pan and Tilt

Hi, we sell a servo shield on our website. Please drop the Arduino from the loop. You don't need it.

https://openmv.io/products/servo-shield
by kwagyeman
Thu Nov 16, 2017 11:12 am
Forum: Technical Discussion
Topic: How long to update firmware?
Replies: 5
Views: 43

Re: How long to update firmware?

Oh, yeah, I see the issue. You need udev permissions to use the library. Mmm. Um, did you by chance have follow the install guide here: http://docs.openmv.io/openmvcam/tutorial/software_setup.html One of the steps involves installing udev rules. That said, please also try the other bootloader method...
by kwagyeman
Thu Nov 16, 2017 11:07 am
Forum: General Topics
Topic: Auto focus
Replies: 2
Views: 39

Re: Auto focus

Motorized lens mount exists but are expensive. You can buy them yourself as an after market add-on.
by kwagyeman
Thu Nov 16, 2017 3:00 am
Forum: General Topics
Topic: Newbie OpenMV Arduino I2C
Replies: 15
Views: 1056

Re: Newbie OpenMV Arduino I2C

Hi, here's code that emulates the CMUcam5 Pixy. It show's how to use the OpenMV Cam pretty well. Finally, the Pixy library can then be used by you on the Arduino. I've attached the Pixy library. See the UART pixy example. You don't need all the code below for whatever your application is, so, feel f...
by kwagyeman
Thu Nov 16, 2017 2:52 am
Forum: Technical Discussion
Topic: Source Code on MicroSD
Replies: 3
Views: 45

Re: Source Code on MicroSD

There's no way to do this right now. It's possible however since the STM32 CPU has OTP bits in it for securing the device. That said, we haven't built out support for this feature. As for updating the firmware through the SD card... mmm, that might be possible but we don't implement that either. The...
by kwagyeman
Thu Nov 16, 2017 2:47 am
Forum: Project Discussion
Topic: Feasibility of using OpenMV in a bean sorter
Replies: 3
Views: 161

Re: Feasibility of using OpenMV in a bean sorter

Woah, sorry, I forgot to answer more on this thread. I'm very sorry. You need to ping me sometimes since I get a little overloaded.

Are you still working on this and do you need help?
by kwagyeman
Thu Nov 16, 2017 2:45 am
Forum: Technical Discussion
Topic: How long to update firmware?
Replies: 5
Views: 43

Re: How long to update firmware?

Hi, sorry for you running into this. This process isn't straight forward for everyone. So, since the connect process did not complete immediately nothing was going on. So, you should have pressed cancel. The IDE should have prompted you to use DFU mode to re-program the camera then. Anyway, if you w...
by kwagyeman
Wed Nov 15, 2017 11:29 am
Forum: Technical Discussion
Topic: Statistics or Histogram of Blob
Replies: 2
Views: 27

Re: Statistics or Histogram of Blob

Hi, so, just use the rect() method from the blob and feed that to the ROI parameter of get_statistics.

E.g.

Stats = img.get_statistics(roi=blob.rect())
by kwagyeman
Wed Nov 15, 2017 11:27 am
Forum: General Topics
Topic: Newbie OpenMV Arduino I2C
Replies: 15
Views: 1056

Re: Newbie OpenMV Arduino I2C

Hi, this is very easy to do if you can use one of the Arduino Mega's serial ports. Note, we also have example code shipped with the IDE for how to connect the camera to an Arduino. Anyway, can you connect the serial port of the OpenMV Cam to the one of the extra serial ports on the Arduino Mega? I'm...
by kwagyeman
Wed Nov 15, 2017 1:49 am
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 69

Re: frames/second

Hi, the code you posted isn't doing what you think. I believe you want this: import sensor, image, time sensor.reset() # Reset and initialize the sensor. sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to GRAYSCALE. sensor.set_framesize(sensor.VGA) # Set frame size to QVGA (640x480) sensor...
by kwagyeman
Tue Nov 14, 2017 11:04 am
Forum: Technical Discussion
Topic: Different ways for camera reset
Replies: 3
Views: 105

Re: Different ways for camera reset

Got it, but please open a bug on our GitHub so it's track and so we can get this fixed for you.
by kwagyeman
Tue Nov 14, 2017 11:03 am
Forum: Project Discussion
Topic: Growth rings from timber
Replies: 3
Views: 38

Re: Growth rings from timber

Hi, I can't quite figure out what the problem is. Can you post some pictures of what you are trying to do so I can get a better idea?
by kwagyeman
Tue Nov 14, 2017 3:24 am
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 69

Re: frames/second

Yes, that FPS should be very stable. Um, does the FPS continue to vary wildly throughout the runtime of the script or just at the beginning?
by kwagyeman
Mon Nov 13, 2017 10:22 pm
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 69

Re: frames/second

Hi, the FPS should be pretty stable. Which FPS number are you talking about? The one printed in the terminal is the actual FPS, the one printed on the IDE is how fast the IDE samples the camera frame buffer. The speed at which the IDE samples the frame buffer is highly variable depending on your com...
by kwagyeman
Sat Nov 11, 2017 10:38 am
Forum: Project Discussion
Topic: X Y Speed detection
Replies: 3
Views: 63

Re: X Y Speed detection

Hi, with the M7 processor you might be able to get about 56 FPS using find_displacement with a 32x32 image. The kind of application you are trying to do seems like something you'd need a really high end camera for. Can you describe your setup for the camera better?
by kwagyeman
Fri Nov 10, 2017 1:10 am
Forum: Technical Discussion
Topic: Program unable to run independently on camera
Replies: 1
Views: 35

Re: Program unable to run independently on camera

Hi, make the "uart = pyb.UART(3, 115200)" read as "uart = pyb.UART(3, 115200, timeout_char=1000)". Also, update to firmware version 2.6 here: https://github.com/openmv/openmv/releases. Use the OPENMV3/firmware.bin to update your OpenMV Cam. You're encountering a bug with the OpenMV Cam not saving th...
by kwagyeman
Thu Nov 09, 2017 12:59 pm
Forum: General Topics
Topic: OpenMV M7 Fritzing part
Replies: 1
Views: 43

Re: OpenMV M7 Fritzing part

Nope, if you make one we'll link to it however.

All our media assets are in this repo:

https://github.com/openmv/openmv-media/ ... nmv-cam/v3
by kwagyeman
Thu Nov 09, 2017 11:07 am
Forum: General Topics
Topic: QR code Scan
Replies: 1
Views: 46

Re: QR code Scan

Hi, use the http://docs.openmv.io/library/omv.image ... age.negate method or invert() method on the image before calling the find_qrcodes() method.
by kwagyeman
Wed Nov 08, 2017 11:01 am
Forum: General Topics
Topic: Data from OpenMV cam7 to MATLAB
Replies: 3
Views: 81

Re: Data from OpenMV cam7 to MATLAB

What's the point of this? And, yes, you can transmit images over the USB serial port in real time at the same speed OpenMV IDE receives images normally. That said, you have to write your own code to receive the image.
by kwagyeman
Tue Nov 07, 2017 6:55 pm
Forum: Technical Discussion
Topic: can the openMV M7 cam do this?
Replies: 1
Views: 57

Re: can the openMV M7 cam do this?

Oh, yeah, we can do this. Actually, I plan to port one of the small nueral network libraries to the camera to drive it in the future versus a PID loop. Getting tired of PID as a control system. It will be much easier to use a NN on just a few numeric inputs. Anyway, um, so, I suppose you saw the lin...
by kwagyeman
Tue Nov 07, 2017 10:55 am
Forum: Technical Discussion
Topic: Multitasking Possible?
Replies: 1
Views: 37

Re: Multitasking Possible?

MicroPython added a feature for this but I'm pretty sure we don't enable it. Just make a timer interrupt call back that moves bytes into a larger fifo buffer the main thread can process. See the timer module for how to do interrupt call backs.
by kwagyeman
Tue Nov 07, 2017 10:52 am
Forum: General Topics
Topic: Database in OpenMV
Replies: 4
Views: 73

Re: Database in OpenMV

Um, so, do you need a database for python on the OpenMV Cam or a way to install third party libraries using OpenMV IDE.

As for a database on python I think MicroPython added this:http://docs.micropython.org/en/v1.9.2/e ... btree.html

The next OpenMV Cam release includes this new feature.
by kwagyeman
Tue Nov 07, 2017 12:24 am
Forum: Technical Discussion
Topic: trained haar classifier could not run properly
Replies: 26
Views: 1563

Re: trained haar classifier could not run properly

Mind posting what steps you got to get it working?
by kwagyeman
Mon Nov 06, 2017 10:59 am
Forum: General Topics
Topic: Database in OpenMV
Replies: 4
Views: 73

Re: Database in OpenMV

Um, are you looking to add stuff to the general next gen release of OpenMV IDE, or just for one machine, or for a bunch of machines? Let me know ASAP since I'm preparing the next release and can add a new feature. Please tell me the use case and etc. Details.
by kwagyeman
Sun Nov 05, 2017 5:10 pm
Forum: General Topics
Topic: distance Meter
Replies: 8
Views: 114

Re: distance Meter

The number is now printed on the screen. It's not going to look like what you want right now since we don't support face tracking with color images yet. There's no technical limit for this... the front end for parsing images during face tracking simply doesn't convert the image to grayscale yet. # F...
by kwagyeman
Sun Nov 05, 2017 2:02 pm
Forum: General Topics
Topic: distance Meter
Replies: 8
Views: 114

Re: distance Meter

This kind of works. You get distances which are farther as the face gets smaller... and smaller as the face gets larger. Please put some effort into using the system. I can't do the code for you. I was able to find a solution for this with very little effort by just googling for how to get the dista...
by kwagyeman
Sat Nov 04, 2017 6:58 pm
Forum: Technical Discussion
Topic: Motion Detection
Replies: 1
Views: 41

Re: Motion Detection

1. Yeah, so, I just picked a parameter that appeared to work. After you do the difference() you have a whole image to work with. There's pretty much an endless amount of stuff you can do to compare between them. Using max() on the lighting channel of the whole image is simply a way of checking the g...
by kwagyeman
Sat Nov 04, 2017 5:42 pm
Forum: General Topics
Topic: distance Meter
Replies: 8
Views: 114

Re: distance Meter

Hi, can you give me some idea in a rather long write up what you need. The camera can kind of measure distance but not really.
by kwagyeman
Sat Nov 04, 2017 3:19 pm
Forum: General Topics
Topic: Relay Shield
Replies: 3
Views: 48

Re: Relay Shield

We could make something like that. What stuff would you like on it? That said, keeping the BOM on it low will be hard. We do have a motor shield in the works. It got delayed but I should get a prototype unit back soon.
by kwagyeman
Sat Nov 04, 2017 2:54 am
Forum: General Topics
Topic: M7 Benchmark Performance
Replies: 2
Views: 42

Re: M7 Benchmark Performance

Oh, actually, I have no info on wifi performance. The system is likely not very great in that since it's basically a second thought at the moment.
by kwagyeman
Sat Nov 04, 2017 2:52 am
Forum: General Topics
Topic: M7 Benchmark Performance
Replies: 2
Views: 42

Re: M7 Benchmark Performance

Yes: https://blog.classycode.com/esp32-float ... 9f6f567a69.

It's the highest end MCU available, the M7.

Go to advanced search