Search found 2041 matches

by kwagyeman
Wed Jul 18, 2018 2:05 am
Forum: General Topics
Topic: How to do curve fitting on detected blob
Replies: 3
Views: 12

Re: How to do curve fitting on detected blob

Mmm, so, we really just have that and:

https://docs.openmv.io/library/omv.imag ... regression

Would you be okay with calling get regression on multiple blob clusters to get mx/my values between multiple clusters and then do the rest in python yourself?
by kwagyeman
Tue Jul 17, 2018 5:21 pm
Forum: General Topics
Topic: Run code on prerecorded video
Replies: 1
Views: 13

Re: Run code on prerecorded video

See Examples - video Recording - Image writer.
by kwagyeman
Tue Jul 17, 2018 4:47 pm
Forum: Technical Discussion
Topic: Video Feed
Replies: 1
Views: 9

Re: Video Feed

Hi, the serial protocol is in this script: https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py And this one shows how to use it. https://github.com/openmv/openmv/blob/master/tools/pyopenmv_fb.py Note that you can roll your own custom protocol too and whatnot. You can just send data out th...
by kwagyeman
Mon Jul 16, 2018 1:44 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

The ROI passed to find features is not displayed. It just tells the method where to work on in the image.
by kwagyeman
Mon Jul 16, 2018 1:43 pm
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 105

Re: Use the OpenMV cam M7 with CMSIS-NN

Yeah, the network is to big to run the M7. The CNN stuff runs much better on the H7. The MP heap on the M7 is only 128KB and that's shared with everything else going on. On the H7 it increases to 256KB. That said, lenet is usually the network that doesn't fit. the Smile network must not fit because ...
by kwagyeman
Mon Jul 16, 2018 1:41 pm
Forum: Technical Discussion
Topic: Circle Detection and Differentiating circle size
Replies: 7
Views: 46

Re: Circle Detection and Differentiating circle size

See the Examples -> Pixy Emulation -> UART Color Tracking script for UART control examples.
by kwagyeman
Mon Jul 16, 2018 1:39 pm
Forum: Technical Discussion
Topic: save before programming
Replies: 1
Views: 12

Re: save before programming

Hi, the IDE can reload the firmware at any time using DFU. You cannot brick the device. If you need to reflash the system you can git the latest firmware image from the release page on our git hub and then you can use the Tools->Run Bootloader to program the camera using the DFU file.
by kwagyeman
Mon Jul 16, 2018 1:13 am
Forum: General Topics
Topic: Python3 compatible OpenMV-IDE ...
Replies: 1
Views: 16

Re: Python3 compatible OpenMV-IDE ...

Um, PR to the github?
by kwagyeman
Sun Jul 15, 2018 1:13 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

Find features takes an ROI: Pass roi=(0, 0, 240, 120) to find_features. Note that the ROI is in the upper left of the image. You'll want to adjust the x/y values to fix that if you want the ROI to start elsewhere.
by kwagyeman
Sun Jul 15, 2018 1:11 pm
Forum: Technical Discussion
Topic: Circle Detection and Differentiating circle size
Replies: 7
Views: 46

Re: Circle Detection and Differentiating circle size

Hi, the find_circles method returns a list of circle objects. If you want to get the max sized circle from that list you simply do: circles = img.find_circles(...) if circles: largest_circles = max(circles, key = lambda x: x.r()) Or something like that. Um, if you need help with the python code just...
by kwagyeman
Sat Jul 14, 2018 9:54 pm
Forum: Technical Discussion
Topic: Blue Spot On The Image
Replies: 3
Views: 19

Re: Blue Spot On The Image

No, this would be IR light leaking through the back of the PCB. Just add some black tape to the back of the sensor. A manufacturing screw up lead to 2.5K cameras getting out without the sticker on the back of them to block light from the back of the PCB.
by kwagyeman
Sat Jul 14, 2018 9:54 pm
Forum: Technical Discussion
Topic: Blue Spot On The Image
Replies: 3
Views: 19

Re: Blue Spot On The Image

No, this would be IR light leaking through the back of the PCB. Just add some black tape to the back of the sensor. A manufacturing screw up lead to 2.5K cameras getting out without the sticker on the back of them to block light from the back of the PCB.
by kwagyeman
Sat Jul 14, 2018 5:47 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

So, the method takes an ROI. Make the ROI a 3:2 area (240x160).
by kwagyeman
Sat Jul 14, 2018 5:45 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

Hi, that was the case of the M4. Not anymore. Um, just make sure the res is some form of 3:2.
by kwagyeman
Sat Jul 14, 2018 3:09 pm
Forum: General Topics
Topic: How to get camera out of the plastic case.
Replies: 1
Views: 35

Re: How to get camera out of the plastic case.

Hi, on the left side of the case there are two holes for a flat head screw driver. Stick the screw driver in those two holes and turn it. The case should pop off.
by kwagyeman
Sat Jul 14, 2018 3:08 pm
Forum: Technical Discussion
Topic: Circle Detection and Differentiating circle size
Replies: 7
Views: 46

Re: Circle Detection and Differentiating circle size

Have you tried out the find_circles example under feature detection in the IDE? If so, you just have to choose the circle from the list of circle objects that has the largest radius. Please see the find circles example to get started.
by kwagyeman
Sat Jul 14, 2018 3:07 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

As of right now there is not. However, if you set the resolution to something like QVGA and then set_windowing to a square res and then rotate that and then use an ROI of 240x160 you should get the results you want on the image.
by kwagyeman
Sat Jul 14, 2018 3:05 pm
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 264

Re: Finding AprilTags at a distance

Yes, it returns that as well. Please see the documentation: http://docs.openmv.io/library/omv.image ... e.apriltag
by kwagyeman
Sat Jul 14, 2018 3:04 pm
Forum: Technical Discussion
Topic: Unbeilevably Huge Light Leak on OpenMV Cam
Replies: 1
Views: 19

Re: Unbeilevably Huge Light Leak on OpenMV Cam

Hi, the camera should have come with a sticker on the back of it. However, there was a manufacturing issue with a previous batch where some cams go out without the tape on them. Anyway, black electrical tape fixes the issue... or a black sticker on the back off the camera. The tap should not come of...
by kwagyeman
Sat Jul 14, 2018 3:02 pm
Forum: Technical Discussion
Topic: Can't Save Script to OpenMV Cam
Replies: 1
Views: 9

Re: Can't Save Script to OpenMV Cam

Mmm, it's probably an issue with the OS not flushing writes to the disk. Please try this. Do the save script to the OpenMV Cam method. Then safety remove the drive (unmount, etc). The script should be saved then when you unplug and replug the board.
by kwagyeman
Fri Jul 13, 2018 12:51 am
Forum: Technical Discussion
Topic: how to detect the water line
Replies: 7
Views: 62

Re: how to detect the water line

Okay, when you have some pictures from the camera's point of view I'll be able to help more. Note that what you are trying to do is very hard... even with a CNN it's still hard.
by kwagyeman
Thu Jul 12, 2018 3:37 pm
Forum: Technical Discussion
Topic: Open a video file from computer with OpenMV IDE
Replies: 8
Views: 160

Re: Open a video file from computer with OpenMV IDE

Ah, yeah, the res of the video is limited on the camera. Um, make a github issue on the IDE to support resolution changes with FFMPEG.
by kwagyeman
Thu Jul 12, 2018 3:36 pm
Forum: General Topics
Topic: General MV questions
Replies: 3
Views: 52

Re: General MV questions

Hi, please see this:

https://openmv.io/blogs/news
by kwagyeman
Thu Jul 12, 2018 3:35 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

Yes, just do: print(img.compress(quality=90),end="") You'll get a JPG byte stream. You may wish to send the size of the jpg byte stream first however. img.compress(quality=90) print(str(img.size()) + \n) print(img,end="") You'd then scanf to get the size in bytes and then read that many bytes next.
by kwagyeman
Thu Jul 12, 2018 2:03 am
Forum: Technical Discussion
Topic: Benefits of using floats for reporting blob location
Replies: 2
Views: 23

Re: Benefits of using floats for reporting blob location

I could do that. Um, right now I'm in the middle of doing the H7 kickstarter campagin. Would you be interested in submitting a PR for what you want? Adding it is quite simple: Add the new values here: https://github.com/openmv/openmv/blob/master/src/omv/img/imlib.h#L1052 Set them here (also update t...
by kwagyeman
Wed Jul 11, 2018 7:27 pm
Forum: General Topics
Topic: How to make the people counter
Replies: 4
Views: 63

Re: How to make the people counter

Ah, that's just frame differencing with blob tracking. See the frame differencing example scripts and then call find_blobs on the difference image to find all the blobs. That said, this just gets you where people blobs are... The next step is to determine up and down direction. This requires you to ...
by kwagyeman
Wed Jul 11, 2018 7:09 pm
Forum: General Topics
Topic: Awesome product & general thanks
Replies: 2
Views: 42

Re: Awesome product & general thanks

Wow, thank you for such a nice promotion and thank you!
by kwagyeman
Wed Jul 11, 2018 12:09 pm
Forum: Technical Discussion
Topic: how to detect the water line
Replies: 7
Views: 62

Re: how to detect the water line

Color tracking is the easiest thing to do for this... however, it's very hard to do given you don't have much contrast in the scene... How do you plan to mount the camera? Looking at the tubes from this direction? Can you possibly put some sort of background behind the tubes? And maybe color the wat...
by kwagyeman
Wed Jul 11, 2018 12:07 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

A udev folder will not appear. However, if you do "ls /dev" you should now see a device called "/dev/openmvcam".
by kwagyeman
Wed Jul 11, 2018 12:06 pm
Forum: General Topics
Topic: Wifi Shield
Replies: 5
Views: 58

Re: Wifi Shield

Our lepton driver is only for the M7. However, you can check the I/O pins in the firmware and recompile to use the SPI/I2C bus on the camera pins. That's how we debugged things at first. There are no instructions for this however. As for the WiFi shield for remote programming, this is something we s...
by kwagyeman
Wed Jul 11, 2018 12:04 pm
Forum: Technical Discussion
Topic: Open a video file from computer with OpenMV IDE
Replies: 8
Views: 160

Re: Open a video file from computer with OpenMV IDE

Hi, the converter works by using FFMPEG to break the file up into a bunch of image stills and then I build up an OpenMV Cam video .bin file out of those stills. All timing information is stripped. So, the video will run very fast on the OpenMV Cam if you aren't doing any processing.
by kwagyeman
Wed Jul 11, 2018 1:52 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

Go to share/qtcreaotr/pydfu.

However, if you just run the ./setup.sh script it takes care of the install for you.
by kwagyeman
Wed Jul 11, 2018 1:52 am
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 105

Re: Use the OpenMV cam M7 with CMSIS-NN

The IDE release is done. v2.0.0 has been released. I'll do the update email soon.
by kwagyeman
Wed Jul 11, 2018 1:51 am
Forum: Technical Discussion
Topic: camera matrix
Replies: 12
Views: 149

Re: camera matrix

Yes, you're distance method will work for finding the lowest pixel... however, as for detecting things the way that will need to work is through CNNs. We just released this feature so it's not built out right now. However, it will eventually enable you to do what you want. So... are you capable of g...
by kwagyeman
Wed Jul 11, 2018 1:49 am
Forum: Technical Discussion
Topic: HW Performance metrics
Replies: 1
Views: 31

Re: HW Performance metrics

Hi, um, you'll need to get into the C firmware for this. In python you'll get weird numbers. In C you'll find a systick module which counts up every 1 ms. You can us that to benchmark. They have a method to get the current ms count and another to compare the elapsed time.

Is that good enough?
by kwagyeman
Wed Jul 11, 2018 1:47 am
Forum: General Topics
Topic: General MV questions
Replies: 3
Views: 52

Re: General MV questions

Hi, we recently added the CNN stuff to support these problems. Basically, everything you want to do is data driven. There's not perfect traditional algorithm that will do the job. Instead you need to train the CNN using some image data set for what you want to detect and then have the OpenMV Cam run...
by kwagyeman
Wed Jul 11, 2018 1:43 am
Forum: General Topics
Topic: Wifi Shield
Replies: 5
Views: 58

Re: Wifi Shield

We've just been focused on the H7 KickStarter. I can write the WiFi programming code after this.

The KickStarter will consume all my time for the next 2 months.
by kwagyeman
Tue Jul 10, 2018 1:10 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

by kwagyeman
Mon Jul 09, 2018 11:49 pm
Forum: Technical Discussion
Topic: FOV and lens question
Replies: 4
Views: 3190

Re: FOV and lens question

Updated.
by kwagyeman
Mon Jul 09, 2018 11:38 pm
Forum: Technical Discussion
Topic: camera matrix
Replies: 12
Views: 149

Re: camera matrix

Okay, I understand what you are trying to do. However, it is not very easy to do so: >> In the camera are already loaded some template with a typical object which are in the garden like trees, flowers, outdoor lamps. All those items are obstacle for the rover. >> The code should look for the templat...
by kwagyeman
Mon Jul 09, 2018 1:33 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

Ah, so, the script uses the /dev/openmvcam port which is created only if you install the openmv udev rules. In the top level of the OpenMV repo you need to install the udev rules. Once you do that then on Linux the camera will appear as a /dev/openmvcam device. Please let me know if this works for y...
by kwagyeman
Mon Jul 09, 2018 1:30 pm
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 105

Re: Use the OpenMV cam M7 with CMSIS-NN

I'll have the next release done by the end of the week.
by kwagyeman
Mon Jul 09, 2018 1:30 pm
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 105

Re: Use the OpenMV cam M7 with CMSIS-NN

Um, okay, so, you can recover by using DFU. Use the run bootloader method with the OpenMV.dfu file and follow up the prompts given to you by the IDE.
by kwagyeman
Mon Jul 09, 2018 1:28 pm
Forum: Technical Discussion
Topic: FOV and lens question
Replies: 4
Views: 3190

Re: FOV and lens question

Will update. Mmm, we have no way of tracking bugs for this kind of stuff... Mmm, um, can you create a bug tracker on the OpenMV media GitHub repo. Like, make the issue there and I will deal with it.
by kwagyeman
Sat Jul 07, 2018 7:00 pm
Forum: Technical Discussion
Topic: camera matrix
Replies: 12
Views: 149

Re: camera matrix

Hi: - passing from pixel to real world Not sure what you mean by this... Um, are you asking for mapping a pixel location to a distance... if so... this is only possible with the OpenMV Cam using AprilTags. Otherwise, you have to make up a segmented look up method to do something. - finding known obj...
by kwagyeman
Sat Jul 07, 2018 2:53 pm
Forum: Technical Discussion
Topic: models supported by CMSIS-NN?
Replies: 1
Views: 42

Re: models supported by CMSIS-NN?

Hi, LENET6 is about 100kb after our conversion script. All this other networks you mentioned are hundreds of megabytes in size. Part of the reason for that is the initial resolution they start on. Lenet works on about 24x24 pixel images, CIFAR10 works on 32x32 images. So, expect CNNs on the OpenMV C...
by kwagyeman
Fri Jul 06, 2018 1:12 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 545

Re: Script autostart

by kwagyeman
Fri Jul 06, 2018 1:07 pm
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 105

Re: Use the OpenMV cam M7 with CMSIS-NN

Hi, what version does the IDE display for the firmware? It should display version 3.0.0. We will have the final release of everything soon with the updated IDE.

Please let me know what the firmware version displayed is.

Go to advanced search