Search found 542 matches

by iabdalkader
Sat Oct 13, 2018 11:01 am
Forum: Technical Discussion
Topic: STM32F765VIT6 or STM32F765VGT6
Replies: 2
Views: 103

Re: STM32F765VIT6 or STM32F765VGT6

I think we switched to the 2MBs part before production, we never used the 1MB F7.
by iabdalkader
Sat Oct 13, 2018 10:56 am
Forum: General Topics
Topic: File Transfer using OpenMV WiFi shield
Replies: 4
Views: 338

Re: File Transfer using OpenMV WiFi shield

gwoollett wrote:
Thu Sep 20, 2018 10:13 pm
Given the this MCU has hardware CRC support, could this be added at sometime.
Please submit a feature request to github.
by iabdalkader
Wed Oct 10, 2018 7:08 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 52
Views: 2318

Re: Script autostart

levinpqr wrote:
Tue Sep 25, 2018 4:25 am
Hello! Any news? :)
Yes, I answered above, copy the cascade file to SD or flash storage. It needs to be on the camera not the PC.
by iabdalkader
Wed Oct 10, 2018 7:02 pm
Forum: Technical Discussion
Topic: how include haarcascade file in program
Replies: 7
Views: 229

Re: how include haarcascade file in program

I don't quite understand the issue, but note the cascade needs to be the old format and the most basic cascade.
by iabdalkader
Wed Oct 10, 2018 6:56 pm
Forum: Technical Discussion
Topic: with get_pixel i get the same three RGB mean values ?
Replies: 3
Views: 86

Re: with get_pixel i get the same three RGB mean values ?

chrisPyres66 wrote:
Wed Oct 10, 2018 2:33 am
Thanks, i do this but does that mean get_pixel is depreciated ?
get_stats will be much faster since it's implemented in C.
by iabdalkader
Wed Oct 10, 2018 6:47 pm
Forum: General Topics
Topic: Where is keypoints_editor.py?
Replies: 1
Views: 50

Re: Where is keypoints_editor.py?

Here:
https://github.com/openmv/openmv/blob/m ... _editor.py

But you don't need to use this anymore, the IDE has built-in keypoints editor.
by iabdalkader
Fri Oct 05, 2018 11:02 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?

The code for the HW encoder only handles GS, RGB565 and YUV444.
by iabdalkader
Fri Oct 05, 2018 10:24 am
Forum: Technical Discussion
Topic: how include haarcascade file in program
Replies: 7
Views: 229

Re: how include haarcascade file in program

Yes, i embed the binary cascade.cascade by creating an hex array and create file with make_flash_fs(). I dont know how to gerenate the C headers. To embed the cascade you need to pass -c to cascade_convert.py parser.add_argument("-c", "--header", action = "store_true", help = "generate a C header")...
by iabdalkader
Thu Oct 04, 2018 12:06 pm
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

marvin wrote:
Thu Oct 04, 2018 11:27 am
Wow, I'll ask the supplier what's up.
Where do I find the registration status in the IDE? (I couldn't find it)
BTW I obtain a license key (The $15 thing) and it installed fine.
That license key is the registration, the cloner should have registered the cams before selling them.
by iabdalkader
Thu Oct 04, 2018 10:50 am
Forum: Technical Discussion
Topic: how include haarcascade file in program
Replies: 7
Views: 229

Re: how include haarcascade file in program

You mean you want to embed the cascade ? like the embedded face and eye cascades ? If so you'll need to generate the C headers and rebuild the firmware. The image.HaarCaarcascade function can only load binary cascades from storage.
by iabdalkader
Thu Oct 04, 2018 10:49 am
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

Looks genuine, has your logo's all over it and says Built by MacroFab Made in the USA Yes except for the solder mask color (we use red). Note we open-source all designs so anyone can make an exact replica. If the IDE says it's not registered it's definitely a clone and not licensed as well. If you ...
by iabdalkader
Thu Oct 04, 2018 9:57 am
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

Bought it via ebay. I assumed it was genuine, is there an easy way to check. How do I check the FW level, couldn't find this in the IDE. Thanks On the lower left corner you should see the firmware version after connecting. We don't sell any boards on ebay or aliexpress, those are mostly clones and ...
by iabdalkader
Thu Oct 04, 2018 9:31 am
Forum: General Topics
Topic: LED Selection not working as doccumented
Replies: 10
Views: 128

Re: LED Selection not working as doccumented

Hi, LEDs haven't changed for a while, did you buy the board from our store ? Also make sure you have the latest firmware (firmware 3.x.x)
by iabdalkader
Mon Oct 01, 2018 10:28 pm
Forum: General Topics
Topic: Camera Image viewer
Replies: 5
Views: 181

Re: Camera Image viewer

Thanks for quick reply, to provide viewer for user, any application or source code available in JAVA/C/Python Yes! In addition to the IDE options, we have a Python module and example script. https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py https://github.com/openmv/openmv/blob/master/...
by iabdalkader
Fri Sep 28, 2018 1:42 pm
Forum: Technical Discussion
Topic: Firmware updates
Replies: 8
Views: 326

Re: Firmware updates

bogflap wrote:
Wed Sep 26, 2018 9:43 am
When merges are made into the master branch at git/openmv are updated firmware files created anywhere.
No firmware images are updated just before the release (with exceptions occasionally).
by iabdalkader
Fri Sep 28, 2018 1:37 pm
Forum: Technical Discussion
Topic: Controller Area Network
Replies: 5
Views: 266

Re: Controller Area Network

Hi, the next release will be out in a day or two.
by iabdalkader
Sat Sep 22, 2018 7:36 am
Forum: Technical Discussion
Topic: use of haar classifier for openmv
Replies: 7
Views: 383

Re: use of haar classifier for openmv

I tried to read converted file but it looks like binary (I dont know how to transform it to array in the program ?). Yes it's a binary file and you don't need to read it, see this example: https://github.com/openmv/openmv/blob/master/scripts/examples/07-Face-Detection/face_detection.py Do you have ...
by iabdalkader
Thu Sep 20, 2018 9:44 pm
Forum: Technical Discussion
Topic: Differentiate between IDE & VCP connections
Replies: 6
Views: 313

Re: Differentiate between IDE & VCP connections

Hi, I've added a new function for that (see github issue), it will be available in the next release.
by iabdalkader
Wed Sep 19, 2018 3:27 pm
Forum: General Topics
Topic: Can't fined lenet.network or cifar10.network files
Replies: 4
Views: 142

Re: Can't fined lenet.network or cifar10.network files

mjs513 wrote:
Wed Sep 19, 2018 3:05 pm
thanks will download the models and give it a try. Any place in particular to put them?
No, the root directory of the SD card will do just fine.
by iabdalkader
Wed Sep 19, 2018 2:59 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 52
Views: 2318

Re: Script autostart

Hi,
The file needs to be on the camera's storage (flash or SD card).
by iabdalkader
Wed Sep 19, 2018 2:57 pm
Forum: General Topics
Topic: Can't fined lenet.network or cifar10.network files
Replies: 4
Views: 142

Re: Can't fined lenet.network or cifar10.network files

Hi, the pre-trained models are hosted on github:

https://github.com/openmv/openmv/tree/m ... snn/models

They will be included with the next IDE release.
by iabdalkader
Tue Sep 18, 2018 3:17 pm
Forum: Technical Discussion
Topic: use of haar classifier for openmv
Replies: 7
Views: 383

Re: use of haar classifier for openmv

chrisPyres66 wrote:
Mon Sep 17, 2018 4:56 am
if i can lost quality when i convert classifier.xml to classifier.classifier for openmv.
Yes, conversion process quantizes the values.
chrisPyres66 wrote:
Mon Sep 17, 2018 4:56 am
if i can have the same parameters for the same result.
No I wouldn't use the same values, you just have to start with the defaults and tune from there.
by iabdalkader
Fri Sep 14, 2018 8:37 pm
Forum: Technical Discussion
Topic: use of haar classifier for openmv
Replies: 7
Views: 383

Re: use of haar classifier for openmv

Multi scale is like the scale factor not threshold. In general, lower the scale factor to detect images at smaller scales (octaves), and increase the threshold for a higher detection rate (more false positives).
by iabdalkader
Thu Sep 13, 2018 10:35 am
Forum: General Topics
Topic: i've follow the cmsisnn tutotrial,but don't work
Replies: 7
Views: 230

Re: i've follow the cmsisnn tutotrial,but don't work

No it works on RGB and Grayscale, it seems you may have trained it on GS and the prototxt is for RGB. I can't help without the model and prototxt
by iabdalkader
Wed Sep 12, 2018 10:59 am
Forum: General Topics
Topic: i've follow the cmsisnn tutotrial,but don't work
Replies: 7
Views: 230

Re: i've follow the cmsisnn tutotrial,but don't work

Can you attach the prototxt and the model ?
by iabdalkader
Wed Sep 12, 2018 6:34 am
Forum: Technical Discussion
Topic: Build OpenMV from source...
Replies: 8
Views: 206

Re: Build OpenMV from source...

Do you mean debug Python scripts ? I don't know of any tools for debugging MicroPython, if you mean debug the firmware I use stlink v2 + stutil + gdb.
by iabdalkader
Mon Sep 10, 2018 7:11 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'

Yes this is an outdated example, I just removed it. See 25-Machine-Learning/nn_lenet.py and the model is here:
https://github.com/openmv/openmv/raw/ma ... et.network
by iabdalkader
Mon Sep 10, 2018 5:12 pm
Forum: Technical Discussion
Topic: use of haar classifier for openmv
Replies: 7
Views: 383

Re: use of haar classifier for openmv

Hi, not sure what the issue is with stages, but you should use the old format and we only support the most basic Haar cascade.
by iabdalkader
Thu Sep 06, 2018 3:02 pm
Forum: General Topics
Topic: Does the openMV works like a web cam?
Replies: 3
Views: 161

Re: Does the openMV works like a web cam?

Hi

No it doesn't work like a web cam.

Please start by installing the IDE:

https://openmv.io/pages/download

And then run a few examples from the File->Examples menu, have fun :)
by iabdalkader
Thu Sep 06, 2018 3:00 pm
Forum: Technical Discussion
Topic: CAN Communication Problem OPENMV CAM M7
Replies: 5
Views: 260

Re: CAN Communication Problem OPENMV CAM M7

Hi everyone, please see this issue:

https://github.com/openmv/openmv/issues/370

The CAN module was disabled by mistake in the last release, and it has been fixed and will be available in the next release. For now you can either use FW 3.0.0 or wait for 3.2.0
by iabdalkader
Thu Sep 06, 2018 2:58 pm
Forum: Technical Discussion
Topic: Filesystem access, PC and pyb simultaneously
Replies: 9
Views: 339

Re: Filesystem access, PC and pyb simultaneously

Hi, you should avoid doing that, writing files from both PC and OMV will corrupt the filesystem. The OS assumes it has exclusive access to the filesystem and it will cache read/writes and won't see changes to the filesystem. There's nothing we can do to fix this issue.
by iabdalkader
Wed Sep 05, 2018 1:48 pm
Forum: Technical Discussion
Topic: Standby consumption
Replies: 10
Views: 465

Re: Standby consumption

I'm attaching the latest firmware, there'a sensor.shutdown function now. And this is the script I used:

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

I'm not sure why you're getting higher current, I've asked Kwabena to test it as well.
by iabdalkader
Tue Sep 04, 2018 5:00 pm
Forum: Technical Discussion
Topic: Standby consumption
Replies: 10
Views: 465

Re: Standby consumption

Hi, Try adding this before sensor.sleep(True) sensor.__write_reg(0x4F, 0x18) sensor.sleep(True) This disables the internal core regulator, I know it doesn't make sense but it seems to work. Note sensor.sleep pulls PWDN high regardless of the argument (True or False), so you shouldn't use it if you w...
by iabdalkader
Mon Sep 03, 2018 9:37 am
Forum: Technical Discussion
Topic: Standby consumption
Replies: 10
Views: 465

Re: Standby consumption

I don't have an accurate meter, mine is limited to 1mA. When I use this firmware the current drops to 0 (so it's less than 1mA). Can you make sure you uploaded the modified fw ? Firmware Version should be 3.1.0
by iabdalkader
Thu Aug 30, 2018 9:14 pm
Forum: General Topics
Topic: File Transfer using OpenMV WiFi shield
Replies: 4
Views: 338

Re: File Transfer using OpenMV WiFi shield

Hi, we don't have any streaming protocol implemented, we just send M-JPEG over HTTP.
by iabdalkader
Thu Aug 30, 2018 9:01 pm
Forum: Technical Discussion
Topic: Standby consumption
Replies: 10
Views: 465

Re: Standby consumption

Hi, The sensor draws about 1mA in standby mode (initiated by sensor.sleep) to keep the SSCB/I2C block powered. To get under 1mA, you need to power down the sensor but the FW doesn't have a function for that yet, I'll add it to the next release. For now I attached a modified FW image with sensor.slee...
by iabdalkader
Wed Aug 29, 2018 11:58 am
Forum: General Topics
Topic: Problem related to image.match_descriptor
Replies: 8
Views: 521

Re: Problem related to image.match_descriptor

desc2=image.save_descriptor(kpts2,"/%s.orb"%(FILE_NAME4)) The save_descriptor doesn't return a descriptor object it returns True or raises an exception, so you're passing boolean values to image.match_descriptor() you should use kpts1 and kpts2. Also I don't think that's how globals are used (googl...
by iabdalkader
Wed Aug 29, 2018 11:50 am
Forum: Technical Discussion
Topic: RGB565 to RGB888?
Replies: 5
Views: 244

Re: RGB565 to RGB888?

type11969 wrote:
Wed Aug 29, 2018 8:29 am
Thanks. If I use the get_pixel() command with a bayer format, is a 10b value returned?
No you get 8 bits per pixel (R, G or B depending on the pixel position and the CFA).
type11969 wrote:
Wed Aug 29, 2018 8:29 am
Do you know if a 24b color sensor has ever been tested using the openmv platform?
Not as far as we know.
by iabdalkader
Tue Aug 21, 2018 11:02 am
Forum: Technical Discussion
Topic: USB HID mode
Replies: 16
Views: 589

Re: USB HID mode

Hi, Tested again on Windows 10, the keyboard works fine, and the mouse kinda works, scrolling works but I can't move the cursor, not sure why maybe because I'm testing on a virtual machine. Please follow this example: https://github.com/openmv/openmv/blob/master/scripts/examples/02-Board-Control/hid...
by iabdalkader
Mon Aug 20, 2018 6:54 pm
Forum: Technical Discussion
Topic: USB HID mode
Replies: 16
Views: 589

Re: USB HID mode

Hi,

This works fine on Linux, however it may need an .inf file/driver on Windows. I'll test it and get back to you. In the mean time you should check MicroPython's documentation or search for their driver.
by iabdalkader
Sat Aug 18, 2018 8:06 pm
Forum: General Topics
Topic: OpenMV M7 Cam Latency
Replies: 3
Views: 203

Re: OpenMV M7 Cam Latency

Hi, Sounds about right, @QVGA you get 84FPS so a frame every ~12ms. Worst case scenario 12ms + time to detect the blob. If you can lower the exposure the max time will be less, ex. sensor.set_auto_exposure(False, exposure_us=4000) outputs about ~100FPS (10ms+ blob time should be 13ms total). Hello, ...
by iabdalkader
Sat Aug 18, 2018 7:54 pm
Forum: General Topics
Topic: Find_blobs() - maximum resolution
Replies: 1
Views: 102

Re: Find_blobs() - maximum resolution

Hi,

The short answer is no. The maximum image size that can be stored in RAM on the F7 is 300KBs (RGB565@VGA is 640*480*2 = 600KBs). When the image size doesn't fit in RAM the format is automatically switched to BAYER which is not supported by any image processing functions.
by iabdalkader
Sat Aug 18, 2018 7:02 pm
Forum: General Topics
Topic: Continously send images to pc
Replies: 1
Views: 128

Re: Continously send images to pc

Hi, You can use our pyopenmv.py module to grab frames from the camera in Python: https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py And there's an example script using this module and pygame to draw the frames: https://github.com/openmv/openmv/blob/master/tools/pyopenmv_fb.py Does this h...
by iabdalkader
Fri Aug 17, 2018 7:04 pm
Forum: Technical Discussion
Topic: Image differencing three separate parts of camera view
Replies: 8
Views: 212

Re: Image differencing three separate parts of camera view

I think you can use mask arg to do what you want (difference parts of the image), otherwise I don't see ROI implemented for those functions.
by iabdalkader
Mon Aug 13, 2018 6:52 pm
Forum: General Topics
Topic: Openmv 2.0.0 Firmware 3.0.0 no framebuffer display
Replies: 11
Views: 300

Re: Openmv 2.0.0 Firmware 3.0.0 no framebuffer display

Using color bars mode should help narrow down the issue:

Code: Select all

sensor.set_colorbar(True)
by iabdalkader
Fri Aug 10, 2018 7:25 pm
Forum: Technical Discussion
Topic: 8bit grey scale
Replies: 2
Views: 132

Re: 8bit grey scale

Hi, we just extract the Y channel from YUV.
by iabdalkader
Fri Aug 10, 2018 4:18 pm
Forum: Technical Discussion
Topic: Saving the BAYER raw for sensor calibration
Replies: 9
Views: 425

Re: Saving the BAYER raw for sensor calibration

Note the issue with saving BAYER using ".raw" or no extension has been fixed, and will be available in the next release.
by iabdalkader
Wed Aug 08, 2018 3:56 pm
Forum: Technical Discussion
Topic: resize the framebuffer with copy function
Replies: 2
Views: 126

Re: resize the framebuffer with copy function

What do you mean by resizing the framebuffer ? You can lower the resolution or use windowing to crop the image if you want a smaller FB.
by iabdalkader
Tue Aug 07, 2018 4:16 pm
Forum: General Topics
Topic: Convert .xml to .cascade
Replies: 5
Views: 208

Re: Convert .xml to .cascade

FeKTapano wrote:
Mon Aug 06, 2018 4:02 pm
Now instead of creating a blank file, when I open my xml with the converter script, no file is generated whatsoever.
Please run the following command from the command line on Linux:

Code: Select all

python2 cascade_convert.py cascade.xml

Go to advanced search