Commit graph

2667 commits

Author SHA1 Message Date
Candice Bentéjac
12d47c0fd0 [nodes] KeyframeSelection: add option to compute OF cell by cell 2023-01-18 16:02:41 +00:00
Candice Bentéjac
4a57e8cfcc [nodes] KeyframeSelection: add a "refineSelection" parameter 2023-01-06 11:10:45 +00:00
Candice Bentéjac
be876de9e4 [nodes] KeyframeSelection: add parameter to compute optical flow on borders 2022-12-22 09:23:53 +01:00
Candice Bentéjac
77bc977b68 [nodes] KeyframeSelection: add debug parameters
- "computeScores" computes the scores for sharpness and motion on the
input frames at full resolution
- "computeRescaled" computes the scores for sharpness and motion on the
rescaled input frames
- "exportSharpness" exports the computed sharpness scores into a CSV file
- "exportFlow" exports the computed optical flow scores into a CSV file
- "noSelection" stops the execution once the scores have been computed
(and exported, if enabled); the keyframe selection will not be performed
2022-12-22 09:23:52 +01:00
Candice Bentéjac
a02adfbc28 [nodes] KeyframeSelection: rename and invalidate "useSimpleMethod" 2022-12-22 09:23:51 +01:00
fabien servant
943611469e [node] keyframeselection update with simpler algorithms 2022-12-22 09:23:51 +01:00
Fabien Castan
9ac21d5423
Merge pull request #1848 from alicevision/dev/binRename
[nodes] rename: remove "utils" from executables names
2022-12-21 16:32:34 +01:00
Fabien Castan
498a756aca
Merge pull request #1831 from alicevision/mug/replaceQtOIIOwithQtAV
[ui] Integrate QtOIIO into QtAliceVision
2022-12-16 19:26:12 +01:00
Fabien Castan
82ae95ef3e
Merge pull request #1719 from alicevision/AddNLMeansDenoisingOpenCVInImageProcessingNode
Add nl means denoising open cv in image processing node
2022-12-13 22:48:30 +01:00
Fabien Castan
14f299e323 [nodes] rename: remove "utils" from executables names 2022-12-13 17:21:34 +01:00
Fabien Castan
60fa35d43b
Merge pull request #1718 from alicevision/dev/colrProfileManagement
Color management for RAW images
2022-12-13 17:08:06 +01:00
Fabien Castan
443237e265 [nodes] CameraInit,ImageProcessing: enable white balance by default 2022-12-13 15:30:46 +01:00
demoulinv
c0fc6c76a1 [nodes] CameraInit,ImageProcessing: Add parameters related to color profiles management 2022-12-13 14:36:17 +01:00
Loïc Vital
da57ee47d1 Update QtAliceVision section in INSTALL.md 2022-12-13 12:59:31 +01:00
Loïc Vital
d78c42db4d remove references to qtOIIO plugin in build and install process 2022-12-13 12:59:31 +01:00
Loïc Vital
9931459cdb [ui] remove references to qtOIIO plugin 2022-12-13 12:57:46 +01:00
Fabien Castan
1b65283fb0
Merge pull request #1843 from pen4/oscs_fix_cebdb2gau51s0tihfq20
fix(sec): upgrade psutil to 5.6.7
2022-12-12 16:18:08 +01:00
pen4
63bcf9d163 update psutil 5.6.3 to 5.6.7 2022-12-12 15:17:36 +08:00
Fabien Castan
1b05ccbc31
Merge pull request #1836 from alicevision/dev/cgroups
[core] Add cgroups support to meshroom
2022-12-08 09:37:27 +01:00
Fabien Servant @ TCS
06d7d96fa2
rename variable for python compliance 2022-12-08 09:33:06 +01:00
Fabien Servant @ TCS
18026c3d59
[cgroup] rename variable for python 3 compliance 2022-12-08 09:31:30 +01:00
fabien servant
7e4c5db9d2 [node] move cgroup parameters to class attributes 2022-12-07 18:05:12 +01:00
fabien servant
93b98afedc [node] move cgroup properties reading in the constructor 2022-12-07 17:53:48 +01:00
fabien servant
6acc3fe7fc [node] update Exception class 2022-12-07 17:53:06 +01:00
mh0g
41e8643834 removed pyCompatibility 2022-12-06 16:21:21 +01:00
fabien servant
ae0ca71c1c [nodes] replace CommandLineNode with AVCommandLineNode for alicevision nodes 2022-12-06 15:07:01 +01:00
Fabien Servant
d0cebbe2b0 [cgroup] forgot filename 2022-12-06 15:07:01 +01:00
Fabien Servant
788bd7738b [core] add cgroups checks 2022-12-06 15:07:01 +01:00
Fabien Castan
a2f559f48a
Merge pull request #1839 from alicevision/dev/fixQmlWarnings
[ui] Fix all "TypeError" QML warnings
2022-12-06 11:38:16 +01:00
Candice Bentéjac
02383c68b3 [ui] Check that objects accessed by QML properties are not null before accessing them
Some QML properties access exposed Python objects that may or may not
be null upon their access. When these objects are accessed while null,
QML issues "TypeError" warnings. These warnings have no functional
impact as QML correctly handles trying to access null objects, but can
spam the logs.

This commit aims at fixing all these warnings by checking that the
Python objects are not null before being accessed.
2022-12-06 11:04:50 +01:00
Fabien Castan
67de413d31
Merge pull request #1837 from alicevision/dev/stopPython2Support
Remove support for Python 2.7
2022-12-06 10:18:13 +01:00
Candice Bentéjac
2c216b9f08 [docker] Remove Dockerfiles for Python 2 2022-12-05 17:16:22 +01:00
Candice Bentéjac
189cb6be5b [nodes] Use raw strings for parameters that contain regular expressions
Regular expressions in regular strings generate deprecation warnings
with Python 3 ("invalid escape sequence \x"). To fix these warnings,
the regex must be contained within a raw string. For nodes that have
parameters whose description and/or value contain regex, the strings
are transformed into raw strings. In the case of descriptions, which are
generally written across several lines, regular strings are concatenated
with regular strings to preserve line returns (with "\n", which becomes
uneffective in raw strings).
2022-12-05 17:16:22 +01:00
Candice Bentéjac
8bef398bed Remove workarounds and backports for Python 2 support
In particular:
- In common/, remove the backport of weakref.WeakMethod
- In docs/ and ui/, use the standard FileNotFoundError class
- Use built-in open() instead of io.open(), and stop importing io
- In core/stats.py, use the standard implementation of xml.etree instead
of the C one
2022-12-05 17:16:21 +01:00
Candice Bentéjac
635f85e7fd Remove all references to pyCompatibility
- "pyCompatibility.basestring" are replaced by standard Python3 "str"
- "Sequence" and "Iterable" from "collections" are now directly imported
with "collections.abc"
2022-12-05 17:16:21 +01:00
Candice Bentéjac
d2c707f6fa [install] Remove support of Python 2.7 from the installation documentation 2022-12-05 17:16:20 +01:00
Candice Bentéjac
0b638d4092 [requirements] Remove support for Python2 and early Python3 versions
The compatibility with versions of Python older than 3.5 is not
maintained anymore.
2022-12-05 17:16:20 +01:00
Candice Bentéjac
57c7a6e5b5 [ci] Remove support of Python 2.7 2022-12-05 17:16:19 +01:00
Fabien Castan
ffca9c68e3
Merge pull request #1824 from alicevision/dev/submitterJobTitles
[submitters] Add an option to update the job title on submitters
2022-12-05 16:22:33 +01:00
Fabien Castan
8ce2ac6fe8
Merge pull request #1832 from alicevision/fix/graphLocalComputations
[ui] Correctly determine if a graph is being computed locally and update nodes' statuses accordingly
2022-12-05 16:20:58 +01:00
Candice Bentéjac
826b57eeca [nodes] ImageProcessing: update NL Means parameters' description and default value
Change HColor default value from 5 to 10 as advised in the documentation
of OpenCV's non-local means denoising. Also update the description of the
H and HColor parameters so that they are easier to understand. The name
of the parameters is also updated to match with parameters from other
groups.
2022-12-05 15:58:04 +01:00
Fabien Castan
e1bd923f58
Merge pull request #1833 from alicevision/dev/pipelineInNodeMenu
[ui] GraphEditor: create new pipelines with the node menu
2022-12-05 15:56:37 +01:00
Candice Bentéjac
89b89d09c0 [core] Treat a chunk as external if it is computed locally in another session 2022-12-05 15:42:57 +01:00
Candice Bentéjac
eac43c84c3 [submitters] Add an option to update the job title on submitters 2022-12-05 15:23:10 +01:00
Candice Bentéjac
6a36da61cf [ui] GraphEditor: select pipelines imported through the node menu
Add all the nodes from a pipeline imported through the node menu to the
node selection.
This involves changing the return value of ImportProjectCommand from a
boolean to a list of imported nodes.
2022-12-02 18:19:56 +01:00
Candice Bentéjac
9d88ad91d5 [ui] GraphEditor: clear node selection before adding new nodes from the menu
This commit is a bugfix.
When adding new nodes with the node menu, the selection was never
explicitly cleared and nodes were added to the selection rather than
being exclusively selected.

This behaviour used to be hidden when the node menu could only appear
with a right click, as the click would automatically empty the
selection. However, with the node menu being now openable with the TAB
key, there might not be a click to empty the selection. If new nodes
are added by opening the menu with the TAB key and using the arrow keys
to select the node to create, an infinite number of them can be created
and added to the selection.
2022-12-02 18:13:50 +01:00
Candice Bentéjac
aedf0ef4c1 [ui] GraphEditor: Add the pipelines in the node menu's search bar
Pipelines can be searched in the list of available node types / pipelines
like regular node types.
2022-12-02 18:13:50 +01:00
Candice Bentéjac
2e5f471b7b [ui] Add a "pipelineTemplateNames" property
This property simplifies and optimizes the addition of templates in
the node menu and their import into the graph, as it prevents us from
looping over the entire "pipelineTemplateFiles" dictionary to retrieve
the information we need.
2022-12-02 18:13:49 +01:00
Candice Bentéjac
c2570ca0fb [ui] GraphEditor: Import pipeline on the mouse's position with the node menu
If a pipeline is imported with the node menu instead of the "Import
Project" action from the File menu, the top-left "corner" of the graph
should be placed on the mouse's position.
The position of pipelines imported with the "Import Project" menu
remains unchanged: they are automatically placed below the lowest
node in the current graph.
2022-12-02 18:13:17 +01:00
Candice Bentéjac
12c3fce7b1 [nodes] ImageProcessing: fix type of default and range values for FloatParams 2022-12-01 15:08:34 +01:00