Skip to content

Commit

Permalink
videoanalysis: remove kernel monkey patch
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 22, 2023
1 parent 08e7247 commit d19b942
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugins/objectdetector/src/ffmpeg-videoframes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import child_process from 'child_process';
import sharp from 'sharp';
import { Readable } from 'stream';

console.log(sharp.kernel);
sharp.kernel['linear'] = 'linear';
sharp.kernel['linear2'] = 'linear2';

async function createVipsMediaObject(image: VipsImage): Promise<VideoFrame & MediaObject> {
const ret = await sdk.mediaManager.createMediaObject(image, ScryptedMimeTypes.Image, {
timestamp: 0,
Expand Down

0 comments on commit d19b942

Please sign in to comment.