Commit Graph

3300 Commits

Author SHA1 Message Date
Matt Dawson
c45ab418d4 Allow alpha palettes in grayscale mode. 2020-05-09 17:15:33 -07:00
Matt Dawson
7e83dbb92e Removed negative scaling. Moved texture sample to center of pixel. 2020-05-09 01:13:26 -07:00
Matt Dawson
8f8872537b Changed to use fb_alloc_mark, gb_alloc_free_till_mark. Renamed Image hint type and enums. Formatting fixes 2020-05-08 17:31:13 -07:00
Matt Dawson
85fbe0a87f Docs. And performance by not applying alpha if it's 0 2020-05-07 20:27:32 -07:00
Matt Dawson
a94b16a49d draw_image_bilinear_interp_alpha_palletes_and_center_image 2020-05-03 21:24:51 -07:00
Ibrahim Abd Elkader
2a7c31fd24
Merge pull request #776 from kwagyeman/kwabena/fix_disable_fb
Fix disable FB
2020-05-04 03:28:09 +02:00
Kwabena W. Agyeman
18b27e11c3 Fix disable FB 2020-05-03 17:33:32 -07:00
Ibrahim Abd Elkader
431755c453
Merge pull request #774 from kwagyeman/kwabena/close_tcp_socket_on_error
Close sockets that have errors.
2020-05-04 00:53:44 +02:00
iabdalkader
ea2ef40fbe Increase soft I2C spin delay for H7P. 2020-05-01 21:25:14 +02:00
Ibrahim Abd Elkader
c7b2c24ec8
Merge pull request #775 from openmv/fb_rename
Rename fb functions for consistency.
2020-05-01 15:53:30 +02:00
iabdalkader
9a025b60b9 Rename fb functions for consistency. 2020-05-01 14:43:13 +02:00
Ibrahim Abd Elkader
28296408c3
Merge pull request #771 from kwagyeman/kwabena/disable_fb
Add disable_fb.
2020-05-01 14:35:21 +02:00
Kwabena W. Agyeman
98e1a1e51d Add disable_fb.
Allow user control to disable the frame buffer.

Necessary for high speed frame streaming.
2020-04-30 13:40:07 -07:00
Kwabena W. Agyeman
f4b0df2ad0 Close sockets that have errors.
Tested and works.
2020-04-30 13:11:19 -07:00
iabdalkader
778ac59950 Update docs. 2020-04-30 01:12:24 +02:00
Ibrahim Abd Elkader
6061b6d2ba
Merge pull request #768 from bitbank2/master
Optimized datamatrix ops
2020-04-29 20:29:40 +02:00
Ibrahim Abd Elkader
bdc5888b69
Merge pull request #772 from kwagyeman/kwabena/fix_is_connected
Fix ip_obtained bug for static IPs
2020-04-29 19:03:21 +02:00
Ibrahim Abd Elkader
ff54696163
Merge pull request #763 from matsondawson/add_custom_palettes_to_draw_image
Add custom palettes to draw image with demo
2020-04-29 18:57:22 +02:00
Kwabena W. Agyeman
b5dee12bf1 Fix ip_obtained bug for static IPs 2020-04-28 22:26:11 -07:00
Ibrahim Abd Elkader
0f0ff4b247
Merge pull request #770 from kwagyeman/kwabena/wifi_performance_max
Improve WiFi performance by 20X
2020-04-29 02:17:25 +02:00
Kwabena W. Agyeman
f9dc525011 Improve WiFi performance by 20X
Polling for the async response was ruinning WiFi and UDP performance.
This fix removes that polling while not breaking anything. It has been
stress tested while streaming over an hour of wifi video data using the
new RPC scripts.
2020-04-28 17:05:46 -07:00
Ibrahim Abd Elkader
5ec3a2a2f8
Merge pull request #765 from kwagyeman/kwabena/fix_winc_stuff
Fix send/sendto
2020-04-25 20:11:18 +02:00
Kwabena W. Agyeman
7488988128 Fix winc send/sendto/recv/recvfrom 2020-04-25 11:08:53 -07:00
Larry Bank
dff1a63f15 Optimized datamatrix ops 2020-04-24 23:40:30 +02:00
iabdalkader
a7318b8489 Fix I2C DMA deinit again. 2020-04-24 21:18:15 +02:00
Ibrahim Abd Elkader
b9dc456b50
Merge pull request #766 from matsondawson/#764-Image.mean-corrupts-memory
Fix bug in filters corrupting memory if y size less than k_size.
* closes #764
2020-04-24 21:12:41 +02:00
iabdalkader
5f8dcc17c5 Fix I2C deinit. 2020-04-24 21:04:55 +02:00
Ibrahim Abd Elkader
238b3e6749
Merge pull request #767 from kwagyeman/kwabena/fix_spi_i2c_dma
Fix SPI I2C DMA Deinit
2020-04-24 18:04:40 +02:00
Kwabena W. Agyeman
8b66c39ae2 Fix SPI I2C DMA Deinit 2020-04-24 09:03:18 -07:00
Ibrahim Abd Elkader
17b278153d
Merge pull request #762 from bitbank2/master
optimize negate and difference
2020-04-24 14:44:33 +02:00
mattdawson
c4bcfd80e4 Change example to generate a palette rather than use pre-created
Also changed to sho the palette at top of screen.
This script wont work until the fixes to filters with y_size < k_size are merged. #764
2020-04-24 18:34:27 +12:00
mattdawson
6411663a2d #764 fix cleanup at end of filters that corrupts memory if y size is less than k_size 2020-04-24 18:13:47 +12:00
mattdawson
eb94f153dd Fix formatting. Remove un-needed error check for image format with color palette. 2020-04-24 13:42:05 +12:00
mattdawson
30383d32b6 Fixed not checking that image is grayscale image for custom palette. Made demo simpler. 2020-04-23 21:58:37 +12:00
mattdawson
91efa307e0 Add custom palettes to draw image with demo 2020-04-23 21:33:01 +12:00
iabdalkader
cb2d279bda FDCAN Fixes.
* Fix FIFO flags.
* Add receive timeout.
2020-04-22 22:42:00 +02:00
Larry Bank
d5a19980cc optimize negate and difference 2020-04-22 21:44:02 +02:00
Matt Dawson
414c6e1a51
draw_image performance and negative scaling. (#758)
Improve draw_image performance and negative scaling.
2020-04-22 17:43:14 +02:00
Larry Bank
c6f727e4fa
×ptimized erode/dilate (#760)
* optimized erode/dilate
Co-authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-22 17:21:26 +02:00
Ibrahim Abd Elkader
632691ffcd
Merge pull request #759 from kwagyeman/kwabena/fix_sensor_init0
First image is invalid on sensor init0.
2020-04-19 20:46:29 +02:00
Kwabena W. Agyeman
012bef5966 First image is invalid on sensor init0. 2020-04-18 23:09:26 -07:00
Larry Bank
86760e9851
Faster Bayer to YCBCR (#755)
* speed up jpeg encoder by adding a direct bayer-to-ycbcr path

* implemented faster bayer_to_ycbcr for SW JPEG and moved Y/BINARY to imlib.c

* changed names of new bayer_to_xx functions and added prototypes to imlib.h

Authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-17 23:03:32 +02:00
Ibrahim Abd Elkader
0bdb0a884e
Merge pull request #756 from matsondawson/Add-MLX90640_overlay_smoothed.py-sample-script
Demo sample for applying palettes with image.draw_image and smoothing
2020-04-16 19:58:29 +02:00
mattdawson
894b76a41c Demo sample for applying palettes with drawimage and smoothing 2020-04-16 11:51:31 +12:00
Ibrahim Abd Elkader
86e01445fd
Merge pull request #748 from bitbank2/master
Optimized bayer to RGB565
2020-04-15 13:50:43 +02:00
Ibrahim Abd Elkader
37bb532562
Merge pull request #754 from kwagyeman/kwabena/update_tf_4_14_2020
Updated tensorflow library to support int8
2020-04-15 13:49:48 +02:00
Ibrahim Abd Elkader
c6f7378b5b
Merge pull request #753 from matsondawson/FixDrawImageAlphaAndAddPalettes
Fix DrawImage with alpha and add color palettes for grayscale
2020-04-15 13:49:05 +02:00
Kwabena W. Agyeman
c325f81034 Updated tensorflow library to support int8 2020-04-14 20:47:26 -07:00
mattdawson
e1c667fbc1 Fixes as per P.R. #753 comments 2020-04-14 17:34:53 +12:00
mattdawson
a71c3f9beb Fix DrawImage with alpha and add color palettes for grayscale 2020-04-13 21:18:38 +12:00