Search found 1622 matches

by kwagyeman
Wed Apr 25, 2018 2:29 am
Forum: General Topics
Topic: An application for auto-focus
Replies: 8
Views: 223

Re: An application for auto-focus

We just have general purpose 2D FFT code right now. However, there's DCT code on the system too. It's just for JPEG right now though.
by kwagyeman
Wed Apr 25, 2018 2:06 am
Forum: General Topics
Topic: Convert from RGB565 to RGB888
Replies: 2
Views: 69

Re: Convert from RGB565 to RGB888

Nope, we just have two images types: RGB565, and grayscale (8-bits), and we'll be adding binary very soon too. If you want RGB888 data please set the camera mode to RAW and you'll get a bayer pattern in the frame buffer. All our image processing code work won't on a bayer pattern... but, you'll be a...
by kwagyeman
Wed Apr 25, 2018 2:03 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Paste it. Use the code tags.
by kwagyeman
Wed Apr 25, 2018 2:02 am
Forum: Technical Discussion
Topic: problem w/ IDE install
Replies: 1
Views: 47

Re: problem w/ IDE install

I installed the IDE on vista and windows xp. From my own tests, I have not gotten it to run on XP with SP2. As for vista, it should run on that. If it's failing to install... I don't know how to help. It would be an issue unrelated to the software. As for the video record failing... this happens due...
by kwagyeman
Wed Apr 25, 2018 1:59 am
Forum: Project Discussion
Topic: Send images to a webserver with OpenMV M7 + NodeMCU
Replies: 1
Views: 36

Re: Send images to a webserver with OpenMV M7 + NodeMCU

Just send the image over UART. Just set the baud rate really high. The UART on the camera can go into the 1 Mb/s above range. Here's how simple it is to send an image: uart.send(img.snapshot().compress(quality=90)) That's just the sending part, you have to init the uart object and setup the camera. ...
by kwagyeman
Wed Apr 25, 2018 1:57 am
Forum: General Topics
Topic: OPENMV support the STM32H7 series?
Replies: 1
Views: 20

Re: OPENMV support the STM32H7 series?

Hi, we just finished porting to the STM32H7 and will be releasing a KickStarter for the next generation OpenMV Cam with the H7 later this year. We've finished support for the OV7725 camera module and just need to get the FLIR Lepton 1/2/3 working perfectly and the MT90V34 working before we can launch.
by kwagyeman
Tue Apr 24, 2018 1:37 am
Forum: General Topics
Topic: An application for auto-focus
Replies: 8
Views: 223

Re: An application for auto-focus

Okay, I think I see what you want to do... Um, so,t he feature is not present right now in the firmware. But, I can get it in really quickly after this next release. Basically, you'd like to just use the get_fft_histogram() method on an ROI near the center of the camera. This will then give you a hi...
by kwagyeman
Tue Apr 24, 2018 1:08 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Hey man, you may wish to try by doing o_o.
by kwagyeman
Mon Apr 23, 2018 3:52 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Nothing has to be done on the cam for this. Just print data.
by kwagyeman
Mon Apr 23, 2018 11:47 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

After opening the serial port make sure to set the line. I can give you a snippet of Qt C++ code for example. This is one line of code normally.
by kwagyeman
Sun Apr 22, 2018 11:37 am
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 292

Re: strange behavior with set_windowing

I already did this to support windowing for the Lepton driver. So, we can have this support in for the release after next.
by kwagyeman
Sat Apr 21, 2018 7:14 pm
Forum: Technical Discussion
Topic: Polarizing filter
Replies: 1
Views: 79

Re: Polarizing filter

Hi, we should get the ones we ordered shipped to us by next week... I'll send an email about this to the lens provider.
by kwagyeman
Sat Apr 21, 2018 6:14 pm
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 292

Re: strange behavior with set_windowing

I will just make the sensor driver do a virtual window without whatever the HAL is doing. We write all pixels from a temp line buffer to the main frame buffer anyway so there's no need for this limit if it's done in software.
by kwagyeman
Sat Apr 21, 2018 2:15 pm
Forum: Technical Discussion
Topic: CV inspection bar
Replies: 3
Views: 158

Re: CV inspection bar

The board I suggest gets the OpenMV Cam on the CAN Bus. As for the PC side, I'd use some type of CAN Bus transceiver to USB adapter.
by kwagyeman
Sat Apr 21, 2018 2:39 am
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 292

Re: strange behavior with set_windowing

Can you make bugs on the github for these things?

Sorry about this... both of these are old code that hasn't been touched for a while.
by kwagyeman
Sat Apr 21, 2018 2:38 am
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 292

Re: strange behavior with set_windowing

Okay, I see why it appends the .jpg. I think a bug was introduced here. Specifying the .jpg right now causes it to assume you didn't add an extension. It looks like a switch statement was changed... To fix the saving issue just leave out the extension: sensor.snapshot().compress(quality=90).save("ex...
by kwagyeman
Sat Apr 21, 2018 12:21 am
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 292

Re: strange behavior with set_windowing

Hi I would only use the set windowing command once right now on startup. The way it's implemented needs to be updated (on my list of things to do soon). As for the bmp issue. Do this first: img.compress(quality=90).save("name.jpg") Note that save takes ROI values for the BMP files. It should be able...
by kwagyeman
Fri Apr 20, 2018 7:33 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Yes.

Note: On opening the VCP port make the DTR line active. The MicroPython OS will not print data unless this is active.
by kwagyeman
Fri Apr 20, 2018 12:43 pm
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 9
Views: 2787

Re: Future wishlist

Unfortunately... for our next module we don't expose the Ethernet pins making this hard. But, the SPI bus is exposed which can used with a Wiznet module... Mmm, this sucks implementation wise though. https://www.ebay.com/i/112460690292?chn=ps
by kwagyeman
Fri Apr 20, 2018 12:34 pm
Forum: Technical Discussion
Topic: CV inspection bar
Replies: 3
Views: 158

Re: CV inspection bar

Hi, I'd use a serial to CAN bus bridge... or the CAN peripheral on the STM32. I've never tested the MicroPython code for it though so I don't know how it works. With the bridge... while it's more hardware than you need you'll skip coding issues. E.g. https://www.seeedstudio.com/Serial-CAN-BUS-Module...
by kwagyeman
Thu Apr 19, 2018 11:37 am
Forum: General Topics
Topic: An application for auto-focus
Replies: 8
Views: 223

Re: An application for auto-focus

Hi, seeing if there's a blurry object in the field of view isn't I think the best way to detect an object. Instead, you may wish to look at adaptive frame differencing and etc. The MTF calculation kinda looks at the full image so it's not going to find some out of focus object. But, let's backup. Fi...
by kwagyeman
Thu Apr 19, 2018 2:14 am
Forum: General Topics
Topic: openmv on f407
Replies: 3
Views: 113

Re: openmv on f407

Hi, I can't really provide anything other than support for experts for the OMV1 firmware. I.e. you need to know exactly what you are doing and are only asking me about details about how the IDE works to get things operational... I have no idea otherwise what the issue is.
by kwagyeman
Thu Apr 19, 2018 2:04 am
Forum: General Topics
Topic: An application for auto-focus
Replies: 8
Views: 223

Re: An application for auto-focus

Hi, You can buy lenses that have the ability to change focus: https://www.dhgate.com/product/m12-mount-1-3-inch-2mp-ir-cctv-ip-camera/399335135.html?utm_source=pla&utm_medium=GMC&utm_campaign=close_to_u2017&utm_term=399335135&f=bm%7c399335135%7c007003%7cGMC%7c812091101%7cpla%7cclose_to_u2017%7cUS%7c...
by kwagyeman
Thu Apr 19, 2018 2:02 am
Forum: General Topics
Topic: Average of 4 pictures
Replies: 2
Views: 128

Re: Average of 4 pictures

Hi, please use this: http://docs.openmv.io/library/omv.sensor.html#sensor.sensor.alloc_extra_fb Just alloc the frame buffer and then use the blend method to blend images into the frame buffer. For examples, see the in memory frame differencing scripts. Note that the system only has one frame buffer ...
by kwagyeman
Thu Apr 19, 2018 1:48 am
Forum: Technical Discussion
Topic: Unsupported/unimplemented functions?
Replies: 3
Views: 74

Re: Unsupported/unimplemented functions?

Thanks, I'll look into this before the next release which we are right about to do. It's most likely a flag in the MP code that has to be set.
by kwagyeman
Wed Apr 18, 2018 2:28 am
Forum: Technical Discussion
Topic: Unsupported/unimplemented functions?
Replies: 3
Views: 74

Re: Unsupported/unimplemented functions?

Mmm, that should be in the library. Please create a bug on the github about this. It's quoted as being implemented by MP. So, I guess we might have disabled it.
by kwagyeman
Tue Apr 17, 2018 4:35 pm
Forum: General Topics
Topic: openmv on f407
Replies: 3
Views: 113

Re: openmv on f407

Does the camera appear as a serial port and a USB drive on the computer and what is the serial port vid and pid?

OpenMV IDE only cares about finding a serial port with the right VID and PID.
by kwagyeman
Tue Apr 17, 2018 1:38 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Only one program can read the serial port at a time. But, once you have the script working in OpenMV IDE... Save the script to the camera, reset the camera, and then open the serial port in another application.
by kwagyeman
Mon Apr 16, 2018 11:06 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

1. Um, just write code for the Arduino. 2. Yes, pins 4 and 5. 3. OpenMV IDE connects using the USB port which is different from the hardware UART. So, you can run both at the same time. Note, if you just want to get data off the OpenMV Cam and have that go to a program on your PC just use the "print...
by kwagyeman
Sun Apr 15, 2018 5:05 pm
Forum: General Topics
Topic: Running Programs
Replies: 4
Views: 100

Re: Running Programs

>> When I do the "Tools->Save Script to OpenMV Cam", should there be any indication that the file has loaded successfully? Generally, it works on the first shot. However, the system can be hampered by corrupt disk stuff. ... So, since the camera's file system appears tot he PC as a read-only device ...
by kwagyeman
Sun Apr 15, 2018 2:40 pm
Forum: General Topics
Topic: Trouble Connecting
Replies: 6
Views: 69

Re: Trouble Connecting

Mmm, okay, I see. I haven't seen this issue before. What script is running on the camera? Is the USB port your using fully powered? I can only think of a brown-out happening or something like that.
by kwagyeman
Sun Apr 15, 2018 2:15 pm
Forum: General Topics
Topic: Trouble Connecting
Replies: 6
Views: 69

Re: Trouble Connecting

What firmware version are you running?
by kwagyeman
Sun Apr 15, 2018 2:15 pm
Forum: General Topics
Topic: Trouble Connecting
Replies: 6
Views: 69

Re: Trouble Connecting

Hi, have you updated your OpenMV Cam's firmware? It should work really well on windows.
by kwagyeman
Sun Apr 15, 2018 2:08 pm
Forum: General Topics
Topic: Trouble Connecting
Replies: 6
Views: 69

Re: Trouble Connecting

What OS are you using? If it's Linux that's related to the OS taking a while to enumerate the VCP port. I can't fix that, you just have to wait about 10 seconds after plugging the camera in for the OS to stop trying to talk to the serial port as if it were a modem. As for MAC, we fixed an issue with...
by kwagyeman
Sun Apr 15, 2018 2:07 pm
Forum: General Topics
Topic: Running Programs
Replies: 4
Views: 100

Re: Running Programs

Please do:

Tools->Save Script to OpenMV Cam

And then:

Tools->Reset OpenMV Cam
by kwagyeman
Sun Apr 15, 2018 3:36 am
Forum: General Topics
Topic: Saving To File
Replies: 2
Views: 114

Re: Saving To File

Desktop OSes won't rescan the flash drive unless plugged in. There's no fix for this. The camera acting as a USB drive which can create files is not something handled by today's desktop OS drivers. You can however manually reset the OpenMV Cam in your script by issuing this command: pyb.hard_reset()...
by kwagyeman
Sat Apr 14, 2018 9:12 pm
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 9
Views: 649

Re: Opencv7 with a Raspberry Pi

Hi, the camera has to be a SPI master, it's works really bad as a slave device. That said, you can get video data through USB with the camera. In fact, OpenMV IDE runs on the Raspberry PI: https://openmv.io/pages/download The camera will appear as a VCP port on the PI and you can push data through t...
by kwagyeman
Sat Apr 14, 2018 2:03 pm
Forum: Technical Discussion
Topic: NEOPIXEL AS A LED RING LIGHT
Replies: 3
Views: 174

Re: NEOPIXEL AS A LED RING LIGHT

Hmm, this seems to be an ESP8266 only library. Should be portable to the M7 however. Please open up a github issue about this so it's on our todo list.
by kwagyeman
Sat Apr 14, 2018 12:51 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

As determined by your skill...

I get the feeling your trying to work on something out of your depth here.

I can help. But, you're going to really want to exercise your Googling muscle and try to do as much as you can before coming to the forums.
by kwagyeman
Sat Apr 14, 2018 12:11 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Sure, just turn it into a serial port pass through...
by kwagyeman
Fri Apr 13, 2018 1:59 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

As previously mentioned... OpenMV IDE uses the camera's USB VCP port. If you want to talk to the camera when OpenMV IDE is connected please connect an FTDI chip to the OpenMV Cam's hardware UART. Pins 4/5. Unfortunately, we have no solution for more than one USB VCP port to the PC. This is a limit o...
by kwagyeman
Thu Apr 12, 2018 8:43 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Does another program have the serial port open? Note that there are two serial ports on the camera. A hardware UART and a USB VCP port. OpenMV IDE uses the USB VCP port to talk to the camera. If you are trying to use OpenMV IDE and your program at the same time then you have to talk to the camera vi...
by kwagyeman
Thu Apr 12, 2018 3:43 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Serial is the easiest. Please see the Picture Emulation UART example. It shows how to do serial.

You'd have to do something like serial for any Microcontroller. It's a fundamental communication step.
by kwagyeman
Thu Apr 12, 2018 1:13 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Please see our YouTube channel. I posted a video about the feature.
by kwagyeman
Thu Apr 12, 2018 11:12 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

OpenMV IDE supports connecting to one camera on purpose with the main feature set. You can use the Open terminal feature to connect to multiple cameras for debugging though on a second/third/etc. serial port. Realistically, once you have two cameras in the system your skill level is going to need to...
by kwagyeman
Thu Apr 12, 2018 3:43 am
Forum: Technical Discussion
Topic: draw_rectangle color mistake
Replies: 3
Views: 247

Re: draw_rectangle color mistake

Latest firmware is attached. WiFi is broken, but, will fix before the release which is coming soon.
by kwagyeman
Thu Apr 12, 2018 1:46 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 64
Views: 1979

Re: Advanced Iris Tracking Software

Yeah, so, you just use this method here: http://docs.micropython.org/en/v1.9.3/pyboard/library/pyb.UART.html#pyb.UART.any And then do: http://docs.micropython.org/en/v1.9.3/pyboard/library/pyb.UART.html#pyb.UART.readchar When there's a byte. For a statemachine example, checkout the Pixy emulation ex...
by kwagyeman
Wed Apr 11, 2018 12:31 pm
Forum: Technical Discussion
Topic: draw_rectangle color mistake
Replies: 3
Views: 247

Re: draw_rectangle color mistake

Thicknesses is only available in the new firmware. I'll upload a copy.
by kwagyeman
Wed Apr 11, 2018 2:46 am
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 9
Views: 649

Re: Opencv7 with a Raspberry Pi

No, SPI is defiantly the way to go. The code is effectively the same. On the PI you need it to be a SPI slave to receive the data.

Go to advanced search