Search found 2275 matches

by kwagyeman
Sat Oct 13, 2018 10:58 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 45
Views: 15907

Re: implement own Haar-Cascade

Hi, I'll put some effort into updating the docs for all that in the future. Um, but, yest, it works on Mac if you have all the required libs.
by kwagyeman
Sat Oct 13, 2018 3:37 pm
Forum: Technical Discussion
Topic: Threshold editor LAB not showing / tracking pixels
Replies: 1
Views: 41

Re: Threshold editor LAB not showing / tracking pixels

Um, have you tried changing the color tracking bounds? They have to be adjusted given the image and lighting.
by kwagyeman
Sat Oct 13, 2018 12:27 am
Forum: General Topics
Topic: Output Data via USB?
Replies: 3
Views: 143

Re: Output Data via USB?

Print goes out the USB. If you want to use the UART you have to specify point to that.
by kwagyeman
Thu Oct 11, 2018 6:39 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 1
Views: 142

Re: Frame Rate April Tags

April Tags runs at 240x240 max on the H7 at about 20 FPS. The AprilTag algorithm has a rather large memory overhead that scales exponentially with resolution. Anyway, in order to get more RAM for the algorithm I locked the res to 256x256 at max. This allowed me to cut the size of the union find tabl...
by kwagyeman
Thu Oct 11, 2018 6:36 pm
Forum: General Topics
Topic: Output Data via USB?
Replies: 3
Views: 143

Re: Output Data via USB?

Um, yes, the OpenMV Cam appears as a serial port and you can use the print method to send data out of it. So, just develop a script in OpenMV IDE that prints the results you want to print... Then once done... Close OpenMV IDE and have an application open the serial port of the camera and read the pr...
by kwagyeman
Thu Oct 11, 2018 1:27 pm
Forum: Technical Discussion
Topic: Wifi Streaming and LCD?
Replies: 3
Views: 133

Re: Wifi Streaming and LCD?

Just attach an ESP-32 or Partile Photon for wifi support via serial.
by kwagyeman
Thu Oct 11, 2018 12:15 pm
Forum: General Topics
Topic: lumber/wood inspection detection
Replies: 3
Views: 112

Re: lumber/wood inspection detection

Okay, can you think how how you'd build a rig that the camera can be mounted on which will be in a fixed position to see the wood. Given that thought, how would you mount the camera... what would it be looking at, etc. I understand your problem. Not you have to think about how to solve it. If you ha...
by kwagyeman
Thu Oct 11, 2018 12:00 pm
Forum: Technical Discussion
Topic: Wifi Streaming and LCD?
Replies: 3
Views: 133

Re: Wifi Streaming and LCD?

The hardware is capable of this. However, our software library won't let you do this. Right now I think both of those shields share CS.
by kwagyeman
Thu Oct 11, 2018 11:59 am
Forum: Technical Discussion
Topic: STM32F765VIT6 or STM32F765VGT6
Replies: 2
Views: 103

Re: STM32F765VIT6 or STM32F765VGT6

I suppose so... just make sure to fix the linker scripts. Note that our M7 firmware won't fit in RAM anymore... so, you'll have to disable a ton of stuff.
by kwagyeman
Thu Oct 11, 2018 12:27 am
Forum: Technical Discussion
Topic: Haar Cascade to detect "ObjectX"
Replies: 7
Views: 140

Re: Haar Cascade to detect "ObjectX"

Yes, I will be updating it tonight and sending out an email blast. We finally got the last bug out.
by kwagyeman
Thu Oct 11, 2018 12:27 am
Forum: General Topics
Topic: lumber/wood inspection detection
Replies: 3
Views: 112

Re: lumber/wood inspection detection

Hi, Do you have any particular algorithm you plan to detect the problem with? The OpenMV Cam can do a lot of things... but, you need to have some idea about how to go about it. Is the object in a controlled environment? Do you have stable lighting? Is the atmosphere stable? What are the variables? H...
by kwagyeman
Thu Oct 11, 2018 12:24 am
Forum: Technical Discussion
Topic: frame reading
Replies: 8
Views: 178

Re: frame reading

Um, so, just go back to our code and just ignore parts you don't need... you don't have to modify the code if you don't need to.

I tried your script out and could confirm it's not working. But, I really can't do hands on debug support anymore. Too many people are asking for my time now.
by kwagyeman
Thu Oct 11, 2018 12:21 am
Forum: Project Discussion
Topic: Number Recognition of Stencil
Replies: 3
Views: 101

Re: Number Recognition of Stencil

Doing two AprilTag's in a row give you an ID space of (512*512) cars. You can keep adding them for more digits. QRcodes need to be aligned but are lighting invariant like AprilTags and give you a large number space. So, they are the best to use. Use a version 1 QrCode with the OpenMV Cam and you'll ...
by kwagyeman
Wed Oct 10, 2018 3:04 pm
Forum: General Topics
Topic: AttributeError: 'Image' object has no attribute 'find_number'
Replies: 7
Views: 138

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

The MNIST net is the best for this. Um, I'll train a smaller version of the net that will fit on the M7. We just got all our CNN code for training written down now.
by kwagyeman
Tue Oct 09, 2018 10:36 pm
Forum: Project Discussion
Topic: Number Recognition of Stencil
Replies: 3
Views: 101

Re: Number Recognition of Stencil

I see what you want to do. Our lenet CNN could technically do this with some filtering. But, this is a rather hard problem. You're not really going to find this easy to execute with any system. Um, the first step is to build a jig for the camera that fixes it's position and get images of what you wa...
by kwagyeman
Tue Oct 09, 2018 10:33 pm
Forum: Technical Discussion
Topic: Haar Cascade to detect "ObjectX"
Replies: 7
Views: 140

Re: Haar Cascade to detect "ObjectX"

I see, for this a CNN will be the best. You just need a training dataset of images taken from the position of where the camera is of a car being in the area and a car not being in the area.

Without collecting the training data this is very hard.
by kwagyeman
Tue Oct 09, 2018 9:13 pm
Forum: Project Discussion
Topic: Identifying the position of a moving animal
Replies: 3
Views: 67

Re: Identifying the position of a moving animal

Blob.cx() and blob.cy()
by kwagyeman
Tue Oct 09, 2018 12:25 pm
Forum: Project Discussion
Topic: Identifying the position of a moving animal
Replies: 3
Views: 67

Re: Identifying the position of a moving animal

Hi, the easiest ways to do this are to use color tracking on the inverse of the color of the box. This will detect the animal. Is the box well lit? If so, then checkout the Color-Tracking Example scripts under OpenMV IDE and then use the Tools->Machine Vision->Threshold Editor to get the color track...
by kwagyeman
Tue Oct 09, 2018 12:23 pm
Forum: Technical Discussion
Topic: Haar Cascade to detect "ObjectX"
Replies: 7
Views: 140

Re: Haar Cascade to detect "ObjectX"

I kinda understand what you want. But, it's vague in the sense of what you want to happen given a scenario. Can you think about what in particular you want the camera to detect? CNNs classify images. So, unless you can break it down into something of that nature I can't help you.
by kwagyeman
Tue Oct 09, 2018 12:17 pm
Forum: Technical Discussion
Topic: Camera mount/lens alternate
Replies: 1
Views: 51

Re: Camera mount/lens alternate

Try searching for something on aliexpress. I can't help you more than this: https://www.aliexpress.com/wholesale?ca ... board+lens
by kwagyeman
Mon Oct 08, 2018 11:52 pm
Forum: Technical Discussion
Topic: Haar Cascade to detect "ObjectX"
Replies: 7
Views: 140

Re: Haar Cascade to detect "ObjectX"

Hi, we're rolling out much better documentation and a bunch of example CNNs very soon for object detection. Haar Cascades will not be getting much support beyond face detection very soon. Um, I'm almost done with the PR for the better documentation. I should finish I think by tonight for it. Check u...
by kwagyeman
Mon Oct 08, 2018 11:51 pm
Forum: Technical Discussion
Topic: frame reading
Replies: 8
Views: 178

Re: frame reading

Can you start with this script?

https://github.com/openmv/openmv/blob/m ... enmv_fb.py

You've edited our code heavily...
by kwagyeman
Mon Oct 08, 2018 3:05 am
Forum: Technical Discussion
Topic: frame reading
Replies: 8
Views: 178

Re: frame reading

Um, a script needs to be running on the camera that calls snapshot. Can you verify the script is running?
by kwagyeman
Sun Oct 07, 2018 2:12 am
Forum: Technical Discussion
Topic: frame reading
Replies: 8
Views: 178

Re: frame reading

That's a garbage frame. If the first value is 0 then you need to keep reading until you get a non-zero first value. Then the frame is ready.
by kwagyeman
Sat Oct 06, 2018 1:44 pm
Forum: Technical Discussion
Topic: openmv to arduino
Replies: 5
Views: 235

Re: openmv to arduino

Sorry, I don't have any scripts for reference. Um, to be honest. I don't recommend doing what you are trying to do. Anyway, as for the Arduino sending data to the OpenMV Cam and having the OpenMV Cam log it... that's actually much easier. Just send the data out the serial port on the Arduino and the...
by kwagyeman
Sat Oct 06, 2018 11:25 am
Forum: General Topics
Topic: OpenMV H7 on NUCLEO-H743ZI board
Replies: 5
Views: 231

Re: OpenMV H7 on NUCLEO-H743ZI board

It's the STM32H7VIT6 with a 12mhz crystal.
by kwagyeman
Fri Oct 05, 2018 4:51 pm
Forum: General Topics
Topic: Max. Screen Size
Replies: 1
Views: 93

Re: Max. Screen Size

You have to calculate this yourself based on the focal length of the lens you are using and the size of the camera IC. Please see the product page for this information.
by kwagyeman
Fri Oct 05, 2018 3:29 pm
Forum: General Topics
Topic: Memory Error - CIFAR10 Example
Replies: 1
Views: 81

Re: Memory Error - CIFAR10 Example

Yeah, only the fast one fits on the M7 camera.

So, I'm going to be introducing a lot of new models in the next IDE release very soon for ARM Techcon. I'll have more examples for detecting very particular things and the models will be smaller to fit on chip much easier.
by kwagyeman
Fri Oct 05, 2018 12:01 pm
Forum: Technical Discussion
Topic: openmv to arduino
Replies: 5
Views: 235

Re: openmv to arduino

Well, once you take a picture and save it to disk on the OpenMV Cam you can open that file and stream the binary file over to the Arduino. However, the Arduino can't handle the file size in one go... so, you'll have to design a protocol to send over chunks of the image at a time to the Arduino for t...
by kwagyeman
Fri Oct 05, 2018 11:59 am
Forum: Technical Discussion
Topic: How to convert YUV422 to jpeg on openMV?
Replies: 2
Views: 116

Re: How to convert YUV422 to jpeg on openMV?

Just modify the feeder code to duplicate the U/V parts of YUV422 to get YUV444.
by kwagyeman
Fri Oct 05, 2018 2:12 am
Forum: General Topics
Topic: OpenMV H7 on NUCLEO-H743ZI board
Replies: 5
Views: 231

Re: OpenMV H7 on NUCLEO-H743ZI board

Yes, you once the Kickstarter ends. So, in 2 weeks.
by kwagyeman
Fri Oct 05, 2018 2:11 am
Forum: Technical Discussion
Topic: openmv to arduino
Replies: 5
Views: 235

Re: openmv to arduino

You have to send and image to the Arduino which doesn't have enough RAM to buffer an image...

Um, are you comfortable with serial comms and transactions over those comms? If not, then you're not going to want to go down the path your suggesting.
by kwagyeman
Thu Oct 04, 2018 9:03 pm
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

Just swap the pin numbers you use to control the LEDs. The LEDs are 1, 2, and 3.
by kwagyeman
Thu Oct 04, 2018 9:02 pm
Forum: General Topics
Topic: I can´t install OpenMV in Raspbian Jessie
Replies: 7
Views: 115

Re: I can´t install OpenMV in Raspbian Jessie

Mmm, could be. You could try renaming the file. Not really sure what's wrong however. I don't have a way to reproduce this issue on my side.
by kwagyeman
Thu Oct 04, 2018 9:01 pm
Forum: General Topics
Topic: OpenMV H7 on NUCLEO-H743ZI board
Replies: 5
Views: 231

Re: OpenMV H7 on NUCLEO-H743ZI board

We don't support that board. If you want to try to use our firmware on it you need to understand what you are doing.
by kwagyeman
Thu Oct 04, 2018 12:32 pm
Forum: General Topics
Topic: I can´t install OpenMV in Raspbian Jessie
Replies: 7
Views: 115

Re: I can´t install OpenMV in Raspbian Jessie

Hi, is that file located in:

"openmvide install dir"/lib/qtcreator/

? It should be right there.
by kwagyeman
Thu Oct 04, 2018 11:52 am
Forum: General Topics
Topic: I can´t install OpenMV in Raspbian Jessie
Replies: 7
Views: 115

Re: I can´t install OpenMV in Raspbian Jessie

Hi, can you just run the IDE directly by clicking on the binary versus the .sh file? "./openmvide"
by kwagyeman
Thu Oct 04, 2018 10:29 am
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

Yeah, our silkscreen says made in MacroFab for an older board. Also, our boards aren't black. Um, so the LED we use has different configs which could have caused the pin swap. I.e. there are different variants of the LED with different colors for the same pin. Anyway, if you buy another board the LE...
by kwagyeman
Wed Oct 03, 2018 7:28 pm
Forum: General Topics
Topic: I can´t install OpenMV in Raspbian Jessie
Replies: 7
Views: 115

Re: I can´t install OpenMV in Raspbian Jessie

Hi, we have a pre-built version of the IDE here: https://openmv.io/pages/download

The Pi can't actually build the IDE for various reasons.
by kwagyeman
Wed Oct 03, 2018 12:07 pm
Forum: General Topics
Topic: Using Upperbody Haar Cascade with OpenMV
Replies: 6
Views: 154

Re: Using Upperbody Haar Cascade with OpenMV

Please attach the code. That's PHPBB protecting the forums from code snippets it doesn't like. Some particular character sets it off.
by kwagyeman
Wed Oct 03, 2018 12:06 pm
Forum: General Topics
Topic: Face tracking distance
Replies: 1
Views: 95

Re: Face tracking distance

Hi, yes, adjust the scale parameter. Basically, when the algorithm is running it's resizing the detection window based on the scale parameter value: https://github.com/openmv/openmv/blob/master/src/omv/img/haar.c#L108 As you can see... if you make the scale value very close to 1.0 the algorithm will...
by kwagyeman
Wed Oct 03, 2018 12:04 pm
Forum: Technical Discussion
Topic: Difference betwen fir.read_ir and fir.snapshot
Replies: 3
Views: 122

Re: Difference betwen fir.read_ir and fir.snapshot

Yeah, read_ir just gives you an array of floats. Then draw_ir draws the array of floats on the image. snapshot() combines the two operations on a new image buffer and returns that to you.
by kwagyeman
Wed Oct 03, 2018 12:03 pm
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 17
Views: 4666

Re: Future wishlist

From the article there's no info on the electrical signaling there. From what I know about MicroUSB this isn't possible unless the cable has some type of logic in it to determine it's orientation. Otherwise, you're just reversing the connections on the cable.

I think what you'd want is USB C support.
by kwagyeman
Wed Oct 03, 2018 1:26 am
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 17
Views: 4666

Re: Future wishlist

Hi, what are you talking about exactly?
by kwagyeman
Tue Oct 02, 2018 2:47 pm
Forum: General Topics
Topic: Using Upperbody Haar Cascade with OpenMV
Replies: 6
Views: 154

Re: Using Upperbody Haar Cascade with OpenMV

Not really, the OpenMV Cam is a lot faster than the Arduino.

Um, question, so, can you post the code you used?
by kwagyeman
Tue Oct 02, 2018 2:45 pm
Forum: Technical Discussion
Topic: Using Two Cameras at Once with IDE
Replies: 1
Views: 90

Re: Using Two Cameras at Once with IDE

Hi, use the Open Terminal feature under Tools to open multiple serial terminals. There's a video update I did about this feature that you can see on our youtube channel.
by kwagyeman
Tue Oct 02, 2018 11:55 am
Forum: General Topics
Topic: Using Upperbody Haar Cascade with OpenMV
Replies: 6
Views: 154

Re: Using Upperbody Haar Cascade with OpenMV

Yeah, the OpenMV Cam H7 really is a lot better than the M7. Please back us on Kickstarter: https://www.kickstarter.com/projects/17 ... icropython

Also, we added CNN support to the device. However, this also kinda needs the H7.
by kwagyeman
Tue Oct 02, 2018 11:46 am
Forum: Technical Discussion
Topic: Difference betwen fir.read_ir and fir.snapshot
Replies: 3
Views: 122

Re: Difference betwen fir.read_ir and fir.snapshot

Use the snapshot method. Then you can just call difference() on the frames returned. The IR images are all very small so you can use the heap without issue.

read_ir() gives you an array of numbers but you have to write the difference code yourself. That said, you do have temperature information then.

Go to advanced search