live-keys / livekeys Goto Github PK
View Code? Open in Web Editor NEWLivekeys - Automation Platform with support for live scripting.
Home Page: https://livekeys.io
Livekeys - Automation Platform with support for live scripting.
Home Page: https://livekeys.io
The main script interface defines the main project file. Currently, it's function would be to configure command line arguments and set up the version:
Main{
args : [
{key: ['r', 'read'], type: required, describe: 'input file'},
{key: ['w', 'write'], type: required, describe: 'output file'}
]
}
Suggested names : Main
, CVMain
, MainScript
, Script
Set global levels, and on a per channel basis:
Levels{
white : 253 // from 0 to image max color, default : imageMaxColor
black : 20 // from 0 to image max color, default : 0
contrast : 155 // from 0 to image max color, default imageMaxColor / 2
channel : { 0: [0, 255, 124], 1: [0, 255, 124]}
}
Preview mode allows Live CV to open files without the editor. (Suggested command line argument flag '--preview')
External modules fail to load in certain scenarios. Check cause.
Add support for LK Optical flow tracker and MOG2 background extractor.
RGB, HSV, Greyscale histogram.
ColorHistogram{
type : RGB/HSV //default : RGB
image: input image
fill : true / false // histogram draw type, default : false
channel : 0 // optional, default -1
}
Iterate each channel or selected channel from the image and calculate histogram. Display all channels overlapped if no channel is selected.
This requires a custom parser to be implemented, since the scripts need access to command line arguments as well:
livecv.exe [--option value --option2 value] script.qml [args]
A Live CV project will be a directory containing one or more qml files. Project directories can be opened, and specific files can be set as the startup files.
We need a file-tree view in the GUI. A toggle on/off option. A 'set as startup' option. And an "Open Project" button.
Add HueSaturationValue{} component.
On scripts that require heavy computation, the GUI blocks for writing.
Need to switch from main.qml:
newItem = Qt.createQmlObject(
"import QtQuick 2.3\n" + tester.program,
tester,
codeDocument.file.toString() !== '' ? codeDocument.file : 'untitled.qml');
With a separate implementation, info found at Qts sources, in Qt/Src/qtquick1/src/declarative/qml/qdeclarativeengine.cpp
Add support to determine auto-adjustment levels for an image.
Add HistogramControl, adding a dropbox to select image channel
ColorHistogramControl{
DropDown{...}
ColorHistogram{...}
}
ExposureAndContrast{
exposure : 1.5 // from -5 to +5
contrast : -1.5 // from -5 to +5
}
Merge a set of hdr photos.
Compile started and compile ended signals from the engine should be available for the application in order to start specific behaviors during each one.
A multi slider lets you have an unlimited number of slideable elements in the same box. When a user
double clicks, a new slidable element is added. The dynamic property disables adding of new slider elements.
MultiSlider{
id : ds
elements : [0, 100, 255] // number of elements and their position
dynamic : false // default: true
}
LevelsBox{}
adds sliders, and histograms to an image levels adjustment.
To not clutter the main script section, I would create a CommandLineArguments object, then use it as:
Arguments.qml
CommandLineArguments{
CommandLineOption{
key : ['r', 'read']
type : 'required'
description/help: 'Input file.'
}
}
main.qml
Script{
args: Arguments{}
}
I will detail this later on.
Slider{
from: 0
to : 255
value : output
}
It would be very useful if I tested the processing procedure and it works, now i want to add the processing procedure (API calls) to my application source code, i can just open the log window, copy and paste to my source code editor, followed by minor modifications to fit into the code context.
that will save a lot of time for developing.
i would also suggest to include both python and/or c++ calls
This is needed for the code completion model.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.