Search found 549 matches

by iabdalkader
Wed Oct 17, 2018 5:46 pm
Forum: Project Discussion
Topic: Change of MCU
Replies: 9
Views: 3828

Re: Change of MCU

victagayun wrote:
Wed Oct 17, 2018 12:08 pm
iabdalkader wrote:
Mon Jul 27, 2015 5:51 pm
OpenMV-SDR (429+SDRAM)
Where in github is it?
Hi, we moved the design files here:

https://github.com/openmv/openmv-boards
by iabdalkader
Wed Oct 17, 2018 2:34 pm
Forum: Project Discussion
Topic: Programatically transferring data off board to a host.
Replies: 3
Views: 34

Re: Programatically transferring data off board to a host.

I am looking at __USBDBG_TX_BUF command. Does this receive the results of using the functions USB_VCP.write(buf) or USB_VCP.send(data,timeout). No, this module implements the camera debugging protocol it lets you control the camera programmatically, instead of using the IDE, to do low-level stuff l...
by iabdalkader
Wed Oct 17, 2018 2:14 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 48
Views: 16044

Re: implement own Haar-Cascade

Hi, face_eye_detection.py looks fine but it doesnt work with the eye cascade generated by me. I have attached the cascade in my previous post, could you please regenerate and try? Thanks for the support. Much appreciated! The script should generate an identical cascade. Note I never tested the conv...
by iabdalkader
Wed Oct 17, 2018 1:40 pm
Forum: Project Discussion
Topic: Programatically transferring data off board to a host.
Replies: 3
Views: 34

Re: Programatically transferring data off board to a host.

Hi, actually we have a Python module you can import in your scripts and use the cam just like the IDE would: https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py And this is an example that executes a script, grabs the framebuffer and displays it using pygame: https://github.com/openmv/ope...
by iabdalkader
Wed Oct 17, 2018 1:36 pm
Forum: General Topics
Topic: Img.find_template function
Replies: 1
Views: 20

Re: Img.find_template function

Have you tried diamond search ?
by iabdalkader
Tue Oct 16, 2018 2:18 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 48
Views: 16044

Re: implement own Haar-Cascade

Does the cascade converter work on macos? Haven't tested it before on Mac. I couldnt find the eye cascade binary in the Github directory The eye and face cascades are built-in the firmware because they are very common. To load a built-in cascade, just use its name without a path, ex: c = load('eye....
by iabdalkader
Tue Oct 16, 2018 2:11 pm
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 18
Views: 4701

Re: Future wishlist

ser wrote:
Tue Jun 19, 2018 11:25 pm
Would it be possible to route TRACESWO line to the debug header (or to where it's convenient)? I understand it's not an essential line, but it may help during debugging.
Will add it to the debugging header.
by iabdalkader
Sat Oct 13, 2018 11:01 am
Forum: Technical Discussion
Topic: STM32F765VIT6 or STM32F765VGT6
Replies: 2
Views: 120

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: 363

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: 2358

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: 235

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: 89

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: 56

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: 119

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: 235

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: 137

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: 235

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: 137

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: 137

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: 137

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: 209

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: 10
Views: 365

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: 268

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: 385

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: 319

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: 144

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: 2358

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: 144

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: 385

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: 385

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: 234

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: 234

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: 214

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: 144

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: 385

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: 162

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: 262

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: 466

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: 466

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: 466

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: 363

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: 466

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: 527

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: 245

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: 595

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: 595

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: 206

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: 108

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.

Go to advanced search