OpenCV real time car detection example (by @moster67)
This is a full working example of real time ObjectDetection (in this case, cars) using cascadeClassifiers, getting the input from a recorded video file, making use of Videocapture. The example was written by @moster67 who kindly gave me permission to publish it here. I have only tuned a couple of things ( :D ) , but the example is very good for learning as it makes use of several OpenCV classes. This project can be used as a starting point for any other type of object detection: as in real-world applications, many things can be tuned: cascade classifier files, image conditioning, applying logic, .... It is an excellent example to start experimenting. Also the code is both compact and commented.
@JordiCP · 2017-06-13
OpenCVforB4A: basic image manipulation: OCVMats,OCVCore and OCVImgProc
Perhaps OCVMats (''Mat''s in the OpenCV syntax, please note that all classes in the B4A library add a ''OCV'' prefix to the class names) are the most important building blocks: â¢Basically, OCVMats are managed arrays, which can hold different type of data. They can be used to hold the pixels of a bitmap, a set of points, whatever. â¢Then, there are a lot of highly optimized methods, which belong to the same OCVMat class, or the OCVCore (Core functionality) and OCVImgProc (image processing) modules, which perform all the manipulations that one may need. â¢These and other strongly optimized "base manipulations" are then used by higher level algorithms to extract features from the image, which can be converted into useful information, and so many things...
@JordiCP · 2017-06-12
Simple Image viewer & pager
This example shows the images contained in a certain directory, with pinch zoom and smooth scroll -when image is zoomed- capabilities (provided by JSTouchImageView library, from @salvadorjhai). Also you can pass from one image to the next or the previous, with an horizontal touch movement (provided by Gestures library, from @agraham). One of the major advantages, appart from its simplicity, is the low comsumption of memory, as only one image is loaded at a time.
@Ivan Aldaz · 2017-06-11
Morphos
Animations made easy
@Johan Schoeman · 2017-06-10
WaitForInternet
Your application will be able to get through an event, as it connects to the internet via Wifi or 3G, without the need to be checking all the time, not consuming battery unnecessarily. In the Full Version, you have a double check for then internet connection over the ping method to bypass Captive Portals and have a ForcePing Method to check the host connect in any time you want.
@Alberto Iglesias · 2017-06-09
SmartyToast
Android library with collection of some smart toasts designs
@Johan Schoeman · 2017-06-08
Foreground Service with Notification Builder
The example shows how to implement a long-running service (Service.StartForeground) with three different ways to show a notification used for controlling the app: 1) Using the Notification object and catching the user press on the notification (based on Erel''s download example) 2) Using the NotificationBuilder library (see above for link to the library) and catching the user press on the notification 3) Using the NotificationBuilder library with additional actions to implement the controls
@Misterbates · 2017-06-07
GUI AVD Manager / Emulator
B4A Sdk Manager v2 adds support for managing Android Virtual Devices (AVDs):
@Erel · 2017-06-06
BatteryProgressView
Custom ProgressView.
@Johan Schoeman · 2017-06-06
Dialogs
Date, Time, Text, Number, Color, File and Custom modal dialogs.
@Agraham · 2017-06-05
Color Picker 2
Code to create a simple color picker based on an image
@Erel · 2017-06-05
ResourceManager - load multiple string values named in an array
ResourceManager - load multiple string values named in an array
@Misterbates · 2017-06-01
ElemeShoppingView
A cool shopping cart effect.
@somed3v3loper · 2017-05-31
Online B4A Libraries browser
To my own orientation, and to show my clients the power of developing with b4x, I collected here all (for me) important b4a libraries for easy exploring the documentations, tutorials and downloads. I want to share this here and I hope, for some of you it is also usefull. In future I would like to add a comparision with b4i libraries. Please tell me, if I forgot your favorite libraries or if there is something wrong.
@skrjabin · 2017-05-30
Device Class Year
Device Year Class is an Android library that implements a simple algorithm that maps a device''s RAM, CPU cores, and clock speed to the year where those combination of specs were considered high end. This allows a developer to easily modify application behavior based on the capabilities of the phone''s hardware.
@Jamie8763 · 2017-05-30
@NJDude · 2017-05-29
DoEvents deprecated and async dialogs (msgbox)
Starting from B4A v7.0 the following warning will appear for DoEvents calls:DoEvents is deprecated. It can lead to stability issues. Use Sleep(0) instead (if really needed).
@Erel · 2017-05-28
TinyVM - 64Bit Virtual Machine
TinyVM - 64Bit Virtual Machine
@wonder · 2017-05-27
MTrans - mini translator helper
I needed a small tool to handle localization of my app. I found several fine options in the forum, and while they seemed like very competent tools, my needs were more modest and I wanted a smaller solution. So I created it, and thought I''d share it in case someone might find it useful.
@Sandman · 2017-05-26
DEDialogs class
For files and input dialogs.
@Derez · 2017-05-25
Spotlight PopUp Menu
this is a lib i wrote (no wrapper) that simulate the new feature on android 7+ (Spotlight). this is NOT the feature Spotlight, it is a PopUp in Spotlight look. you can add few items to the popup menu and add icons to them.
@ilan · 2017-05-24
DashedCircularProgress
A Circular progress animated where you can put any view inside
@Johan Schoeman · 2017-05-23
Simple Multilanguage Rotine
I develop a simple rotine to translate language using text file like "NotePad"
@Humberto · 2017-05-22
CalibratorSensor
Widget to calibrate sensors (Orientation). This Calibrator can be embedded in your own App. Keep your phone in a "portrait vertical position" and move it around in a figure 8 motion. The returned values are radians. Convert them to degrees if you want to display the values in degrees.
@Johan Schoeman · 2017-05-15
Cache
Adds a LRU cache (memory and disk) to your application.
@Informatix · 2017-05-14
ParticleTextView
ParticleTextView
@Johan Schoeman · 2017-05-13
logarithms using BigDecimals
A small Code Module to provide Logs and AntiLogs [Base e & Base 10] when using BigDecimals. Not the precision I had hoped but appears to be far better than returning to Doubles for these functions. With these functions it is a small step to Non-Integer powers and roots in BigDecimals.
@Roger Daley · 2017-05-13
SecureMyText - AES256PasswordBasedEncryption-Decryption
AES256PasswordBasedEncryption-Decryption A library that lets you use the AES 256 password based encryption/decryption for your android application in the easiest manner.
@DonManfred · 2017-05-12
MteEval
MteEval is a library for compiling and evaluating math expressions at runtime. Expressions are converted to bytecode and then executed on demand with a mini virtual machine.
@stanmiller · 2017-05-12
OAuth 2.0 / Google web services tutorial
OAuth 2.0 / Google web services tutorial
@Erel · 2017-05-11