Search found 4105 matches

by kwagyeman
Wed Jul 08, 2020 10:45 am
Forum: General Topics
Topic: Shipping
Replies: 1
Views: 9

Re: Shipping

Yes, note that everything but FedEx is really slow right now.
by kwagyeman
Mon Jul 06, 2020 11:06 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

Ubuntu 16 LTS
by kwagyeman
Mon Jul 06, 2020 11:06 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 18
Views: 3307

Re: Temperature value of each pixel captured by LEPTON

You have to read the lepton API and lookup the command for that and determine what struct to pass.

There are a lot of functions in the FLIR Lepton API. The python ioctls I expose allow you to access them all. It was not possible to code a wrapper in python for each one.
by kwagyeman
Mon Jul 06, 2020 2:12 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

Alternatively, put all your code in the libraries directory and make main.py just execute a library immediately.
by kwagyeman
Mon Jul 06, 2020 2:11 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

The main.py file is inside of the main.c file under omv/ It's included as a string in the source. However, you could create a C file out of a python file string and then just extern that as the main.py file to link into the main application. This is easier than embedding the python file into the C f...
by kwagyeman
Mon Jul 06, 2020 1:24 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

Um, just try the steps that it says?

I haven't run the command line script that I posted for building firmware in a while. It may be out of date. My VM I use to compile code has been running for years now.
by kwagyeman
Mon Jul 06, 2020 1:04 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

Regrading the build instructions. Sounds like you deviated from them... you should follow them exactly. I say what to do using the command line to install tools.
by kwagyeman
Mon Jul 06, 2020 1:03 pm
Forum: Technical Discussion
Topic: Add Custom Module to OpenMV firmware
Replies: 11
Views: 89

Re: Add Custom Module to OpenMV firmware

Hi, if you build the firmware as normal and just drop your .py files in this folder: https://github.com/openmv/openmv/tree/master/scripts/libraries then they will be compiled into the firmware and available for main.py to use. Anything in the libraries directory is frozen and then linked with the ma...
by kwagyeman
Mon Jul 06, 2020 10:18 am
Forum: Technical Discussion
Topic: blob count
Replies: 4
Views: 79

Re: blob count

blob_list = img.find_blobs([thresholds],invert=False,roi=(0,0,50,50),pixels_threshold=200, area_threshold=200, merge=True) blob_count = len(blob_list) if blob_count>1: led.on() else: led.off() for blob in blob_list: img.draw_rectangle(blob.rect()) img.draw_cross(blob.cx(), blob.cy()) Hi, the OpenMV...
by kwagyeman
Sun Jul 05, 2020 6:57 pm
Forum: Project Discussion
Topic: Face Tracking pan tilt
Replies: 4
Views: 43

Re: Face Tracking pan tilt

Yes, P7, P8, P9.
by kwagyeman
Sun Jul 05, 2020 2:12 pm
Forum: General Topics
Topic: Tensorflow lite
Replies: 5
Views: 113

Re: Tensorflow lite

Can you provide the model?
by kwagyeman
Sun Jul 05, 2020 2:08 pm
Forum: Project Discussion
Topic: Face Tracking pan tilt
Replies: 4
Views: 43

Re: Face Tracking pan tilt

Hi, this is a normal request and I will write example code for it. I've bought this pan and tilt system and I'll publish some scripts for controlling such a system. Please give me until the device arrives: https://www.sparkfun.com/products/14391 https://openmv.io/collections/shields/products/pan-and...
by kwagyeman
Sat Jul 04, 2020 11:40 pm
Forum: General Topics
Topic: Saving the image in raspberry pi
Replies: 5
Views: 2531

Re: Saving the image in raspberry pi

https://github.com/openmv/openmv/blob/m ... /README.md

There's an example script there that literally shows the images from the camera.
by kwagyeman
Sat Jul 04, 2020 10:29 am
Forum: Technical Discussion
Topic: blob count
Replies: 4
Views: 79

Re: blob count

find_blobs() Outputs a list. So just do len() on the list.
by kwagyeman
Fri Jul 03, 2020 2:31 pm
Forum: General Topics
Topic: Tensorflow lite
Replies: 5
Views: 113

Re: Tensorflow lite

Hi, the model size it's what matters. Its what stack usage it causes...

Like, for example, Mobilenet is 1.5MB and it runs fine onboard.

Can you provide the code and the model?
by kwagyeman
Fri Jul 03, 2020 11:50 am
Forum: General Topics
Topic: How can I write a websocket server program on openmv?
Replies: 3
Views: 89

Re: How can I write a websocket server program on openmv?

Wait, what do you mean? We support TCP and we sockets are just data over TCP.

We might not have any code to help out doing this except from the lowest level but we should definitely be able to do it.
by kwagyeman
Thu Jul 02, 2020 12:42 pm
Forum: General Topics
Topic: Updating IDE to 2.5.0 on Win 10
Replies: 4
Views: 128

Re: Updating IDE to 2.5.0 on Win 10

Try to execute the add remove programs uninstaller.
by kwagyeman
Thu Jul 02, 2020 12:41 pm
Forum: General Topics
Topic: Updating IDE to 2.5.0 on Win 10
Replies: 4
Views: 128

Re: Updating IDE to 2.5.0 on Win 10

Hi, you should have run the uninstaller for the previous IDE and then installed the new one.
by kwagyeman
Thu Jul 02, 2020 11:27 am
Forum: General Topics
Topic: Tensorflow lite
Replies: 5
Views: 113

Re: Tensorflow lite

That's a hard crash happening. The TensorFlow file is causing a null pointer deference or something can causing the reset vector on the Microcontroller to run. ... How big is your model? We've debugged the code quite a bit and the only issue we cannot directly prevent from happening is a stack overf...
by kwagyeman
Wed Jul 01, 2020 2:47 pm
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 31
Views: 4798

Re: Timestamp filenames

Hi, we built a new library to do all this:

https://github.com/openmv/openmv/blob/m ... /README.md
by kwagyeman
Wed Jul 01, 2020 2:21 pm
Forum: General Topics
Topic: Updating IDE on Win10
Replies: 2
Views: 58

Re: Updating IDE on Win10

You have to uninstall the old one and install the new one.

This has been an issue forever. I'll need to spend some time with at installer frameworks to figure out how to get it to upgrade the IDE.
by kwagyeman
Wed Jul 01, 2020 2:09 pm
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 31
Views: 4798

Re: Timestamp filenames

Is OpenMV IDE connected to the camera at the same time? It cannot be to use the VCP port.
by kwagyeman
Wed Jul 01, 2020 1:42 pm
Forum: Technical Discussion
Topic: Timestamp filenames
Replies: 31
Views: 4798

Re: Timestamp filenames

The camera is not named ACM0. Please check your serial ports on the Mac. E.g. do:

ls /dev/tty*
by kwagyeman
Wed Jul 01, 2020 1:24 pm
Forum: Technical Discussion
Topic: IDE Install failing on OSX Catalina
Replies: 10
Views: 91

Re: IDE Install failing on OSX Catalina

Ah, you shouldn't have to do the work around with 2.5.1. maybe doing that broke the code sign.

I had another user just use the app directly without any work arounds and it worked.
by kwagyeman
Wed Jul 01, 2020 1:13 pm
Forum: Technical Discussion
Topic: IDE Install failing on OSX Catalina
Replies: 10
Views: 91

Re: IDE Install failing on OSX Catalina

I just had another user say it was fine. It's digitally signed however.

Which part had the popup? The dmg or the app? The app should be signed with codesign.
by kwagyeman
Wed Jul 01, 2020 1:00 pm
Forum: Technical Discussion
Topic: IDE Install failing on OSX Catalina
Replies: 10
Views: 91

Re: IDE Install failing on OSX Catalina

Hi, I'm going to do another release. In the mean-time:

http://upload.openmv.io/openmv-ide-mac- ... -2.5.1.dmg
by kwagyeman
Wed Jul 01, 2020 11:38 am
Forum: Technical Discussion
Topic: IDE Install failing on OSX Catalina
Replies: 10
Views: 91

Re: IDE Install failing on OSX Catalina

I'll do a full rebuild and see if that fixes it.
by kwagyeman
Wed Jul 01, 2020 11:37 am
Forum: Technical Discussion
Topic: IDE Install failing on OSX Catalina
Replies: 10
Views: 91

Re: IDE Install failing on OSX Catalina

Can you let me know if this package has issues?

https://github.com/openmv/openmv-ide/re ... -2.4.0.dmg

I didn't change the process by which the app is packaged.
by kwagyeman
Tue Jun 30, 2020 5:27 pm
Forum: Technical Discussion
Topic: OV5640 FREX mode
Replies: 9
Views: 1210

Re: OV5640 FREX mode

None, it's a low priority for me. You should create a GitHub issue ticket about it so that it's tracked. I have to fix an issue with the register settings for the OV5640 involving the greenish spot in the center of the field of view under certain lighting situations. So, I can look at adding an IOCT...
by kwagyeman
Tue Jun 30, 2020 5:10 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 18
Views: 3307

Re: Temperature value of each pixel captured by LEPTON

The values are 16 bit unsigned ints. Since that fits inside of a native python int you can treat them as regular ints. So, just print() them.
by kwagyeman
Tue Jun 30, 2020 5:06 pm
Forum: Technical Discussion
Topic: how to transfer the image from openMV to PC in real time?
Replies: 3
Views: 231

Re: how to transfer the image from openMV to PC in real time?

You need to give the script the IP address of the camera which is running the corresponding script. In the IDE under examples -> Remote control see the corresponding script to the script that needs to run on the PC. Edit that script for it to work over WiFi. If everything is running fine the camera ...
by kwagyeman
Tue Jun 30, 2020 12:00 pm
Forum: Technical Discussion
Topic: What is the RGB LED part on OpenMV H7?
Replies: 4
Views: 197

Re: What is the RGB LED part on OpenMV H7?

CLV1L-FKB-CHMMQDGBB7673673
by kwagyeman
Tue Jun 30, 2020 2:43 am
Forum: Technical Discussion
Topic: Is my H7 board or OV7725 camera module defect?
Replies: 6
Views: 327

Re: Is my H7 board or OV7725 camera module defect?

I know, not a satisfying answer, but, the truth. We try to implement exposure control using what the datasheet says. We have no information beyond that.
by kwagyeman
Tue Jun 30, 2020 2:42 am
Forum: Technical Discussion
Topic: Is my H7 board or OV7725 camera module defect?
Replies: 6
Views: 327

Re: Is my H7 board or OV7725 camera module defect?

I don't know. You should really mess with the camera register settings using the data sheet and see what happens. We have to reverse engineer the cameras a little bit using information that leaks online about them. OmniVision doesn't help us directly or anything.
by kwagyeman
Mon Jun 29, 2020 9:20 pm
Forum: General Topics
Topic: Stepper motor connection
Replies: 4
Views: 161

Re: Stepper motor connection

I guess. That's a user contributed library. The source code for it is here:

https://github.com/openmv/openmv/blob/m ... 612.py#L24
by kwagyeman
Mon Jun 29, 2020 9:16 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 18
Views: 3307

Re: Temperature value of each pixel captured by LEPTON

Yes, you can. You need to use our IOCTLs to issue FLIR API calls.
by kwagyeman
Mon Jun 29, 2020 4:29 pm
Forum: General Topics
Topic: Stepper motor connection
Replies: 4
Views: 161

Re: Stepper motor connection

The motor shield requires a 6V or higher supply because it has to down regulate. If you connect 5V it will likely work... but, the regulator on board won't be doing anything. Should be fine however.
by kwagyeman
Sun Jun 28, 2020 11:08 pm
Forum: Technical Discussion
Topic: Temperature value of each pixel captured by LEPTON
Replies: 18
Views: 3307

Re: Temperature value of each pixel captured by LEPTON

You need to modify the C firmware if you want the RAW 14-bit value. We have no paths in our code to handle 14-bit data.
by kwagyeman
Sun Jun 28, 2020 11:15 am
Forum: Technical Discussion
Topic: How to send images to an FTP server ?
Replies: 2
Views: 127

Re: How to send images to an FTP server ?

I haven't written an ftp upload script but I can do so. I wrote an rtsp script. So, I'll add ftp and http to the list of scripts I need to make for the system. It's not implemented yet however. You just have socket level control. This allows you to do FTP but it's work. So, I should take the load of...
by kwagyeman
Fri Jun 26, 2020 1:05 pm
Forum: General Topics
Topic: Crosshairs overlay
Replies: 3
Views: 218

Re: Crosshairs overlay

Just move the draw image command to be executed always per loop...
by kwagyeman
Fri Jun 26, 2020 1:40 am
Forum: Technical Discussion
Topic: Is my H7 board or OV7725 camera module defect?
Replies: 6
Views: 327

Re: Is my H7 board or OV7725 camera module defect?

The only thing I can think of is that we are over clocking the camera to hit 150 fps. Trying lowering the PLL setting in the chip and the issue may go away. Also, we have nightmode on my default. So, the camera is allowed to add additional frames to increase exposure if it feels the image is getting...
by kwagyeman
Fri Jun 26, 2020 12:12 am
Forum: Technical Discussion
Topic: Is my H7 board or OV7725 camera module defect?
Replies: 6
Views: 327

Re: Is my H7 board or OV7725 camera module defect?

Hi, you should probably download the OV7725 manual and use the sensor.__write_register() and sensor.__read_register() commands to manually set the camera exposure. When our exposure control code is very basic. You can only raise the exposure to the level of the frame rate. Of you want to go longer y...
by kwagyeman
Thu Jun 25, 2020 1:52 pm
Forum: Technical Discussion
Topic: Excess green preprocessing
Replies: 1
Views: 104

Re: Excess green preprocessing

There's a .to_grayscale() method which will make an RGB565 image grayscale. What you are trying to do though isn't exactly in the API. However it can be done... You need to: fb_r = sensor.alloc_extra_fb(...) fb_b = sensor.alloc_extra_fb(...) ... img.to_grayscale(copy=fb_r, rgb_channel=0) # extract r...
by kwagyeman
Tue Jun 23, 2020 1:19 pm
Forum: Technical Discussion
Topic: Camera not detected
Replies: 6
Views: 392

Re: Camera not detected

That's one of ours. I can give you a refund so you can buy another. Send me the receipt via email for a new purchase.
by kwagyeman
Tue Jun 23, 2020 1:10 pm
Forum: Technical Discussion
Topic: Camera not detected
Replies: 6
Views: 392

Re: Camera not detected

Mmm, where did you get it from?
by kwagyeman
Tue Jun 23, 2020 12:07 pm
Forum: Technical Discussion
Topic: Making mpy from C module
Replies: 3
Views: 150

Re: Making mpy from C module

Yeah, but, you are on your own. You need to figure out how MicroPython works and how c modules work.
by kwagyeman
Tue Jun 23, 2020 12:06 pm
Forum: General Topics
Topic: Impossible to upgrade firmware to v6.3.2
Replies: 2
Views: 128

Re: Impossible to upgrade firmware to v6.3.2

Hi, I broke the update links when making all our stuff ssl ready. I will fix. It's an issue on our server side.
by kwagyeman
Tue Jun 23, 2020 12:05 pm
Forum: Technical Discussion
Topic: Camera not detected
Replies: 6
Views: 392

Re: Camera not detected

Hi, if it fails the self test can you confirm that the camera module connector is okay and clean and seated well? We do test every camera that ships so this shouldn't be an issue.

Go to advanced search