Commit Graph

538 Commits

Author SHA1 Message Date
iabdalkader
6d6ad783b7 Add ARCH_STR command. 2016-08-14 15:12:43 +02:00
iabdalkader
381d20b697 Remove IDE FB update command. 2016-08-14 14:54:32 +02:00
iabdalkader
3ad4702032 Remove IDE JPEG enable/disable. 2016-08-14 14:53:39 +02:00
iabdalkader
4a2a0cb4dd Support new ENABLE_FB command. 2016-08-12 23:04:55 +02:00
iabdalkader
e4ee55eefb Update firmware version. 2016-07-27 22:18:43 +03:00
iabdalkader
f0a4d98fef Update optical flow script to use 64x32 resolution. 2016-06-21 00:46:47 +02:00
iabdalkader
02088a14e1 Rename set_binning to set_windowing. 2016-06-20 22:24:00 +02:00
iabdalkader
6e3580a8c2 Add checkbox to enable/disable preview/framebuffer. 2016-06-20 01:43:55 +02:00
Kwabena W. Agyeman
7af818c4d8 Finished up optical flow code.
* Added pooling functions to make getting small images easy. set_binning
works too... but, it zooms in way to much. pooling functions aout you to
shrink the image while not zooming in.

* To make the pooling functions easy to use I created a version that
pools the image out of place and one that pools the image in place. The
inplace pooling function can work on the frame buffer (see edits to
sensor.c)

* I added the code to do hann windowing to the FFT lib. However, I
commented it out after it improved performance by basically zero.
Specialized windowing stuff will only come in handy for folks trying to
tune their algorithm... not in general for everything.

* I added subpixel resolution for the phase correlation code. You can
now track the image movement really precisely. Additionally, I fixed up
the displacement outputs to give expected results. I also added a QoR
output for the displacement code so that you can know when the results
are bad.

* Finally, an example script has been added to show off the features.
2016-06-18 23:05:44 -04:00
iabdalkader
6443eff70f Update template matching script. 2016-06-15 23:43:21 +02:00
iabdalkader
e40c50f739 Add diamond search for fast template matching. 2016-06-15 22:59:17 +02:00
iabdalkader
d9b03641f7 Add copy to framebuffer function and example script. 2016-06-15 21:59:36 +02:00
iabdalkader
8c8e1d08c8 Update template matching script to use binning, ROI and step. 2016-06-14 00:14:44 +02:00
iabdalkader
686718effc Minor cleanup to IDE script. 2016-06-11 01:44:57 +02:00
iabdalkader
f6ca73b5c9 Adjust iris window. 2016-06-04 01:18:12 +02:00
iabdalkader
3d31ae535d Remove old iris example. 2016-06-04 01:14:06 +02:00
iabdalkader
4b074a7044 Update iris detection script. 2016-06-04 01:11:44 +02:00
iabdalkader
46fc010514 Update iris tracking script. 2016-06-04 00:58:31 +02:00
iabdalkader
ad812b410a Update iris detection example to use binning. 2016-06-03 23:10:47 +02:00
iabdalkader
48a973a586 Update release tag name 2016-06-02 21:29:10 +02:00
iabdalkader
6cae72f825 Update pinout image. 2016-05-19 11:41:05 +02:00
iabdalkader
162228562f Set serial to None after disconnecting. 2016-05-18 21:39:50 +02:00
iabdalkader
26fc0e7b4a Fix selected region for color stats, template and descriptor. 2016-05-18 21:38:32 +02:00
iabdalkader
cb2253e345 Rename copy color to show color stats. 2016-05-18 21:27:09 +02:00
iabdalkader
4428a119f4 Fix IDE copy color function. 2016-05-18 21:22:55 +02:00
iabdalkader
3dcaf69d1f Show firmware version in IDE's main window title. 2016-05-18 20:47:20 +02:00
iabdalkader
4d259d1ce6 Reset the cam just before the bootloader dialog runs.
* Allows the bootloader to run before the bootloader dialog runs.
2016-05-18 20:27:53 +02:00
iabdalkader
34ee346846 Add timer callback example. 2016-05-18 18:53:18 +02:00
iabdalkader
b0f4ebf0cd Update PWM example. 2016-05-18 18:45:25 +02:00
iabdalkader
cb0d89205e Fix pinout image.
* Swap TXD/RXD
2016-05-18 18:11:01 +02:00
iabdalkader
203b60cd36 Remove old skin_filter.py 2016-05-16 14:29:41 +02:00
iabdalkader
2e2c563227 Re-implement line filters with Python callbacks. 2016-05-16 14:22:30 +02:00
iabdalkader
062947356f Add an option to erase the filesystem sectors. 2016-05-06 23:47:07 +02:00
iabdalkader
31fa996649 Support loading binary images from pydfu.py 2016-05-03 16:13:37 +02:00
iabdalkader
88340acc08 Update release tag name. 2016-05-02 13:25:29 +02:00
iabdalkader
c83c6c3de4 Remove refresh button. 2016-05-01 16:22:03 +02:00
iabdalkader
a165c67132 Set sharpness on OV7725 for edge detection. 2016-05-01 16:01:35 +02:00
iabdalkader
e53d8f874f Add second iris detection example 2016-05-01 15:07:27 +02:00
iabdalkader
f8201885c4 Fix IDE's Bootloader initialization. 2016-05-01 12:43:37 +02:00
iabdalkader
17b1ce2b24 Cleanup IDE's Bootloader class 2016-05-01 12:25:26 +02:00
iabdalkader
90ac31c0ff Set config board in preferences dialog. 2016-04-29 23:49:24 +02:00
iabdalkader
a63f300026 Set config serial port in preferences dialog. 2016-04-29 23:22:05 +02:00
iabdalkader
d6890e7912 Close serial port when connecting/disconnecting. 2016-04-29 20:38:24 +02:00
iabdalkader
37515c7672 Use list_ports for Windows COM ports. 2016-04-28 21:54:08 +02:00
iabdalkader
a4186d3191 Erase the flash FS when uploading new FW image. 2016-04-28 11:57:47 +02:00
iabdalkader
dff1054171 Add binary flag to FW file read. 2016-04-27 19:30:05 +02:00
iabdalkader
db541f51ca Fix if indent 2016-04-27 18:36:22 +02:00
iabdalkader
ae718e8207 Reset OpenMV before running bootloader. 2016-04-27 18:33:53 +02:00
iabdalkader
20560923b0 Fix bootloader message. 2016-04-27 18:31:28 +02:00
iabdalkader
03eb277aa9 Add serial disconnect function. 2016-04-27 18:27:36 +02:00
iabdalkader
3f0340d103 Remove usb hidden import from PyInstaller spec. 2016-04-27 18:21:42 +02:00
iabdalkader
c2ac84044f Move terminal update callback 2016-04-27 02:12:41 +02:00
iabdalkader
5217dedb8c Remove mismatch flag.
* Not really needed, nothing runs unless connected is set True.
2016-04-27 01:57:03 +02:00
iabdalkader
9f7980eec4 Fix IDE undo. 2016-04-26 23:32:11 +02:00
Kwabena W. Agyeman
7a01a9bede Final Imlib Cleanup
Finished going through imlib.c.
-> Histeq uses fb_alloc now and has hook for RGB histeq when reserve YUV
LUT is added (coming soon in next PR).

Cleanuped py_helper.c/h
-> No functional changes. Just added some header info.

Finished going through py_image.c
* 1 - Finished general code cleanup and updating everything to using new
library functions. In particular, I updated the remaining find_*
functions with the new roi clipping code when they accept rois.
* 2 - Made blob stuff return a list when nothing is found so you don't
have to do an if on the returned value anymore.
* 3 - img subscr is more powerful now allowing image reading and
writing. I updated this because I had to use it to find a previous bug
with socket.send() for the WINC driver.
* 4 - Renamed find_eyes to find_eye. Because it just finds one eye.
* 5 - Other than that just general code cleanup to make functions look
consistent.

And yes, changes have been test. Face tracking, eye tracking, keypoints,
etc. all work still.

Future things todo before release:
1 - Change all LAB stuff to YUV.
2 - Add in reverse YUV->RGB LUT and update functions like Mode() to use
this so they don't generate messed up outputs, also histeq() too.
3 - Add any remaining sensor control functions like agc control.
2016-04-25 21:55:49 -04:00
Ibrahim Abd Elkader
3ac7872188 Merge pull request #130 from kwagyeman/master
Improve JPEG capabilities.
2016-04-26 02:47:08 +02:00
iabdalkader
232461295d Remove old DFU code. 2016-04-25 20:35:36 +02:00
iabdalkader
54be7503e6 Update IDE to handle the new bootloader. 2016-04-25 18:22:41 +02:00
Kwabena W. Agyeman
367e5fdd3d Improved JPEG capabilities.
* Added the ability to control the quality on JPEG functions... However,
due to our JPEG implementation this doesn't seem to help. 90% JPEG
quality images and regular images should be about equal. But, you can
see heavy degredation with 90% still. E.g. text is unreabable. Not
exactly sure why this is happening but it can be fixed later.

* Changed the compress() function to compressed(). Also, it now
compresses using FB_Alloc to prevent realloc issues when compressing.

* Added new compress() function. This function compresses an image in
place and if that image is the frame bufffer then it will update the
frame buffer bpp value to reflect the image was compressed. Users can use
this function to basically finalize the frame buffer and then pass the FB
to functions that need to send image bytes. The benefit of using this
function is that it should allow higher quality JPEGs and let everything
run at a faster speed while connected to the IDE.

I made this function to speed up WiFi. However, I encountered a bug with
the winc.send() method. It appears to zero the bytes it sends. I didn't
debug further except to verify that the image data became zero after
calling send.
2016-04-23 16:37:21 -04:00
Kwabena W. Agyeman
4c88c110cf 60 Scripts.
Everything except the DAC script works. That has to be fixed. Anyway, we
have a ton of example for launch. So, hopefully, comments about how to
do stuff should be limited.

That said, the PYB module is in a poor state still. Stuff kinda works and
kinda doesn't from it.

One day... There won't be any fires to put out on this project and I can
stop working so hard.
2016-04-21 20:01:17 -04:00
Kwabena W. Agyeman
2006cf9746 Example Work
* Filled in all the board control examples. Everything works except for
DAC.

* Moved test drawing scripts to drawing dir and renamed them and added
comments.

* Filled in all the image filter stuff. There are still some tests that
can be renamed, commented, and added to this folder. But, I will do that
later.

* Fixed motion detection thresholds.

* Fixed LCD script comments.

* Fixed BLE return value.
2016-04-20 17:10:44 -04:00
Kwabena W. Agyeman
16daeb83a2 Fixed blob code.
Removed micropython code from the image libary. Also, blobs are now 10
tuple values by default now. The multilist thing has been removed from
blobs and it will return just a list of blobs instead of a tree of
lists.

Filter functions still work too.
2016-04-13 23:16:51 -04:00
Kwabena W. Agyeman
9e5d379c18 Remove old code.
Pixels, centroid, and orientation are calculated in the blob code now.
As for threshold, it is no longer needed (plus, it required storing a
secondary image in RAM which isn't really something we can handle).
2016-04-09 19:32:14 -04:00
Kwabena W. Agyeman
d1ff36602a New blob code.
Blob tracking has now been updated to work without requiring prior
segmentation of the image. You can still run it on a segmented image,
but, that is not needed anymore.

Use the copy color feature of the OpenMV IDE to get a color in the
image. Once you have that you can then pass the color to find_blobs which
will output a tuple of lists of blobs for each color. By default, all
blobs less than 1/1000th of the image are filtered out, however, you can
add a custom filter function which gets the image and the blob about to
be added to the list and you can decide to filter it or not.

For marker tracking, we now have a function called find markers which
basically merges all the blobs found by find blobs into one list of
blobs. Each new blob will have a color code value which will tell you
what colors are part of that blob. We support tracking up to 30 unique
colors this way.
2016-04-09 11:43:35 -04:00
iabdalkader
50fe3e96bc Don't add Ta to To_min and To_max.
* Fixes issue #113.
2016-04-09 15:27:53 +02:00
iabdalkader
fe177b0894 Update Release Tag Name. 2016-04-08 00:45:02 +02:00
iabdalkader
48d7828c3c Fix FIRMWARE_VERSION_MINOR. 2016-04-08 00:44:11 +02:00
iabdalkader
7b8c401956 Fix PyInstaller spec file. 2016-04-07 21:15:57 +02:00
iabdalkader
540438e4e4 Increment IDE version. 2016-04-07 20:59:34 +02:00
iabdalkader
38925e1f00 Add GDK pixbuf loaders on Linux only. 2016-04-07 20:38:49 +02:00
iabdalkader
f5db80f886 Add GDK PyInstaller runtime hook.
* This is required for the older GTK/GDK versions we're using.
2016-04-07 19:52:43 +02:00
iabdalkader
a26ed949a3 Fix conflict with Pyinstaller script.
* Use glob.glob
2016-04-07 19:37:42 +02:00
iabdalkader
39495a1fd7 Update WiFi streaming scripts. 2016-04-06 02:58:42 +02:00
iabdalkader
270fd4437d Update WiFi streaming script. 2016-04-06 02:57:11 +02:00
iabdalkader
838ffb4fd7 Add WiFi MJPEG streamer + FIR. 2016-04-05 22:37:06 +02:00
iabdalkader
2cbf6f08de Update WiFi scan script 2016-04-05 22:36:03 +02:00
iabdalkader
ea63340282 Add WINC1500 fw update script. 2016-04-05 22:35:38 +02:00
Kwabena W. Agyeman
0abd5d3688 Working on scripts...
Moved feature detection scripts into their own folders and added explict
frame_skip value per Ibrahim's request.

Finished working on snapshot and video recording scripts for next
release.

... From CMUcam4 work I learned that people will just want examples that
do "X" thing. So, in general, our examples should include a simple
script showing off a feature and then a more complex script that does "X"
where "X" is some app that a person would want. For example, we'll get
reuqests for face tracking with servos, and movement detection with
servos. So, instead of answering this question a million times with an
example script we'll just have examples for all kinds of things people
will want.

Gotta automate dealing with help support at the end of the day...
2016-04-02 11:18:20 -04:00
iabdalkader
fab730aeeb Update MJPEG streaming examples. 2016-03-31 22:36:41 +02:00
Kwabena W. Agyeman
94bc225542 Moved examples arround.
Tried to emulate Arduino's 11 folders... I'd perfer to have all the
shield scripts in one folder... but, that might not make sense. I don't
really want one script per folder however. So, I might merge some more
stuff in the future. I have a grand idea here that will become evident as
I work though the examples.

Anyway, the current structure is not final. It will be in flux for a
little while.

As for Git History, folder history is the best we're going to get. Git
and GitHub don't seem to deal with moves too well.
2016-03-30 21:30:11 -04:00
iabdalkader
20dcb16e9f Add NTP example. 2016-03-31 02:47:12 +02:00
iabdalkader
4d21a0b732 Add tcp_client and DNS examples. 2016-03-31 01:07:40 +02:00
iabdalkader
bd7eed6b54 Move Python scripts to separate directories. 2016-03-28 23:19:09 +02:00
Kwabena W. Agyeman
a6c2efcebe Renamed Display to Draw
And fixed type in blend. Per Ibrahim's suggestion.
2016-03-26 10:26:19 -04:00
iabdalkader
b2e77e9dce Add wifi scan and connect examples. 2016-03-26 01:55:16 +02:00
iabdalkader
7109748146 Update FIR Python examples. 2016-03-25 14:03:56 +02:00
Kwabena W. Agyeman
a74dd50eaf Improved IR code.
Return min and max from read_ir now. Also, made drawing functions take
IR values.

Example scripts have been updated to work with the new module code.
2016-03-24 19:52:00 -04:00
Kwabena W. Agyeman
2ef24cec0f Add BLE Driver
This a python module driver for the BLE module. It puts the module into
a mode that's good for machine interfacing and handles parsing commands
for you. Additionally, it lets you get access to the low level serial
port.

Users who want to use this driver will need to read and understand the
TruConnect API for what commands they can execute. This driver simply
makes executing commands easy. The user simply needs to call the
"command()" function with the strings listed on the TruConnect API and
they will get the response from the command back as a byte object.

Once the user has executed the nessary commands to setup the BLE
connection they can then do:

ble.command("str")

To put the BLE module into streaming mode and then they can just
directly access the serial port via:

ble.uart().write(<data>)

And etc.
2016-03-20 12:58:32 -04:00
Kwabena W. Agyeman
97a456c837 Add copy color.
The copy color function now works. It will automatically determine the
best thresholds to use to track a particular color blob for you.
2016-03-19 13:41:48 -04:00
iabdalkader
cb211024c9 Increase serial timeout after connecting. 2016-03-19 18:53:54 +02:00
iabdalkader
5069a71e10 Break after connecting.
* Add break in serial connect retry loop
2016-03-19 18:47:44 +02:00
Kwabena W. Agyeman
94910c8ed7 Move LCD code into module. It's now ultra fast, safe and friendly. I
tested everything too and added an example script (very simple).
2016-03-17 20:01:03 -04:00
iabdalkader
e13da8b3b8 Update PyInstaller's Spec File.
* Add pinout.png.
* Update to pyinstaller-3.1.1
* Note: this only works with setuptools==19.2
2016-03-15 00:44:00 +02:00
iabdalkader
819027f525 Use pin aliases in scripts. 2016-03-15 00:15:32 +02:00
iabdalkader
f85f42f7bf Up IDE tag name. 2016-03-15 00:05:56 +02:00
iabdalkader
65ddf182b1 Update pin-out image. 2016-03-15 00:03:33 +02:00
iabdalkader
6136bd04e1 Try to connect a few times before giving up.
* Fixes the connect button hang issue.
2016-03-11 03:37:35 +02:00
Kwabena W. Agyeman
66248c444b Update Gif to use fb_alloc_all.
And tested it along with mjpeg to make sure all this stuff is good. I
also see the issue with QQVGA now. That just appeared.
2016-03-05 22:29:21 -05:00
Kwabena W. Agyeman
5316b26d83 Added a new mjpeg module for Mjpeg support.
The built-in mjpeg module allows you to record videos seamlessly. It
will automatically compress the frame buffer using the extra space in the
main ram. So... you don't have to pass it jpeg images. Gets 7 FPS at
320x240 while connected to the computer too (it has to compress the
frame twice in this situation).

Anyway, the module work like Gif.
2016-03-05 20:03:48 -05:00
Kwabena W. Agyeman
9325029675 Add support for color gif.
Color gifs look very good for how bad you'd expect them to be with just
7 bits of color (rgb232) - quite amazing. Also, I  hardened the gif
module to make it "user ready".
2016-03-04 23:30:01 -05:00
iabdalkader
596cdf527c Lower the text buffer polling rate. 2016-03-02 04:02:27 +02:00
Kwabena W. Agyeman
98f4dde21f Add new morph function.
The morph function lets you convolve the image with a kernel. It's
decently fast right now. But, in the future we'll have to optimize it by
a lot (unrolling loops, using SIMD instructions, etc.).

Anyway, along with morph I added an edge detection test script showing
how you can use a high pass filter on an image to get all the edges in
it. This is not as good as canny edge dection... but, it's about the
same and fast enough.

We'll need a Hough Transform system in the future to make edge dection
useful. Not sure how that will be implemented... so, that's going to be
far away for now.
2016-02-29 18:04:45 -05:00
Kwabena W. Agyeman
fb8b357c24 Dilate and errode working.
The old code did not actually implement the errode anhd dilate kernels
correctly. However, it migh have been a little faster because it avoided
the boundary problem.

In the future we can optimize all the kernel code to have different loops
for doing the edges of image versus the center. But, for now, this is
good enough. QVGA color tracking with kernels will be slow, but, the
speed can be improved with QQVGA resolution. Using a 3x3 kernel is
plenty fast. Larger ones are slower.

I also added the ability for you to set the threshold for erode and
dialte. This lets you make the kenrel a little bit smarter so that it
won't errode or dilate a pixel unless the threshold is met. Meaning,
you'll be able to use erode to erode an image down to 1 pixel wide
lines.
2016-02-28 16:27:49 -05:00
iabdalkader
052d64e79c Set frame size to QQVGA in gif script. 2016-02-28 21:37:23 +02:00
iabdalkader
2e7ded5dd4 Add GIF module 2016-02-28 21:34:47 +02:00
iabdalkader
b40c07c75d Add BLE example. 2016-02-28 04:12:56 +02:00
iabdalkader
955856488c Add profile face XML cascade 2016-02-28 04:09:39 +02:00
iabdalkader
0aed3f4961 Add image filters example. 2016-02-28 04:07:28 +02:00
iabdalkader
c050509b9d Update descriptor scripts.
* Use the new match_descriptor.
* Add commented line that loads descriptor from file
2016-02-28 03:56:02 +02:00
iabdalkader
08f7cb8832 Add LBP descriptor example script 2016-02-28 03:51:57 +02:00
Kwabena W. Agyeman
4ed49082a1 Background Subtraction is working!!!
Woot, all the effort to make it so you can manipulate the image buffer
with an image off disk works!

Try out the motion_detection script.
2016-02-27 11:58:37 -05:00
Kwabena W. Agyeman
1121a6f7df Fixed save image.
It now figures out the file type from the file extension. If no file
extension is given it just saves the file as BMP if its not a JPEG image
or JPEG if it's a JPEG image. If you specify an extension and the file is
not of that type then it will give you an error.

The new test_save.py should run until you reach the JPEG image part
where it quits due to lack of JPEG support natively on OV7725 boards.
Maybe JPEG mode should be supoorted by just compressing pictures?
2016-02-26 22:00:04 -05:00
iabdalkader
8b87656241 Update kpts script.
* Draw FPS on framebuffer
2016-02-26 23:14:32 +02:00
iabdalkader
f66757f264 Fix ROI size sent from IDE.
* Rectangle was changed from int to short.
2016-02-26 03:03:29 +02:00
iabdalkader
84e2e1fa0d Update keypoints scripts. 2016-02-26 03:03:08 +02:00
iabdalkader
9f7b370b0e Update face_tracking script.
* Search for new keypoints within a detected face.
* Draw based on matching percentage of keypoints.
2016-02-22 03:32:32 +02:00
iabdalkader
8d4131426d Update face, eye and iris detection scripts. 2016-02-21 23:04:31 +02:00
iabdalkader
baee885cd4 Update eye detection Python script. 2016-02-21 20:39:48 +02:00
Kwabena W. Agyeman
140ceb3b77 Fixed bug in centroid and added tests.
Stuff works. Yay! Moving on to other things now.
2016-02-20 16:04:59 -05:00
Kwabena W. Agyeman
88d9c02a1b Draw keypoints now accepts lists.
Made draw keypoints accept lists of (x, y, angle) tuples. I did this so
it could be used to show object rotation easily.
2016-02-20 16:04:59 -05:00
Kwabena W. Agyeman
b01adfee26 Fixed up drawing code and scripts along with drawing code.
Set pixel works too now.
2016-02-19 22:55:50 -05:00
Kwabena W. Agyeman
a035aae493 Fixed set pixel. 2016-02-19 21:05:02 -05:00
iabdalkader
c4c25c70d9 Fix Enable/Disable JPEG 2016-02-19 18:10:04 +02:00
iabdalkader
19450b8810 Update Python examples 2016-02-19 18:03:20 +02:00
Kwabena W. Agyeman
b27dfde61f Remvoed set pixel code for now. 2016-02-18 23:02:15 -05:00
Kwabena W. Agyeman
bcd5151412 New drawing functions.
All the drawing functions have been updated to handle automatic clipping
when drawing offscren and work with both grayscale and RGB565.
Additionally, all functions now accept color arguments.

I've also updated the example scripts with the new functions and tested
them out to make sure they work.

Additionally, I wrote a test suite for the drawing functions to make
sure they work.
2016-02-18 22:40:12 -05:00
iabdalkader
7f9e95fdd5 Add enable/disable JPEG to preferences dialog. 2016-02-18 05:10:10 +02:00
iabdalkader
6b52c82e39 Add find face+eyes example script 2016-02-17 22:35:29 +02:00
iabdalkader
6b5cdce4aa Update face detection example 2016-02-17 22:09:02 +02:00
iabdalkader
dd7c8809a3 Update MLX Python script. 2016-02-10 17:35:40 +02:00
iabdalkader
dbd69a3a25 Remove framebuffer locking.
* Not needed anymore.
2016-02-09 01:11:25 +02:00
iabdalkader
05144b63b1 Make the IDE handle older FW versions. 2016-02-06 20:10:16 +02:00
iabdalkader
b61ac5f067 Display the correct IDE version. 2016-02-06 19:32:02 +02:00
iabdalkader
eb97a51183 Fix the ABI version to avoid breaking older IDE's 2016-02-06 19:19:55 +02:00
iabdalkader
51390c9326 Update version mismatch error 2016-02-06 18:07:09 +02:00
iabdalkader
cf641af6b0 Add command to return script running flag.
* Return script running flag to disable/enable execute and stop buttons.
* Up ABI version
2016-02-06 17:59:52 +02:00
iabdalkader
cc312c3a53 Draw the last frame when fb is not ready. 2016-02-06 16:11:30 +02:00
iabdalkader
1d932b0b5a Update MLX python scripts 2016-01-25 23:53:46 +02:00
iabdalkader
3eddaa5c10 Update MLX example 2016-01-25 22:32:46 +02:00
iabdalkader
7bccf220c4 Add MLX-LCD example. 2016-01-18 19:34:06 +02:00
iabdalkader
f28d3f6235 Update MLX example 2016-01-18 19:29:50 +02:00
iabdalkader
4ba640a842 Uncomment sensor.reset in blob_detection example 2015-10-04 00:29:20 +02:00
iabdalkader
fc2a5bb1c7 Use python2 to run openmv.py, pydfu.py and openmv-ide.py 2015-10-03 23:53:03 +02:00
iabdalkader
8fd4ea6d16 Add pinout dialog to Help menu. 2015-10-01 23:51:00 +02:00
iabdalkader
f45128955f Move serial port opening to openmv.py 2015-09-27 23:41:25 +02:00
iabdalkader
99884ea399 Fix IDE's Version String. 2015-09-26 00:00:13 +02:00
iabdalkader
29cbe8dc12 Add About Dialog. 2015-09-25 23:53:08 +02:00
iabdalkader
8f747b518d Fix IDE tag name 2015-09-24 01:00:45 +02:00
iabdalkader
9398ae0248 Add check for update
* Add check for latest release in IDE.
2015-09-23 05:04:55 +02:00
iabdalkader
f887659869 Fix default baudrate in openmv example
* Fix baudrate in openmv.py example
2015-09-14 03:25:31 +02:00
iabdalkader
4c065fac6e Fix menuitems underscores
* Issue #36
2015-09-14 03:00:30 +02:00
iabdalkader
cf9c643ca0 Remove unused import 2015-09-14 02:47:27 +02:00
iabdalkader
e81e6d189e Fix style/lang search path 2015-09-11 07:03:10 +02:00
iabdalkader
b03a77a80e Append IDE directory to style search paths 2015-09-11 07:00:45 +02:00
iabdalkader
c1fb84c164 Cleanup PyInstaller spec file 2015-09-10 02:17:26 +02:00
iabdalkader
159ab5dc7e Add BUNDLE attributes 2015-09-09 01:40:08 +02:00
iabdalkader
d47fafbc49 Generate an app for Mac OS X 2015-09-09 01:38:06 +02:00
iabdalkader
8692546dad Add Mac OS X to PyInstaller spec file 2015-09-08 23:09:50 +02:00
iabdalkader
80259c7071 List Mac OS X ttys 2015-09-08 23:04:04 +02:00
iabdalkader
d031ea87f1 Implement set_pixel 2015-08-20 16:25:37 +02:00
iabdalkader
9f4664c2b8 Append version to PyInstaller packages 2015-08-19 18:17:39 +02:00
iabdalkader
3341c894c5 Update PyInstaller Spec file
* Bundle gtksourceview style/lang files
2015-08-19 16:41:21 +02:00
iabdalkader
ddf3a8a232 Disable pyinstaller console. 2015-08-19 00:20:51 +02:00
iabdalkader
161b2d6a43 Increase keypoints threshold 2015-08-15 16:46:31 +02:00
iabdalkader
e04f7ec0fb Disable built-in DFU on Windows 2015-08-14 16:06:42 +02:00
iabdalkader
29af37cb93 Load helloworld.py on start up 2015-08-13 23:14:08 +02:00
iabdalkader
3b45053d84 Remove lib scripts dir 2015-08-13 23:12:14 +02:00
iabdalkader
0b07c82a79 Update examples 2015-08-13 23:09:06 +02:00
iabdalkader
5903859ab5 Fix VREF threshold in self tests script 2015-08-06 23:13:49 +02:00
iabdalkader
0aa9f23d0a Add self-tests script 2015-08-06 12:19:00 +02:00
iabdalkader
a3d1413423 Update colorbar script 2015-08-06 12:16:52 +02:00
iabdalkader
0c9ec07aa7 Update colorbar script 2015-08-04 12:22:12 +02:00
iabdalkader
4b55a1f949 Add colorbar test script 2015-08-04 12:19:01 +02:00
iabdalkader
5c0e6b8710 Increase serial timeout 2015-08-04 10:41:33 +02:00
iabdalkader
be82b952c3 Use timeout_add to lower CPU usage 2015-08-04 10:34:01 +02:00
iabdalkader
730348f98c Use gtk main_quit instead of sys.exit 2015-07-31 15:18:59 +02:00
iabdalkader
ccc4de8488 Revert to numpy 2015-07-31 15:18:41 +02:00
iabdalkader
71d38bcca8 Pull binaries from firmware directory 2015-07-28 20:34:07 +02:00
iabdalkader
c866827e1b Add bundle dir 2015-07-28 20:17:13 +02:00
iabdalkader
85b956554f Add PyInstaller spec file and update mkpkg 2015-07-28 19:51:49 +02:00
iabdalkader
c91ff380ce Check udev file when connecting. 2015-07-18 14:19:33 +02:00
iabdalkader
d691482385 Update connection failure message 2015-07-16 08:16:49 +02:00
iabdalkader
9234a04f68 Fix typo 2015-07-12 04:15:31 +02:00
iabdalkader
80e025dcd7 Append .py when saving files
* Fixes issue #41
2015-07-09 06:36:26 +02:00
iabdalkader
9d51051ba8 Return FR_NO_FILE if built-in cascade not found 2015-07-09 04:38:07 +02:00
iabdalkader
6c1d1ede81 Fix IDE boards names 2015-07-09 03:51:00 +02:00
iabdalkader
b18104abec Fix c header cascade 2015-07-09 03:34:18 +02:00
iabdalkader
645070f11e Add c header cascade option 2015-07-09 02:21:04 +02:00
iabdalkader
50e95cf3d5 Cleanup the cascade generator
* Add command line args
* Add cascade name arg
* Add cascade info arg
2015-07-09 00:30:02 +02:00
iabdalkader
66db27c4c0 Add baudrate setting
* Add a baudrate combo selection
* Add baudrate to config file
* Use 921600 in the default config
2015-07-08 03:29:24 +02:00
iabdalkader
182a844cd2 Add FW version command
* Add FW version command to usbdbg.
* Add FW version function to openmv.py
* Check for major version in the IDE.
2015-07-04 03:44:42 +02:00
iabdalkader
0d0086f6b3 Import pydfu on Linux only for openmv module 2015-07-04 01:54:02 +02:00
iabdalkader
f851600d50 Import pydfu on Linux only 2015-07-04 01:51:58 +02:00
iabdalkader
46d2f9db18 Remove usb imports 2015-07-04 01:48:02 +02:00
Ibrahim Abd Elkader
65bb893790 Merge pull request #48 from dhylands/pydfu-improvement
pydfu - minor improvement in list construction.
2015-07-01 23:44:00 +03:00
Dave Hylands
1790d04c87 pydfu - minor improvement in list construction.
This was a change done by @dpgeorge in the micropython tree and
I'm basically migrating back to openmv.
2015-07-01 12:40:09 -07:00
Dave Hylands
2e27055f69 Fix pydfu.py to work with Beta 1 and Beta 2 versions of PyUSB
In PyUSB 1.0.0.b1, the usb.util.get_string function takes a lenght argument.
In PyUSB 1.0.0.b2, it no longer takes a length argument.

Since python2 seems to come with PyUSB 1.0.0.b1 and python3 seems to come
with 1.0.0.b2, this change allows the same source to work with either
version of PyUSB.
2015-06-21 06:41:01 -07:00
iabdalkader
b8273fec98 Update examples 2015-05-05 14:07:05 +03:00
iabdalkader
95e1ef70c2 Show pop-up menu only when cam is connected
* Fixes #35
2015-05-01 05:13:18 +03:00
iabdalkader
26425fa66e Rollback to gtksourceview 2015-04-30 08:11:50 +03:00